Posts: 2,175
Threads: 235
Joined: Sep 2009
Reputation:
0
recently the chat of my server has become very slow to me im the server hosts and i sometimes reach up to 45 ping was usually at 18 .. what's the problem
Posts: 48
Threads: 3
Joined: Jul 2011
Reputation:
0
Large strings, bad code etc.
Posts: 2,175
Threads: 235
Joined: Sep 2009
Reputation:
0
only to host? and i dont change any code from normal to lag ..
Posts: 815
Threads: 65
Joined: May 2010
If you have a bunch of stuff in OnPlayerText, it might cause this.
Posts: 188
Threads: 49
Joined: Jul 2011
Maybe if you home hosted that's why.
Posts: 815
Threads: 65
Joined: May 2010
Quote:
Originally Posted by Kush
....? So what your saying is the OnPlayerText callback affects a server's capabilities and speed?
|
No, I'm saying that if there is a bunch of code in there, it might affect performance.
Would default OnPlayerText or OnPlayerText with 20 checks and a few loops perform better?
Posts: 309
Threads: 12
Joined: Jul 2009
Reputation:
0
Does this happen to other players in your server? or just you.