would the spikes you're getting be related to particular events happening on the world you think? or are they just regular things independent of whats happenin on the world?
one of the perils of server scripting stuff is that you can fairly easily write scripts that demand a lot of bandwidth or processor time. For instance, a script like..
Code: Select all
Event( "NewBuilding", 0 )
{
*command=say Level end or something
*command=delallmap 19
*command=clearallinv
*command=grantitemall 10 Wood
*command=grantitemall 30 Trees
*command=grantitemall 20 Lemons
*command=grantskillall Build Stuff
*command=grantskillall Build Other Stuff
*command=grantskillall Build More Stuff
*command=resetallhealth
.. etc. etc.
}
.. could end up doing quite a bit of CPU work, as well as sending quite a lot of messages to everyone connected all in one go. I doubt you are doing anything that major yet (and even if you were.. unless you had a lot of ppl on and/or a particularly average PC or connection.. then it shouldnt really harm that much, other than perhaps a very brief lag spike), and the current events presumably wont be happening that frequently anyway.. but its one to look out for.
As well as knowing the regularity of the spikes, I'd like to know if the 0.50.6 server still misbehaves like this if you don't have any ServerGameScript.mts. That would at least confirm if it was definitely event script related.