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

CSGO Server sending back RCONGoldSrcResponsePacket #326

Open
BrutalCSkakan opened this issue Dec 7, 2019 · 3 comments
Open

CSGO Server sending back RCONGoldSrcResponsePacket #326

BrutalCSkakan opened this issue Dec 7, 2019 · 3 comments

Comments

@BrutalCSkakan
Copy link

Hello!
When calling getPlayers() we send the regular A2S_PLAYER_Packet, and we expect S2A_PLAYER_Packet back from the server.

But I get RCONGoldSrcResponsePacket back instead. Has something changed that causes this behaviour? Is there anything that I can set up on the server to retrieve the correct payload?

2019-12-07 09:46:51.075 INFO 13692 --- [ scheduling-1] s.servers.sockets.SourceSocket : Received reply of type "RCONGoldSrcResponsePacket"
2019-12-07 09:46:51.112 INFO 13692 --- [ scheduling-1] s.servers.sockets.QuerySocket : Sending data packet of type "A2S_PLAYER_Packet"
steamcondenser.exceptions.SteamCondenserException: Response of type class steamcondenser.servers.packets.rcon.RCONGoldSrcResponsePacket cannot be handled by this method.
at steamcondenser.servers.GameServer.handleResponseForRequest(GameServer.java:343)
at steamcondenser.servers.GameServer.handleResponseForRequest(GameServer.java:288)
at steamcondenser.servers.GameServer.updatePlayers(GameServer.java:531)
at steamcondenser.servers.GameServer.getPlayers(GameServer.java:207)

@koraktor
Copy link
Owner

koraktor commented Dec 7, 2019

This is probably caused by CS:GO limiting the output by default.
See this issue comment on how to enable the old behavior.

@BrutalCSkakan
Copy link
Author

That's unfortunately already set to 2..

@koraktor
Copy link
Owner

I’ll reply in this issue as the other one is already closed.

And what would you suggest when the host_players_show is set to 2, but still get the RCONGoldSrcResponsePacket when sending the A2S_PLAYER_Packet?

To be honest I have no idea. Can you share the server IP so I can test directly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants