Slow Chat..
#1

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
Reply
#2

Large strings, bad code etc.
Reply
#3

only to host? and i dont change any code from normal to lag ..
Reply
#4

host = me ..
Reply
#5

If you have a bunch of stuff in OnPlayerText, it might cause this.
Reply
#6

Maybe if you home hosted that's why.
Reply
#7

Quote:
Originally Posted by Snipa
Посмотреть сообщение
If you have a bunch of stuff in OnPlayerText, it might cause this.
....? So what your saying is the OnPlayerText callback affects a server's capabilities and speed?
Reply
#8

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?
Reply
#9

Quote:
Originally Posted by Snipa
Посмотреть сообщение
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?
Hmm, I've seen various Godfather edits being hosted, and the players doesn't complain. And you must realize that that script must indeed have 'bad code'.
Reply
#10

Does this happen to other players in your server? or just you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)