Page 1 of 1

lua scripts and server

Posted: Mon Jan 22, 2007 12:23 pm
by Luk4ward
Hi,

got a question about the perfomance. Can some lua scripts cause ppl warping (switching from high to normal ping) ? I know u can write one that will lol, but generally if scripts are well written and there are many loaded by server will it case some abnormal behavior? If no, the same question im regarding to the bad coded...Just wondering...Also keep that in mind that server may run with the brutal punkbuster (checking a lot of cvars+md5 checks) and etadmin...

Regards

Posted: Mon Jan 22, 2007 12:51 pm
by ReyalP
It is possible to write a lua script that degrades server performance.

edit:
Authors of lua scripts may be able to use trap_Milliseconds to determine if their mod is taking an excessive amount of time. See luacon.lua on my wolfwiki userpage for an example.