1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-17 10:42:19 -05:00

More memory reading changes. We're getting there.

This commit is contained in:
raidmax@live.com
2015-07-06 12:13:42 -05:00
parent b8557fdb81
commit 6b381a214d
8 changed files with 395 additions and 263 deletions

View File

@ -18,9 +18,9 @@ namespace IW4MAdmin
public RCON(Server I)
{
sv_connection = new UdpClient();
sv_connection.Client.SendTimeout = 1000;
sv_connection.Client.ReceiveTimeout = 1000;
//sv_connection = new UdpClient();
// sv_connection.Client.SendTimeout = 1000;
//sv_connection.Client.ReceiveTimeout = 1000;
Instance = I;
toSend = new Queue<RCON_Request>();
}
@ -112,7 +112,8 @@ namespace IW4MAdmin
if (toSend.Count > 0)
{
RCON_Request Current = toSend.Peek();
Current.Response = responseSendRCON(Current.Request);
//Current.Response = responseSendRCON(Current.Request);
Utilities.executeCommand(Instance.pID(), Current.Request);
toSend.Dequeue();
Utilities.Wait(0.567);
}