29.06.2013, 15:36
(
Последний раз редактировалось bartekdvd; 29.06.2013 в 16:17.
)
In Query class:
change this line: byte[] rBuffer = new byte[500];
to
This should be also corrected on sa-mp.wiki too.
EDIT;
I don't know if it will work actually, but buffer with 500 bytes size is not enough to store more than 14 detailed player information with maximum name length - 24.
Код:
public int Recieve() { try { _count = 0; EndPoint endpoint = new IPEndPoint(address, _port); byte[] rBuffer = new byte[500]; qSocket.ReceiveFrom(rBuffer, ref endpoint);
to
Код:
public int Recieve() { try { _count = 0; EndPoint endpoint = new IPEndPoint(address, _port); byte[] rBuffer = new byte[3402]; qSocket.ReceiveFrom(rBuffer, ref endpoint);
EDIT;
I don't know if it will work actually, but buffer with 500 bytes size is not enough to store more than 14 detailed player information with maximum name length - 24.