Posts: 1,973
Threads: 54
Joined: Sep 2009
Reputation:
0
Hey all im having my server a bit slow in connection (its GM issues) and i have a question i have multipe Strings for example in command /race i have one string and on command /kill i have other it puts my GM slow right?
Posts: 244
Threads: 37
Joined: May 2009
Reputation:
0
That is possible, also timers can cause slowness; if you find that timers slow down your server try increase the time between each time they are called
Having too much code on frequently-called functions such as OnPlayerUpdate can also cause slowness
hope that helped
Posts: 2,896
Threads: 11
Joined: Sep 2008
Reputation:
0
If you have an often repeated variable (like you said string), just make one global varaible of it. (Create it before main() ).