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  



NWN2 SCRIPTS

- Jump to comments -
Name  Persistent Chest System using MySQL
Author  Dethia
Submitted / Updated  08-09-2010 / 12-20-2010
Category  Scripting routines
Type  Type - Other
Format  Code Only
Patch  1.23
NWN2Game  All
Description
This is a persistent chest system I have written that uses the MySQL database. Obviously it requires nwnx fully functioning.

This is NOT scripted for SQL lite, sorry.

Please read the read-me file for information on how the system works and how to set it up. The steps are very simple in general but of course that will vary on user experience. I have included contact information in the Read me file so feel free to contact me about anything related to this system whether it be questions, suggestions or bugs.

Files

NameTypeSizeDownloads
nwnx_files.erfnwnx_files.erf
Submitted: 08-09-2010 / Last Updated: 08-09-2010
erf21.43Kb53
nwnx include files, please read section 1.2 of the ReadMe before importing these.
Read_Me.txtRead_Me.txt
Submitted: 08-09-2010 / Last Updated: 12-20-2010
txt10.96Kb257
PLEASE READ THIS (Explains the system and how to implement it)
dethia_pc_chests.erfdethia_pc_chests.erf
Submitted: 08-09-2010 / Last Updated: 12-20-2010
erf67.48Kb67
The scripts/ chest placeable/key item/conversations for puchase and chest pick-up
SCORE OUT OF 10
8
1 votes
View Stats
Cast Your Vote!
Voting FAQ

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

Posted by Dethia at 2010-12-16 17:00:19    
UPDATE:
a) I have fixed an issue where when the chest is auto-closed after 10 minutes of having been unlocked but the chest container screen remained opened. I now close the gui screen at the same time as when the chest is locked. Otherwise if a chest auto-closed but the container gui was still open and more items were added to it, the items added after the chest was already locked would not save (as the script would not run).

b) I've also updated the chest placeable to have 1 hp so that it can be interacted with and have an inventory.

Hope no one ran into this issue otherwise I believe the system is solid.

Posted by Dethia at 2010-11-23 07:39:11    
UPDATE: I have updated the dethia_pc_chest_system.erf

The chest is now treated as a container, in addition I have slightly optimized the code so it should work a tad bit faster.

Posted by Dethia at 2010-08-25 15:45:19    
Make sure the chest you made is a container (check the box that it's a container under blue-print properties) otherwise it will be just a placeable hence why you may be seeing only the option to use/examine it.

Posted by pcentobie at 2010-08-24 20:28:13    Voted 8.00 on 08/24/10
I have been able to get everythign workign up to the point where the chest and key are spawned from the item I created that the NPC I created sold to me using the pc_buy conversation.

I was having a little trouble with the item I originally created so I just named it pc_chest_placer to get things working for now.

When I try to click on the chest I just get "use" and "examine" options. I try "use" and nothing seems to happen. It seems that at this point it is supposed to unlock the chest if I have the key. I did not see an uption for "unlock"

The key I have matches the chest like "Chest #1" "key #1".

I can see the entries created in the MySQL database so I know it is communicating with the database and no errors in the mysql.txt log in NWNX.

Any help is appreciated. Great work, I just need to get the last part working.

Posted by kubilaiKhan at 2010-08-18 21:05:26    
edhardy is a *bleep*ing spammer.. Is it possible to block him ? Thx in advance IGN..

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

10 - A Masterpiece, Genuinely Groundbreaking
9 - Outstanding, a Must Have
8 - Excellent, Recommended to Anyone
7 - Very Good, Deserves a Look
6 - Good, Qualified Recommendation
5 - Fair, Solid yet Unremarkable
4 - Some Merit, Requires Improvements
3 - Poor Execution, Potential Unrealized
2 - Very Little Appeal
1 - Not Recommended to Anyone

 
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 Visual Effects


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