View previous topic :: View next topic |
Author |
Message |
ironhorse
Joined: 02 May 2005 Posts: 13 Location: uk
|
Posted: Fri Oct 22, 2010 14:45 Post subject: Persistently storing items |
|
|
Hi all,
I am trying to create a script for persistent storage.
I am not sure which is the best way to go about it as I am not fully understanding how SetPersistentObject works.
Can anyone give me some pointers as the best way to go about it please.
Thanks,
Ironhorse |
|
Back to top |
|
|
ironhorse
Joined: 02 May 2005 Posts: 13 Location: uk
|
Posted: Fri Oct 22, 2010 14:46 Post subject: |
|
|
Forgot to say that I am on NWN1 with NWNX2.
Sorry. |
|
Back to top |
|
|
maddogfargo
Joined: 03 Nov 2009 Posts: 49
|
Posted: Fri Nov 19, 2010 1:28 Post subject: |
|
|
I made a simplified persistent storage system for my base module. It is on NWVAULT.
Look for Mad Dog Fargo's Base Module.
Alternatively, look for Mad Dog Fargo's persistent storage v2.
The system is based off the Markshire system released publicly on the Vault. The difference being mine works cross-account so all your toons can access the same chest.
It uses BioDB currently but can easily be converted to use SQL if you prefer. Only 3 scripts involved.
There are no restrictions on what can be put into the storage creature so containers GREATLY increase storage DB size. If you continue using the BioDB format I highly recommend you get a DBF database repack tool to keep it clean.
Hope that helps. _________________ * illegible scribble * |
|
Back to top |
|
|
Daijin
Joined: 09 Jul 2007 Posts: 23 Location: Dunjon/Warr Acres, Ok
|
Posted: Wed Nov 16, 2011 11:56 Post subject: |
|
|
Does it store item properties put on items? _________________ Daijin Dreamweaver, Leader of the Dream Warriors for 32 Earth years.
Faith, Loyalty, Honor, Truth and Friendship always.
I live to serve, O' Lord Jesus, Thy Will Be Done! |
|
Back to top |
|
|
maddogfargo
Joined: 03 Nov 2009 Posts: 49
|
Posted: Thu Dec 01, 2011 17:17 Post subject: |
|
|
Daijin wrote: | Does it store item properties put on items? |
Yes. It will store the item exactly as-is, even keeping any local variables saved on the object. _________________ * illegible scribble * |
|
Back to top |
|
|
kaya67
Joined: 17 Oct 2014 Posts: 1
|
|
Back to top |
|
|
|