Socket fail when a lot of players are online
#1

I use this class https://sampwiki.blast.hk/wiki/Query_Mechanism/Csharp and I script an ASP.NET website to respond with it so I can manage the server from the website. Problem starts when a lot of players are online (maybe 50+) and then it returns 0 when I call the 'd' opcode (which returns the online players info). I already tried sizing the byte[] rBuffer array but wasn't successful.
Reply
#2

It fails to receive data if more than 100 players are online. Any solutions to that?
Reply
#3

Not sure, but on this page (https://sampwiki.blast.hk/wiki/Query_Mec...e_packet_table) it says that the d opcode is throttled to 100. This might be the reason.
Reply
#4

Quote:
Originally Posted by HazardouS
Посмотреть сообщение
Not sure, but on this page (https://sampwiki.blast.hk/wiki/Query_Mec...e_packet_table) it says that the d opcode is throttled to 100. This might be the reason.
That's probably the case. Anyway, is there any way of overriding this limit so atleast it'd work with 255 players?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)