![]() |
NPCServer+GServer update
The GServer and NPCServer have been updated to support instant saving of levels after doing tile modifications. The scripting commands are only available for the new scripting engine:
savelevel(levelname) level.save(x,y) - the position (x,y) defines which map part is saved when you are on a gmap Levels are only saved when there is really a modification, so it doesn't slow down the server when you are calling that command more than actually needed. It is displaying in RC chat when a level has been saved, can make that optional if it's spamming the RC chat too much. |
weee nice new function
thanks btw: first one |
Stefan! I love you! Thank you so much for saving me a good 10 minutes each day :)
Great addition! |
hah.. yeah i was trying to beat panda to posting.. thanks so much :)
|
Quote:
NPC Code:GraalScript: Function save not found at line 14 in script of LevelEdit (in level abyss.nw at pos (0, 0)) |
Did you re-boot the server?
Might also need to be done from the admin panel. |
Rebooted the Npc Server, nothing
|
Quote:
|
Ok sorry, the new npcserver was not uploaded to all machines, did that now. If you try the new save thing without restarting the gserver then the npcserver will automatically be disconnected, so better make sure the gserver is restarted before testing it.
|
Hey Stefan is it already able to disable the RC reporting of when a level is saved? If not I think it is deffinatly needed because it really does spam RC pretty bad haha
Edit: Even when using level.save(x,y) it's only saving the level for the person who edited it but others still see the old level unless they were in the level when it was edited. |
Perhaps make the RC message a serveroption? Would be bad if it was a param of savelevel(), could be abused and then no one would have any idea until it was too late.
|
| All times are GMT +2. The time now is 02:50 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.