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  Xanas Simple Bank Management
Author  Xanas
Submitted / Updated  04-06-2004 / 11-22-2006
Category  Database Related
Expansions  NWN-1.62
View Code  

Select All Text | View Code in separate window
Format  Code Only
Type  Type - Banking
Includes  BioWare Standard
Description
This is a very simple system, import, and place the chest and the banker. The storage NPC is used to speed up the process, but don't worry about placing that one since it's handled automatically. Built in HOTU/SOU toolset, but compatible with original, just use an erf tool to fix the ExportInfo.gff if you need to or contact me and I'll try to do it for you/show you how to do it.

Files

NameTypeSizeDownloads
xabanking3.rarxabanking3.rar
Submitted: 04-06-2004 / Last Updated: 04-16-2004
rar6.01Kb1009
--
SCORE OUT OF 10
9.71
9 votes
View Stats
Cast Your Vote!

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 (29):

1 2 3

Posted by AG at on04/21/04
Very simple to implement.

Posted by Xanas at 01:36:00    Voted10.00
done I think.. if you are still having trouble though I'll continue to answer over there.

Posted by AG at on04/21/04
Xanas, Alrighty, heh (here he goes again...), I've changed the chest scripts to create an invidual database entry for each placed chest so they can just be used for private storage chests, and show all goods placed inside to anyone. Each chest should have a unique tag. I'm still having a problem with the gold return function, it is returning the amount twice. I'll post what I have in the BW scripting forum so you can see it. If you would have a look, I would surely appreciate it. Thanks again. Algernon's Ghost

Posted by AG at on04/21/04
Xanas, One other question, If I change the scripts to look for the chest tag instead of cd key (already have actually, and it works fine), will I still have the problem with more than one player opening the chest at the same time, and the first to close it getting all of the items? I'm just not clear on this part. Thanks. Algernon's Ghost

Posted by AG at on04/21/04
Xanas, Thanks for the response. Whoops, I forgot about the previous post about gold after reading all the other posts. I will mess with it a little, and see what I can come up with. I'll let you know. Algernon's Ghost

Posted by Xanas at 03:14:00    Voted10.00
Well, first of all I suggest following the advice of the below if you are worried about your players having that problem. Simply add the lines int iGold = GetGold(OBJECT_SELF); GiveGoldToCreature(oPC, iGold); right above the while loop in the onclose and that will automatically give that gold back to them. But putting a banker in there for them to talk to before accessing the chests is a good idea. As far as 2 players opening chests simultaneously.. the one who closes the chest will end up getting the items saved.. while the other one will not. I do suggest if you want to make the chests specific to the housing and not to the player, that you mess with the script as it is now.. and just take out the references to the players public cdkey, playername, etc. and just use like the tag of the chest (make it where each chest has a different tag of course). And so yeah, you can do pretty much what you want with it. The code is pretty simple so you shouldn't have too many problems with it, but if you post in biowares forum if you have trouble I'll try to help there. It's harder to reply here.

Posted by AG at on04/21/04
Xanas, This is indeed a nice simple storage chest system, and I will test the chest functions out for possible use on our PW. I have a couple of questions though. Why is gold storage not allowed in the chests? Any gold placed in them is lost when opened again. This will be a problem, as players will undoubtedly put gold in the chests. I am looking mainly for players with houses to have a solution for storing items. If I place multiple instances of the chest, could there be issues if two players access chests simultaneously? Also, is it possible to modify the code so that individual instances of chests can be tagged differently, and have the items only appear in the chest in which they were originally placed (still only for the proper player of course)? Thanks in advance for any assistance and advice.

Posted by CassidyB at on04/19/04
Great script, and great support. Thanks for takeing the ime

Posted by CassidyB at 2004-04-1922:26:00    
OK, I think you know about this bug, but I had a problem with players putting money in the bank and not being able to get it out. While reading the posts it seems that the fact that the players had long names could be the issue. I uploaded your new script and added it in. I hope that is the fix I needed. //CassidyB

Posted by Xanas at 12:19:00    Voted10.00
Yeah but anything I would add in the future would probably be in the way of pre-storage checks. It would be just checking of local variables on an item on the player or something to that effect. But I do understand the need to keep simple code or I wouldn't have made this as few scripts as possible.

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 Modules


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