.unloadall script?
Posted: Tue Aug 15, 2006 4:26 am
Is there one allready made? Because I am not the worlds best scripter and it would be easier for me to be able to focus on other stuff :p
Code: Select all
use uo;
use os;
program UnloadAll(mobile)
var num := Unload_Scripts("");
SendSysMessage(mobile, "Unloaded "+num+" scripts.");
return 1;
endprogram
ThanksAustin wrote:Code: Select all
use uo; use os; program UnloadAll(mobile) var num := Unload_Scripts(""); SendSysMessage(mobile, "Unloaded "+num+" scripts."); return 1; endprogram
http://svn.sourceforge.net/viewvc/pol-d ... iew=markup
reload? it is never loaded...Terryl wrote:Another thing, is there a way to like reload objtypes.txt without restarting the server?
Weird... Because the changes I made in it isn't picked up by the server, it is still like I haven't changed the file at all :/Shinigami wrote:reload? it is never loaded...Terryl wrote:Another thing, is there a way to like reload objtypes.txt without restarting the server?
Shinigami
I allready have, and it still is like I haven't changed itShinigami wrote:the server will generate this file an each restart as a result of reading all itemdesc.cfg's. it was never made to be an input file - change your itemdesc.cfg's.
Shinigami
No noShinigami wrote:hmm... u've changed one of your itemdesc.cfg's? and than u've [re]started your Pol-server? and nothing was changed inside objtypes.txt? if it is so, did u've checked, that the package where your itemdesc.cfg is located was set to active (check the pkg.cfg inside same folder)?
Shinigami
Yeah, but why doesn't the server see my changes in the itemdesc files without a restart?Pierce wrote:You didn't understand Shini's post. That's not a file the server is reading. That's a file the server is making for your information. It only shows the objtypes you are using in all your itemdesc.cfg. So it is just an information file for you to see e.g. in which pkg an objtype is used or which objtype is free.
Okay, thanks, that kind sucksShinigami wrote:because the server will not accept modification of itemdesc.cfg's on runtime. there are tons of reasons... main point could be data integrity and/or performance
Shinigami