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  Hermyts Persistent Chests
Author  HerMyT
Submitted / Updated  04-19-2004 / 11-22-2006
Category  Database Related
Expansions  Requires Both Expansions (SoU & HotU)
View Code  

Select All Text | View Code in separate window
Format  Code Only
Type  Type - Item Storage
Includes  BioWare Standard
Description
This is my personal persistent chest code, I'm posting it on request from a few people, it uses biowares native db system, and its about as optimized as is possible, it takes about 0.2 seconds to do a 300 item load, which is only once per chest per server reset

Files

NameTypeSizeDownloads
herpersistchests11.rarherpersistchests11.rar
Submitted: 04-19-2004 / Last Updated: 04-22-2004
rar10.02Kb931
--
SCORE OUT OF 10
9.88
6 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 (30):

1 2 3

Posted by eighteez at 2005-02-0807:47:00    
I imported the erf. Received an error that the her_persist_inc.ncs couldnt be found in the package. I continued anyway. Placed a single chest. Did a build module. Saved and exited. Loaded the mod up in game and placed some stuff in the chest. Exited the game. Reloaded it up and the chest was empty. Ideas?

Posted by eighteez at 2005-02-0807:47:00    
I imported the erf. Received an error that the her_persist_inc.ncs couldnt be found in the package. I continued anyway. Placed a single chest. Did a build module. Saved and exited. Loaded the mod up in game and placed some stuff in the chest. Exited the game. Reloaded it up and the chest was empty. Ideas?

Posted by caesarbear at on11/10/04
Very easy and seems quite effective. Some consistancy issue that I'm not even sure are the fault of this script, otherwise an excellent script.

Posted by migel at 2004-07-2216:42:00    
I installed the erf. Put the persistent chest down but its always empty, I tried putting inventory into it and leaving it empty. I have all expansions and CEP.. The instructions are easy, import erf and place the persistent chest..

Posted by GuyWithQuestion at 2004-06-3016:42:00    
Me again. Thanks for the response. I wonder if you can help me figure out what's amiss here. I have two levels of a building, the downstairs has a persistent chest that works and a persistent chest (CEP Safe placable) that also works. ...and they work GREAT, I must say. Upstairs I have 4 chests, and only one seems to work. Scripts are on the right events, I've tried changing the resref and the tag of the containers and nothing... Each reboot of the server produces 3 empty chests and one working one. The chests are more than 2 red squares apart in the builder... I'm just not sure what's going on here. No pressure, just wanted to pick your brain. :)

Posted by HerMyT at 2004-06-1420:41:00    
sorry if there was a delay in responding, the chests use the area name yes, but they also use the location coordinates of the chest, so you can have as many as you want in an area, try not to put them REALLY close together as it might end up getting the same area coordinates as I don't use the full coordinate length, but if you have them a human body apart then it should all be fine and dandy.

Posted by GuyWithQuestion at 2004-05-1114:39:00    
Your documentation says that the DB uses the area name. Does that mean you can only have one chest per area? The reason I ask is that I have an "apartment" area, where I'd want a seperate chest for each PC, even though they share an area.

Posted by srn at 05:51:00    Voted9.00
It's not an error as such, but it means the counter and each item all get stored as the same name (the only bit different is the last few characters, which are cut off). Makes getting them back rather tricky.

Posted by HerMyT at 2004-05-0419:45:00    
hmm, perhaps I'll change the use of the module name to a custom one, are you sure on the database variable name length, I've truncated some of the area coordinates for length purposes, but I've got some long tags for areas and haven't noticed problems yet, but I'll have to test it to be sure, was just wondering if you'd checked on that, I heard that the variable name length for the database were going to be limited but I'm pretty sure I've run overlength a few times and not had errors, was wondering if its a confirmed limitation or not. HerMyT

Posted by srn at 18:40:00    Voted9.00
Database names are (apparently) limited to 32 characters. If the area name is more than about 18 characters, the DB name for the object will be the same as for the name for the number of objects, and the object store will fail. I suggest truncating the location name to 18 characters.

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 Other


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