Neverwinter Vault

Expand AllContract All -Site -My Profile -Features

Neverwinter Nights 2

-NWN2 Files -NWN2 Game Info -NWN2 Resources -NWN2 Community

Neverwinter Nights

-NWN Files -NWN Game Info -NWN Resources -NWN Community

Vault Network
RPG Vault
VN Boards
IGN Vault
Vault Wiki
· Age of Conan
· Anarchy Online
· Asheron's Call
· Dark Age of Camelot
· City of Heroes
· D&D
· EVE Online
· EverQuest
· EverQuest 2
· Final Fantasy
· Guild Wars
· Lineage 2
· Lord of the Rings Online
· Middle Earth
· Neverwinter Nights
· Pirates of the Burning Sea
· Rise of the Argonauts
· Star Wars Galaxies
· Tabula Rasa
· The Matrix Online
· The Witcher
· Titan Quest
· Two Worlds
· Vanguard
· Warhammer
· World of Warcraft

Planet Network
Planet Hub

IGN
Games
Cheats
Entertainment

The Web   The Site  



NWN SCRIPTS

- Jump to comments -
Title  Scarface's Persistent Banking System V2.2
Author  Scarface
Submitted / Updated  05-15-2005 / 08-05-2007
Category  Database Related
Expansions  Works on all versions
Format  Module Only
Type  Type - Banking
Includes  None
Forums  Link
Description
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

Files

NameTypeSizeDownloads
Scarfaces_Persistent_Banking_System.rarScarfaces_Persistent_Banking_System.rar
Submitted: 05-15-2005 / Last Updated: 11-03-2006
rar27.23Kb3371
Last Update 4th-Nov-2006
SCORE OUT OF 10
10
48 votes
View Stats
Cast Your Vote!

AWARDS



PORTFOLIO
Add this entry to your portfolio so you can track it
Manage your existing portfolios or create a new one.
SCREENS
No Images




You Must Be Logged In to Participate.
Comments (30):

1 2 3

Posted by Corysia at on09/23/07
Islandia is also using this system as of this weekend. Note that the module name must not have any spaces in it or the database file does not get created. I resolved this by adding a DATABASE_NAME constant to the sfpb_config file and replaced all uses of sModName and GetName(GetModule()). Also, only the first 20 characters of the combined playername + underscore + charactername are used as the key to the data. I've encountered at least one player with an 18 character long login name, which leaves only the first letter of their character's name to provide a unique key. CD keys are an option, but I know too many players who play with different keys. I'm one of them.

Posted by NineCoronas at on08/31/07
Just to give credit, the PW Dawn of Nordock is going to use this system. Thanks for the hard work Scarface. _________________________ "A dagger in the night is worth a thousand swords at dawn..."

Posted by dodgy at on08/17/07
Another TOptenTastic vote for the Great man Scarface Im currently using these scripts at my server Death and Dishonor. IP 75.65.193.17:5121 _________________________ Link Access from facebook Link

Posted by Kabuki at on08/16/07
What will we do with out you Scar, seriously?

Posted by danielf30 at on08/08/07
This is tops and im using it, very awesome work, thanks SF _________________________ Check out my PW: Rolepay: Arcana arcana.homelinx.org:5121 Link

Posted by Milliorn at on08/06/07
congrats on your second HOF download. _________________________ A Carpathian Nightmare - Action Direct Connect IP 216.161.26.219:5121 A Carpathian Nightmare Website Forums! Link Link Check out my band "Slowly Truth Dies" on Myspace! Link

Posted by +scarface+ at 00:34:49    Voted10.00
Thank you for the support guys and allowing another one of my systems to be posted into the 'Hall Of Fame'. _________________________ §çà®Fãçë? NWN1 Submissions: [Persistent Banking] - [Character Appearance Modifier] [XP/GP Distribution] - [Item Crafting] - [Socketed Items] NWN2 Submissions: [Persistent Banking]

Posted by Mike1_9 at on07/27/07
Great banking system. _________________________ Link

Posted by AmanShadar at on07/12/07
Voting is good. _________________________ AmanShadar's Spawn System (Creatures, Placeables, Items, and Traps) AmanShadar's Death System AmanShadar's Ship System Critter Info Module

Posted by +scarface+ at 09:04:54    Voted10.00
@ Cackfiend, it's just missing the backup file which is created again once you use the "Build Module" option and build all scripts, nothing to worry about. _________________________ §çà®Fãçë? NWN1 Submissions: [Persistent Banking] - [Character Appearance Modifier] [XP/GP Distribution] - [Item Crafting] - [Socketed Items] NWN2 Submissions: [Persistent Banking]

1 2 3

You must be Logged In to post comments in this section.

 
Most recent posts on the MMO General Boards
Analyst: Star Wars: The Old Republic Could...Analyst: Star Wars: The Old Republic Could Sell 3M: more numbers
- last reply by Acao on Aug 15, 2011 06:15 PM
which class will your first character be
- last reply by Blisteringballs on Aug 15, 2011 05:50 PM
New Community Content!
- posted by Vault_News on Aug 15, 2011 05:00 PM
New Community Content!
- posted by Vault_News on Aug 15, 2011 04:00 PM
NWN Idea Database Update
- posted by Vault_News on Aug 15, 2011 03:46 PM
Missing Votes for NWN2 Hall of Fame
- posted by Vault_News on Aug 15, 2011 03:40 PM
Missing Votes for NWN Hall of Fame
- posted by Vault_News on Aug 15, 2011 03:39 PM
Random Questions and game altering suggest...Random Questions and game altering suggestions!!!
- last reply by ArkadyTepes on Aug 15, 2011 03:22 PM
State of the game?
- last reply by LyricOpera on Aug 15, 2011 01:37 PM
Yesterday streaming, now demanding downloa...Yesterday streaming, now demanding download :(
- last reply by Sinane-tk on Aug 15, 2011 10:23 AM
 

   


IGN Entertainment
By continuing past this page, and by your continued use of this site, you agree to be bound by and abide by the User Agreement.
Copyright 1996-2011, IGN Entertainment, Inc. | Support | Privacy Policy | User Agreement | RSS Feeds
IGN’s enterprise databases running Oracle, SQL and MySQL are professionally monitored and managed by Pythian Remote DBA.


NWN2 Hall of Fame

HOF NWN2 Tools


View all Hall of Fame entries


Neverwinter Nights 2

TOP NWN2 Modules

NEW Modules

NEW Reviews

NEW INTL. Modules

TOP Hakpaks

TOP Gameworlds

TOP Tutorials

TOP Prefab:Areas

TOP Blueprints

TOP Plugins

TOP UI

TOP Other

TOP Visual Effects

TOP Scripts

TOP Tools

TOP Movies

TOP Models

TOP Characters





Hall of Fame

HOF NWN Modules


View all Hall of Fame entries


TOP NWN Modules

NEW NWN Modules

NEW Reviews

TOP Intl. Modules

TOP NWN Hakpaks

TOP NWN Gameworlds

TOP NWN Models

TOP NWN Portraits

TOP NWN Scripts

TOP NWN Prefabs

TOP NWN Other

TOP NWN Movies

TOP Sounds

TOP NWN Textures

TOP NWN Creatures

TOP NWN Characters