![]() |
Save NPCs in Subdirectories
There should be a way to specify if a DB NPC (putnpc2) is put into the npcs/ folder, or a subdirectory of that.
I know that you can have the NPCs simply save locally, and they will be stored separately; however, there is no option to just put them in a different place without saving them locally. Perhaps an options fourth paramater could be added to putnpc2, something like PHP Code:
|
Most definitely agreed.
Edit: hmm, on a side note, maybe to avoid having to worry about custom subfolders by creating a complete fourth parameter, the subfolders could be automatically created based on the level name they're in. Eg: npcs/onlinestartlocal.nw/npc_blahblah.txt |
Quote:
Would create a lot of sub-directories which aren't needed. If you could categorize the sub-folder yourself, that would be better. npcs/blocks/npc_blahblah.txt npcs/items/npc_blahblah.txt npcs/objects/npc_blahblah.txt npcs/misc/npc_blahblah.txt etc... |
Quote:
Basically: npcs/classname/npc_stuff.txt |
Quote:
|
I support this idea!
|
i agree and support this! :)
|
bump
|
Despite being totally unfamiliar with DB npcs, I agree, as it sounds important. >:[
-Bump.- |
*Confused*
Are you trying to get the NPC itself saved to a custom folder? If so, then Stefan add it now. >;( |
I don't think that this will be added anytime soon. It will be possible to expand the "savelocally" approach and also support that for gmaps. The npcs should be saved depending on their location.
|
I don't really find this "handy" since if it was that important you should be managing the localnpcs yourself through a variable database method or even in the SQL.
Just use the following folder config for now if you're just doing backups: NPC Code: |
Quote:
|
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 09:12 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.