![]() |
Reset Script Needed
I want to reset a complete server like Graal Ghetto or Zodiac or somthing how would i do this?
|
Reset all the values you're using... Servers use different methods of storing player data, so this isn't something that can be answered until you've shown us exactly how you're storing data.
|
You have to either:
- Ask Stefan to do it for you. - Write a Script to do it yourself. I.e a simple script that would go in your Control-NPC: PHP Code:
But as Lone stated, if you have different methods of storing player data you'll have to write scripts to reset them as well. |
thanks fowl
|
On Classic we wanted to keep only certain bits of information and change other pieces, over about 30MiB of textfiles.
We ended up getting all the accounts files from Stefan and then running a bunch of sed commands on the text files to alter them, and then got Stefan to put back the new files. But if you just want to flat out reset all the accounts then fowl's script should work, as long as the npc-server has rights to reset accounts. Although, that script could end up screwing up if the this.reset array ever is lost. |
You are lucky that someone helped you but in future, read the forum rules at http://forums.graalonline.com/forums...ent.php?f=153:
Quote:
|
| All times are GMT +2. The time now is 12:10 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.