View unanswered posts | View active topics
|
Page 1 of 1
|
[ 13 posts ] |
|
| Author |
Message |
|
Terryl
|
Post subject: .unloadall script? Posted: Tue Aug 15, 2006 4:26 am |
|
Joined: Thu Aug 10, 2006 9:59 am Posts: 32
|
|
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
|
|
| Top |
|
 |
|
Austin
|
Post subject: Posted: Tue Aug 15, 2006 4:27 am |
|
 |
| POL Developer |
 |
Joined: Wed Jan 25, 2006 2:30 am Posts: 419 Location: San Diego, California
|
|
| Top |
|
 |
|
Terryl
|
Post subject: Posted: Tue Aug 15, 2006 5:20 am |
|
Joined: Thu Aug 10, 2006 9:59 am Posts: 32
|
Austin wrote: Code: 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
Thanks  Another thing, is there a way to like reload objtypes.txt without restarting the server?
|
|
| Top |
|
 |
|
Shinigami
|
Post subject: Posted: Tue Aug 15, 2006 6:01 am |
|
 |
| POL Core Developer |
Joined: Mon Jan 30, 2006 9:28 am Posts: 292 Location: Germany, Bavaria
|
Terryl wrote: Another thing, is there a way to like reload objtypes.txt without restarting the server?
reload? it is never loaded...
Shinigami
|
|
| Top |
|
 |
|
Terryl
|
Post subject: Posted: Tue Aug 15, 2006 6:08 am |
|
Joined: Thu Aug 10, 2006 9:59 am Posts: 32
|
Shinigami wrote: Terryl wrote: Another thing, is there a way to like reload objtypes.txt without restarting the server? reload? it is never loaded... Shinigami
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 :/
|
|
| Top |
|
 |
|
Shinigami
|
Post subject: Posted: Tue Aug 15, 2006 6:13 am |
|
 |
| POL Core Developer |
Joined: Mon Jan 30, 2006 9:28 am Posts: 292 Location: Germany, Bavaria
|
|
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
|
|
| Top |
|
 |
|
Terryl
|
Post subject: Posted: Tue Aug 15, 2006 7:02 am |
|
Joined: Thu Aug 10, 2006 9:59 am Posts: 32
|
Shinigami 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
I allready have, and it still is like I haven't changed it
|
|
| Top |
|
 |
|
Shinigami
|
Post subject: Posted: Tue Aug 15, 2006 7:16 am |
|
 |
| POL Core Developer |
Joined: Mon Jan 30, 2006 9:28 am Posts: 292 Location: Germany, Bavaria
|
|
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
|
|
| Top |
|
 |
|
Terryl
|
Post subject: Posted: Tue Aug 15, 2006 7:25 am |
|
Joined: Thu Aug 10, 2006 9:59 am Posts: 32
|
Shinigami 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
No no  I haven't restarted the server, I am wondering if these changes can be done without restarting
|
|
| Top |
|
 |
|
Pierce
|
Post subject: Posted: Tue Aug 15, 2006 12:40 pm |
|
Joined: Thu Feb 02, 2006 8:33 am Posts: 296
|
|
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.
|
|
| Top |
|
 |
|
Terryl
|
Post subject: Posted: Tue Aug 15, 2006 1:04 pm |
|
Joined: Thu Aug 10, 2006 9:59 am Posts: 32
|
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.
Yeah, but why doesn't the server see my changes in the itemdesc files without a restart? 
|
|
| Top |
|
 |
|
Shinigami
|
Post subject: Posted: Tue Aug 15, 2006 1:25 pm |
|
 |
| POL Core Developer |
Joined: Mon Jan 30, 2006 9:28 am Posts: 292 Location: Germany, Bavaria
|
|
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
|
|
| Top |
|
 |
|
Terryl
|
Post subject: Posted: Tue Aug 15, 2006 1:30 pm |
|
Joined: Thu Aug 10, 2006 9:59 am Posts: 32
|
Shinigami 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
Okay, thanks, that kind sucks  But still, thanks anyway 
|
|
| Top |
|
 |
|
Page 1 of 1
|
[ 13 posts ] |
|
Who is online |
Users browsing this forum: Google [Bot] and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|