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:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user