This is my personal persistent chest code, I'm posting it on request from a few people, it uses biowares native db system, and its about as optimized as is possible, it takes about 0.2 seconds to do a 300 item load, which is only once per chest per server reset
If anyone has trouble with this drop me an email and I'll try to help you: civious@sbcglobal.net Unless you can reach HerMyT :)
Posted by LasCivious at on07/29/05
They work great!
Posted by Shera at 2005-05-2008:28:55
HermyT, you out there anywhere? Could you please assist with your file. I simply can't get this thing to store items. I've tried placing just one chest in an area, and then I have inns w/ chests in rooms; none of them work. HINT?
Posted by Shera at 2005-05-0916:11:37
Possibly if someone could give me some more explicit instructions on where the event goes, and how it might be helpful. You speak of the mod name being of some importance. Well, since I don't have a clue where that goes in reference to the event, I need help. Thanks... I can be emailed at dax_n_utah@yahoo.com.
Posted by Shera at 2005-05-0916:08:49
Well, I've downloaded this, put the chests in, and none of them hold anything. Of course I don't know what I'm doing, but it would seem from the other comments its not working for them as well, or partially working. I haven't a clue where to put the event. The instructions simply say to place the chests, and that's what I've done. Any hints out there?
Posted by Anonymous at 2005-04-2319:49:00
It´s been asked, and so far no answer. It's a excellent system for sure, but, does it really handles stacked items nicely?
Posted by Anonymous at 2005-04-2319:49:00
It´s been asked, and so far no answer. It's a excellent system for sure, but, does it really handles stacked items nicely?
Posted by f0ul_cr0w at 2005-04-1310:18:00
The length could be a problem because with the Bioware DB you can only have a variable name that's 32 chars in length I believe it is.
Posted by LasCivious at on07/29/05
It works fine for me. The database name is the same as the module name. I don't know if too long of a module name would cause a problem. Changing the name of your module should cause problems but I haven't tested it. I am modifying the her_persist_inc script to use a small database name that won't be affected by module name changes. I'll post again after I get a chance to test it. The chest is stored by using the tag of the area + the coordinates. Again I do not know if a long area tag would cause any problems. Thanks for the great code HerMyT!www.thefold.org
Posted by HerMyT at 2005-02-0818:48:00
Hmm, I've been pretty busy RL stuff so I haven't looked here in awhile. Its also been awhile since I wrote this, I'll take another look at the code and give you possible reasons it might be breaking, it could be to do with tag length of the area or name length, not sure, I'll look it over and let you guys know. HerMyT