lua scripts and server

Discussion for Admins of ETPro/BayonET servers.
If you don't run a server, please don't post here...

Moderators: Forum moderators, developers

Post Reply
User avatar
Luk4ward
Posts: 236
Joined: Sun Jul 30, 2006 1:55 pm
Location: Poland
Contact:

lua scripts and server

Post 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
wolFTeam.pl
User avatar
ReyalP
Posts: 1663
Joined: Fri Jul 25, 2003 11:44 am

Post 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.
send lawyers, guns and money
Post Reply