-
Notifications
You must be signed in to change notification settings - Fork 19
Issues with DayZ RCon #32
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
Comments
Thanks for the report. |
I can confirm that the the library indeed looses connection frequently to the BE server, so you need to manually reconnect the client. |
I am not sure that I understand the original issue. The log messages you see come from the RCon server and afaik are always logged when a remote RCon command is executed. Can you maybe share the full script you're using so that I may try to reproduce it (I'm running a DayZ server myself). |
The RCon Client basically looses connection immediately after you connected to the server. The BE Client should keep the connection alive by sending the correct ACK packages. I haven't debugged the network traffic myself, but what i understand based on @fugma313 's comment is that your client isn't working correctly. |
To further elaborate: A BE Client login event will trigger a Server Message that gets broadcasted to all connected clients, containing the same string that lands in the server log (RCon admin #0 (127.0.0.1:52368) logged in) Since that message is not acknowledged correctly, the client will be disconnected quickly after it authenticated. |
Thank you for pointing out this bug. Can you please check, whether f88f9db fixes this issue? |
Hotfix in 41e0b6b |
I use this module to keep a local player database in a text file, among other things.
Here's some of the code
If I don't raise that exception, I will forever transmit the "players" command which will be ignored by the RCon server.
Judging by the network traffic, something is wrong. The server sends "RCon admin #0 (IP:port) logged in", and I see a reply of b'0200', but this doesn't seem to be what the RCon server is expecting. Because it will transmit this same login message up to 5 times, after which it will start ignoring any commands sent to it, forcing me to re-auth with RCon to continue executing commands. This is becoming a problem as my DayZ server console is flooded with "BattlEye Server: RCon admin #0 (127.0.0.1:52368) logged in"
Edit: Upon comparing the network traffic between this and DaRT, it looks like the reply (0200) is missing the BE RCon protocol header.
The text was updated successfully, but these errors were encountered: