Problem solved, Thank you everybody
#request close
#request close
Quote:
I gave you hints for the packet a week ago...
why aren't you using them?
Edit: Yikes... that's NewestCoServer. ><
That gave me the chills.
I'm 100% sure because I saw him working on it and it gave me the chills.Quote:
You can't be 100% sure of that just from the screen shot and code snippet. Ever wonder maybe he just likes the packet builder? So maybe that's just something he took out of ncs.
You must be an idiot. Take out the threading, replace it with your own, and your good to go. And yes the socket system is the biggest problem cause it can't take many connections for 6+ hours or else, laaag. Character.cs, tell me whats wrong with that hmm? And Try/Catches, take them out and you're good to go. But knowing you, you'd take them out of the most important places they're needed.Quote:
Socket System is not the biggest problem.
Character.cs, Threading, 1million tries/catches.
That's the problem.
try
{
foreach (Hashtable H in Kernel.Items.Values)
{
ArrayList Deleted = new ArrayList();
try
{
foreach (DroppedItem I in H.Values)
if (DateTime.Now > I.DropTime.AddSeconds(60))
Deleted.Add(I);
foreach (DroppedItem I in Deleted)
I.Dissappear();
}
catch { }
}
}
catch { }
You are retarded. Learn to code. Try/Catches catch exceptions no matter what. It just doesn't write them to the console when there's nothing in the catch. Look at it this way, if those try catches weren't there, and something went wrong with that void, server crashes, but since the server catches, then then nothing happens. Nothing happening is better than a server crashing.Quote:
I edited my post :)
try
{
foreach (Hashtable H in Kernel.Items.Values)
{
ArrayList Deleted = new ArrayList();
try
{
foreach (DroppedItem I in H.Values)
if (DateTime.Now > I.DropTime.AddSeconds(60))
Deleted.Add(I);
foreach (DroppedItem I in Deleted)
I.Dissappear();
}
catch { }
}
try
{
foreach (DroppedItem I in H.Values)
if (DateTime.Now > I.DropTime.AddSeconds(60))
Deleted.Add(I);
foreach (DroppedItem I in Deleted)
I.Dissappear();
}
catch { }