Add "lock" and "unlock" server commands to server side scripting.
|Category:||Scripting: New command|
|Affected ArmA II version:||First affected ArmA II version:|
|Reproduced by another DH user:||No||Single / Multi Player?:|
|I am using some Mods:||No||BIForumURL:|
|I am using:||NGUrl:|
|Reproducible for you:||No||WIKIurl:|
|Related to content of DLC:|
So here is the point:
For now, very populated servers began lagging and desyncing when players connect/disconnect often. Even if there is 3 vacant places left. So I decided to wrote a server-side script, that will automaticly lock the server when connects/disconnects are too dense and unlock it after some time or if player amount dropped below thresold. Awaited result - less lagg/desync due to dense connects.
But it seems that #lock and #unlock commands can`t be executed from for example onPlayerConnected event.
Updated by Fireball over 3 years ago
- Tracker changed from Bug to Feature
Unfortunately there is currently no "server-side scripting" in this sense, so that you could only execute code which is deployed with server mods (for example).