Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Events: Client disconnect: Add PLAYER_NAME as event data #1771

Merged

Conversation

hendrikgit
Copy link
Contributor

No description provided.

@Daztek
Copy link
Member

Daztek commented Sep 8, 2024

Would you like to be fancy and add the public cdkey too?

auto cdkey = pPlayerInfo->m_lstKeys[0].sPublic;

@hendrikgit
Copy link
Contributor Author

I'm happy to do that if you think it would help. It's not necessary for my usecase. I do this because I'm starting to log this information to sqlite and if I have the player name I can find the corresponding client connect event which already has all the info like cdkey.

@hendrikgit hendrikgit force-pushed the events-client-disconnect-add-player-name branch from f52f563 to 67d2897 Compare September 8, 2024 21:52
@hendrikgit hendrikgit force-pushed the events-client-disconnect-add-player-name branch from 67d2897 to a38939d Compare September 8, 2024 21:52
@hendrikgit
Copy link
Contributor Author

Done. Now there is player name and cdkey.

@Daztek
Copy link
Member

Daztek commented Sep 8, 2024

🎉

@Daztek Daztek merged commit bdf564b into nwnxee:master Sep 8, 2024
5 checks passed
@hendrikgit hendrikgit deleted the events-client-disconnect-add-player-name branch September 8, 2024 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants