fix: Fixes seed issues. (#1914)
This commit is contained in:
parent
9b7fea2c20
commit
0ce58deefb
1 changed files with 2 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ public partial class NetState : IComparable<NetState>, IValueLinkListNode<NetSta
|
||||||
{
|
{
|
||||||
private static readonly ILogger logger = LogFactory.GetLogger(typeof(NetState));
|
private static readonly ILogger logger = LogFactory.GetLogger(typeof(NetState));
|
||||||
|
|
||||||
private static readonly TimeSpan ConnectingSocketIdleLimit = TimeSpan.FromMilliseconds(2000); // 2 seconds
|
private static readonly TimeSpan ConnectingSocketIdleLimit = TimeSpan.FromMilliseconds(5000); // 5 seconds
|
||||||
private const int RecvPipeSize = 1024 * 64;
|
private const int RecvPipeSize = 1024 * 64;
|
||||||
private const int SendPipeSize = 1024 * 256;
|
private const int SendPipeSize = 1024 * 256;
|
||||||
private const int GumpCap = 512;
|
private const int GumpCap = 512;
|
||||||
|
|
@ -634,6 +634,7 @@ public partial class NetState : IComparable<NetState>, IValueLinkListNode<NetSta
|
||||||
}
|
}
|
||||||
|
|
||||||
Seed = newSeed;
|
Seed = newSeed;
|
||||||
|
Seeded = true;
|
||||||
packetLength = 4;
|
packetLength = 4;
|
||||||
|
|
||||||
_parserState = ParserState.AwaitingNextPacket;
|
_parserState = ParserState.AwaitingNextPacket;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue