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  Persistant Player Owned Shop System v2.5
Author  Rami_Ahmed
Submitted / Updated  08-27-2008 / 10-25-2008
Category  Inventory Item
Forum Thread  Link
Type  Type - Merchant
Format  Module and Code
Patch  1.13
NWN2Game  All
Description
Buy a shop from the goverment, sell your own items to other players and sell the shop again!

* Fully persistent.
* Very easy to set up.
* Very player friendly, easy to use.
* With salesmen, need them to sell your stuff.
* With easy storage system.
* Comes with small Demo Module.

NWN1 version: link.

Initial Release: 27/08/08 (v2.1)
- Converted from NWN1 version.

Major update: 07/09/08 (v2.5)
- No longer uses the EDS (Enhanced Delay System), you can therefore delete the three eds_ files, if updating from earlier version.
- Fixed different issues with salesmen not appearing or not being deleted when fired.
- Changed the way salesman wage works.
- Centralized all script texting in one great script, making it very much easier to translate to other languages.

Minor Update: 25/10/08 (v2.5b)
- Fixed shop vault "unlimit gold" bug.
- Added so that DMs can make the shop return to the government.

This system is aimed for roleplaying modules, to add some fun to the players.
The players can buy a shop (which you'll have to make yourself, visually). The owner of the shop can place items in a chest (which is spawned from the sign only when needed), the owner will need to hire a salesman to sell his/her items. The salesman will sell the players items from the chest (The buyer can choose which store to view, now the player can have 2 stores from same shop), the salesman will also demand salary. The player will earn gold when other players buy his/her items from the shop, and the shop can buy items if the player has put gold into the shop vault. The shop can be sold to other players as well.
There can be unlimited shops througout the module - as long as they each have their own area.

All settings are set in the ModuleLoad script: shop_mod_load.

Always remember to "Compile" your module after importing anything.

: Critical Note :
Might not work on Linux machines, because of a bug in a function used by this system to clean up!

.: Important note :.
You can only have 1 shop per area. And the area must have a module wide unique tag.

If you are experiencing problems, please post them here or send me an email on: [email protected].

I wish anyone using this package - Good luck.

Files

NameTypeSizeDownloads
Persistent_Player_Owned_Shop_System_v2.5.zipPersistent_Player_Owned_Shop_System_v2.5.zip
Submitted: 08-27-2008 / Last Updated: 10-25-2008
zip246Kb304
Persistent Player Owned Shop System v2.5, for NWN2 patch 1.13.
SCORE OUT OF 10
9.81
4 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 (15):

Posted by Rami_Ahmed at 2008-11-23 06:28:40    
Hi! Sorry, simply don't have time for this at the moment. Too much other stuff. Feel free to edit this system in whatever way you wish. Some day I might make an update to this system, but it probably won't be anytime soon.
_________________________
NWN2 stuff:
- Persistent Player Owned Shop System

Some stuff made by me for NWN:
- Persistent Player Owned Shop v2.1
- Item Breakage System (Updated)

Posted by MCMunroe at 2008-11-13 18:09:27    
The salesman also spawn everytime a PC enters a shop another Salesman is spawned. The current record is 11.

Posted by MCMunroe at 2008-11-04 22:00:47    
For some reason the Salesman NPC continuously opens and closes the doors even after we cut out the part of the scripting for him expect to be payed. (had to see above)

Posted by MCMunroe at 2008-10-23 20:56:34    
Installed in our PW.
We seem to have an game breaker with the system.
After hiring a Salemen, he immediately starts saying "You should of payed me" over and over.
Even after explictily paying him one month through the dialog.
The readme file mentioned something about a time script (not included) and not needing such anymore.

Posted by MCMunroe at 2008-09-27 22:42:20    
I'm trying to install this system into our PW.

The read me instructions seem to be missing half of the steps. I would really like a complete manual and installation instructions. Thank you.

Posted by Drakanoiderna at 2008-09-20 02:03:06    
oh sorry forgot, There is some things I miss a easy way to have stolen items be turned on and off to get sold both for players and admin. But in over all a grate script.

Posted by Drakanoiderna at 2008-09-20 01:57:47    
Think I found a bug, the conversation do not check if pc have gold to put in the shop he/she owns, so they can putt in 1000 when have non on them and then take it out. I think what one needs to do it put condition gc_gold and the amount of gold in the box.

Posted by lerathel at 2008-09-08 13:23:13    Voted 9.75 on 09/08/08
thanks, humm maybe if we could get a bag in the player inventory to get the stuff to sell. when to player open his bag it update thecontent to what the database reflect and give his money for sold items. if the shop is sold then he still have all of his item.

well that menn every character a would buy a shop would have a persistent storage and that the store would use this one insted of using its own storage that players share.

what do you think ?

Thanks for your fast answer, exelent system. !

Posted by Rami_Ahmed at 2008-09-08 07:22:02    
Hi!

Alot of scripts have seen changes, most importantly:
shop_area_exit, shop_area_enter, shop_inc & shop_man_hb - but other scripts have been changed too. The easiest will to overwrite all except the shop_sign_conv, i will recommend overwriting the other conversation because of new changes.
It will be much easier to translate from this update, I have now moved all script texting to 1 script which you can translate, and then never overwrite.
I have not found a good solution to your example, I know that playerA will lose his / her items when selling the shop.
There is from this update no date saving system included, I therefore recommend users to get their own date saving system (I recommend this in the ReadMe too).

And, as I have written before, this system should save items the exact same way as they were stored, crafted or not.

Cheers,
Rami.
_________________________
NWN2 stuff:
- Persistent Player Owned Shop System

Some stuff made by me for NWN:
- Persistent Player Owned Shop v2.1
- Item Breakage System (Updated)

Posted by lerathel at 2008-09-08 04:04:33    Voted 9.75 on 09/08/08
Coudl you give me the scripts/conversation/etc that you modified in htis new version ? I already translated some conversation already, and script. Wiht the list of updated file I could import only the changed one to my mod.

I have my own persistent date system, if you removed EDS did you add something equivalent that I should remove ? or keep the better of the two systems.

I have store owned by player and a general store that any player can use... but if a user set the general shop to "not for sale" its his forever... could we set a limit or let dm change that.

and if playerA has 10 items in the store for sale and someone buy the store... playerA items disapear, dont know what could be done about this but just telling.


Posted by dmguild at 2008-09-06 18:15:14    Voted 9.50 on 08/28/08
Rami_Ahmed,
Have you tried storing a in-game crafted item in the database?
_________________________
Keeps calling me it's master, but I feel like it's slave. Haulin me faster and faster to an early early grave.
Skullport and the Undermountain PW
NWvault Submissions:|Skullhak_2|---|Skullport PW|---|Waterdeep PW|---|Portrait Pack|

Posted by Rami_Ahmed at 2008-08-30 00:55:03    
Hi dmguild,

This system uses the BioWare/Obsidian database to store objects, which means that even dynamic items, such as the ones that you are mentioning in your post, should be returned the exact same way as they were stored. I do not just store the ResRef, but the item itself.

Rami.
_________________________
NWN2 stuff:
- Persistent Player Owned Shop System

Some stuff made by me for NWN:
- Persistent Player Owned Shop v2.1
- Item Breakage System (Updated)

Posted by nicethugbert at 2008-08-28 15:26:54    Voted 10.00 on 08/28/08
NEAT!
_________________________
NTB's Hills and Valleys Vol. 00

Posted by dmguild at 2008-08-28 09:37:26    Voted 9.50 on 08/28/08
Does this shop system store the properties of the items or just the resref from the toolset? Many modules use dynamic item creation treasure systems where (for example) each kama dropped has a resref of a_kama, but in reality each has different properties. Storing these into a database using just the resref, will remove all the properties on dynamically created items when placed in the store. This is the problem I ran into at Skullport when I went to implement this using NWNX4.
_________________________
Keeps calling me it's master, but I feel like it's slave. Haulin me faster and faster to an early early grave.
Skullport and the Undermountain PW
NWvault Submissions:|Skullhak_2|---|Skullport PW|---|Waterdeep PW|---|Portrait Pack|

Posted by Birkebark at 2008-08-28 02:37:55    Voted 10.00 on 08/28/08
Brilliant initiative Rami - glad to see you are still going strong! Keep up the good work.
_________________________
Zantium.dk

[Dynamic Book System][HCR2 OnPlayerChat]

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 Plug-Ins


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