[5165] Anyone know this problem?

09/28/2011 13:03 salem rey#1
Problem: When Someone Log in Ping goes High sometimes goes to 5k and all online character feels lag. Then when it load the newly character lag will gone. Is there anything wrong in the code in my teleport.cs this is the first cs run when someone log in? if i am right. Please anyone can help me about this problem.

Patch Source: 5165 from tearoare source, It use mysql.

And this is my Teleport.cs

09/28/2011 14:33 Lateralus#2
Nothing looks obviously wrong, but I didn't look too hard... I just wanted to tell you to remove try/catch blocks around code that won't throw exceptions, and since you have empty catches, there's no telling if you're getting an exception or not, which may help you pinpoint why it's lagging.

Either way, I'd set a BP and trace through it.
09/28/2011 17:23 salem rey#3
this is my gameworker cs. if this can help.