logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Persistently storing items

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Scripts and Modules
View previous topic :: View next topic  
Author Message
ironhorse



Joined: 02 May 2005
Posts: 13
Location: uk

PostPosted: Fri Oct 22, 2010 14:45    Post subject: Persistently storing items Reply with quote

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
View user's profile Send private message Visit poster's website
ironhorse



Joined: 02 May 2005
Posts: 13
Location: uk

PostPosted: Fri Oct 22, 2010 14:46    Post subject: Reply with quote

Forgot to say that I am on NWN1 with NWNX2.

Sorry.
Back to top
View user's profile Send private message Visit poster's website
maddogfargo



Joined: 03 Nov 2009
Posts: 49

PostPosted: Fri Nov 19, 2010 1:28    Post subject: Reply with quote

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. Wink

Hope that helps.
_________________
* illegible scribble *
Back to top
View user's profile Send private message
Daijin



Joined: 09 Jul 2007
Posts: 23
Location: Dunjon/Warr Acres, Ok

PostPosted: Wed Nov 16, 2011 11:56    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
maddogfargo



Joined: 03 Nov 2009
Posts: 49

PostPosted: Thu Dec 01, 2011 17:17    Post subject: Reply with quote

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
View user's profile Send private message
kaya67



Joined: 17 Oct 2014
Posts: 1

PostPosted: Fri Oct 17, 2014 20:36    Post subject: Reply with quote

Letoscript or possibly NWNX_funcs can be used to change the bic, but that also requires the Player be booted from the server so the changes can be made.
_________________
http://www.st-andrews.ac.uk/
http://www.testking.us/642-447.htm
http://www.riverbed.com/
http://www.ucsf.edu/
https://pt-br.facebook.com/isebarretos
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Scripts and Modules All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group