Bioware Archive V2 > Builders - Scripting

Persistent Stores

(1/2) > >>

Legacy__Guile:


                I'm wondering if you can store a "Store" into a database (either nwn or an sql database)...

I know a lot more items can go into a store than a chest, so I wanted to increase the volume of items PCs could store in their persistent containers by using stores instead...


Anyone have any insight, code, or help they wanna offer on this?
               
               

               
                     Modifié par _Guile, 01 juin 2013 - 06:31 .
                     
                  
            

Legacy_Lazarus Magni:


               You certainly can... our PW has a persistent (from reset to reset) store who's inventory is filled by items players divide, and it's inventory is stored in a DB table.
               
               

               
                     Modifié par Lazarus Magni, 01 juin 2013 - 09:12 .
                     
                  
            

Legacy__Guile:


               Lazarus Magni wrote...

You certainly can... our PW has a persistent (from reset to reset) store who's inventory is filled by items players divide, and it's inventory is stored in a DB table.
--- End quote ---

So basically save the store as an object into the database?

---------------------------------------------------------------------------------------

UPDATE...

So I tried using a persistent chest, copying items from the chest to the store and then storing the store into the database, the only problem I ran into was, some of the items are NOT being copied into the store, rather they are being dropped onto the ground.  

Not good..

Any help?
               
               

               
                     Modifié par _Guile, 02 juin 2013 - 03:39 .
                     
                  
            

Legacy_Lazarus Magni:


               I am not a scripter unfortunately, I am lucky if I don't break stuff when I monkey with them. Another option might be to go the route FunkySwerve went on PoA, with the ability to spawn multiple different storage chests.
               
               

               
            

Legacy__Guile:


               I just used APS/NWNX and stored the objects themselves into the database, works super fast too!
               
               

               
            

Navigation

[0] Message Index

[#] Next page

Go to full version