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

SQUAD ListPlayers result limited to 23 playters of 100 (handle multiple packets?) #9

Open
romanvoloboev opened this issue Apr 23, 2024 · 2 comments

Comments

@romanvoloboev
Copy link

romanvoloboev commented Apr 23, 2024

I faced with issue when I'm executing ListPlayers comand in SQUAD game on full server.
Every execution of ListPlayers returns only 23 players.
So to get full list of players I need run this command 5 (!) times.
Moreover, when I run it 6th time - it returns some random server logs instead of players (2nd screen).
Please fix this strange behaviour.

1 image
@romanvoloboev
Copy link
Author

romanvoloboev commented Apr 23, 2024

the problem happens because your lib didn't continue reading data if packet size is more than 4kb
currently i'm using java rcon lib
https://github.com/ribasco/async-gamequery-lib where this fucntionallity implemented and working good
please, take a look on it
image

@romanvoloboev romanvoloboev changed the title SQUAD ListPlayers result limited to 23 playters of 100 SQUAD ListPlayers result limited to 23 playters of 100 (handle multiple packets?) Apr 24, 2024
@iamalone98
Copy link

@romanvoloboev If you still need to read packets for squad, then I implemented mine specifically for squad, you can try using

https://github.com/iamalone98/squad-rcon-go

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

No branches or pull requests

2 participants