What kind of things in a script could cause lagg?
Very huge loops for example

Moderator: Core Staff
That should give that lagg to only that player instead of the whole server?<LT>YosemiteSam[NL] wrote:The connectionspeed of the player who joins maybe ... but that doesn't cause a spike rather then continues lagg.
Can you see it in the console when you have joined the server and you have your console fully opened? Or do I have to enable log files and then check them?Rezil wrote:Well you might have overlooked an infinite loop without a wait so the server might mave to kill threads. Check console for infinite loop - killing thread errors.
Drofder2004 wrote:Does it happen when running the mod locally?
/developer 1?
CoD 4 Console wrote:ERROR: script runtime error
(see console for details)
pair '5050' and 'undefined' has unmatching types 'int' and 'undefined'
********************
----- Server Shutdown -----
Sending heartbeat to cod4master.activision.com
==== ShutdownGame (1) ====
---------------------------
I was sill working on an additions for promod. So it is not my own mod, but the additions are.Drofder2004 wrote:If the mod is error'ing when in develoepr, the mod needs fixed.
Developer should enver give errors on a completed mod (except the few console warnings).
Is it your own mod or ?
Post the code that is erroring and then we can go from there.Moustache wrote:I was sill working on an additions for promod. So it is not my own mod, but the additions are.Drofder2004 wrote:If the mod is error'ing when in develoepr, the mod needs fixed.
Developer should enver give errors on a completed mod (except the few console warnings).
Is it your own mod or ?
I don't know if I am allowed to post the server ip here?