rcon icon indicating copy to clipboard operation
rcon copied to clipboard

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

Open romanvoloboev opened this issue 1 year ago • 2 comments

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 avatar Apr 23 '24 09:04 romanvoloboev

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 avatar Apr 23 '24 12:04 romanvoloboev

@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

iamalone98 avatar May 23 '24 16:05 iamalone98