This is a High performance persistent banking system using Biowares database.
I decided to remake my persistent banking system due to an idea I had to improve the performance and get rid of all previous bugs with the old system.
You can allow players to save their items persistently without hindering server performance.
You can save ANY items, equipment, weapons, stacked items, and gold with no problems at all very fast and efficiently using Biowares database. Containers (i.e. bags will not be saved to avoid any possible exploits, fair warning is given to the player).
You can also save gold persistently via the banker NPC. The Banker NPC uses listening patterns, you basically speak the amount you want to deposit/withdraw by typing it into the char bar.
These are the database speeds with 100 items stored in a chest:
Database Read 78 msec
Database Write 128 msec
As you can see both the read and write are extremely fast (up to 74x normal database speed), so no real need for NWNX.
Implementation:
This new system uses utilizes the database in a very different way, so I am afraid players will lose any gold/items saved with the previous system, but considering this version is 74x more efficient and bug free it's in your best interest to replace the old version.
If replacing the old version, delete ALL of the scripts that begin with bank_ then delete the conversation named bank_conv.
Import the .erf files into your module.
Place the "Persistent Chests" anywhere you want in your module (as many as you like).
Place the "Banker" NPC anywhere you want in your module (as many as you like).
You can adjust some settings in the "sfpb_config" script.
Use the "build Module" option and select to compile all scripts (this is very important).
The Persistent Chest is located in >> Placeables >> Custom >> Special >> Custom 1.
The Banker is located in >> Creatures >> Custom >> Special >> Custom 1.
All done.
Enjoy :D
Scarface
Latest Update 4th-Nov-2006
o Fixed the nasty duping bug that was caused by players logging out while using the persistent chests ;D