[Temp Fix]Player Packet Buffer Overflow
This will fix a few minor things in packet sending
[Tutorial]
Files we Edit: ClientProcessor.cs
Time to fix: roughly 2 - 4 minutes pending on your understanding of visual studio
[Lets Start]
Step 1: Open up your server.sln
Step 2: Go to ClientProcessor.cs which is located in wServer
Step 3: Open the Player.cs
Find:
[Replace With]
This will temp fix your packet sending crash, this also partly fix to many packets sending at once
[Tutorial]
Files we Edit: ClientProcessor.cs
Time to fix: roughly 2 - 4 minutes pending on your understanding of visual studio
[Lets Start]
Step 1: Open up your server.sln
Step 2: Go to ClientProcessor.cs which is located in wServer
Step 3: Open the Player.cs
Find:
Code:
public void SendPacket(Packet pkt)
{
pending.Enqueue(pkt);
sendLock.Set();
}
Code:
public void SendPacket(Packet pkt)
{
try
{
pending.Enqueue(pkt);
sendLock.Set();
}catch(Exception e){}
}
