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 storeage system.
* Comes with small Demo Module.
* Both NWNx2 version & BioWare database version available.
NWN2 version: link
Initial Release: 11/5/2006 (v1.0)
-
Major Update: 12/5/2006 (v1.5)
- Fixed so that when items are sold, they dont reappear.
- Added new options for the owner of a shop (Including name-changing).
- Added new options for the builder in the ModuleLoad script.
- Made a semi-caching system when recovering items for the store.
- Fixed some typo's.
- Other minor bug fixes.
- Added an normal shop to the demo module, for testing reasons.
Medium Update: 12/5/2006 (v1.6)
- Fixed a few typo's.
- Fixed a single semi-bug.
- Added an version using NWNX2/APS.
- Added an option to fire salesmen (doh!).
Minor Update: 13/5/2006 (still v1.6)
- Bug fixes.
- Added an option to disable salary paying totally.
Medium Update: 14/5/2006 (v1.7)
- Fixed critical bugs.
- Added an option for the user to change item prices a bit.
- Cleaned up the conversation a lot.
Minor Update: 15/5/2006 (still v1.7)
- Minor bug fixes.
Minor Update: 15/5/2006 (v1.7b)
- VERY critical bug fix.
* Thanks to Leomist for finding it and solving it!
Major Update: 18/5/2006 (v2.0)
- Now the player can have 2 stores with different items and different prices.
- The shop can both buy and sell items. Added an shop gold vault which the player can add/subtract gold from/to.
- Salesman salary is now set in the module load script (shop_mod_load).
- The chest has been removed - it is now just an invisible object that is spawned when needed.
- Moved the pay salary option to the salesman's dialog and changed the way it works.
- Old owners of the shop now gets all the gold they had in the store.
- Very many and very critical bug fixes.
- Now uses the EDS (Enhanced Delay System) which can be downloaded from here.
¤ The EDS is not made by me ¤ * Many thanks to Leomist for helping with testing the system and coming with very many ideas.
Minor Update: 23/5/2006 (still v2.0)
- Critical bug fixes.
Minor Update: 24/5/2006 (v2.0b)
- Critical bug fix.
* Thanks to BigMacDaddy for finding the bug.
Minor Update: 25/5/2006 (v2.0c)
- Critical bug fix (again).
- Added NWNx2 files for download.
* Thanks (again) to BigMacDaddy for finding the bug.
Medium Update: 1/6/2006 (v2.1)
- Added an item counting script from the chests' OnDisturbed event.
- Fixed a bug with the salesman salary.
- Fixed the salesmans random walk.
- Fixed so that items sold to the shop wont dissappear.
- Fixed so that you can't store (and sell) containers.
- Other bug fixes.
Minor Update: 1/8/2006 (still v2.1)
- Fixed stability so it keeps persistent no matter what.
Minor Update: 8/5/2007 (v2.1b)
- Added an italien version, translated by Manny.
Minor Update: 18/7/2007 (v2.1c)
- Fixed issues with shop vault gold and items not being saved.
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.
If you want to use NWNX (which is very much faster and better) but dont know what it is, you can visit their homepage or download the files from this site, there is an included ReadMe for installation.
* The NWNx2 is not made by me!
Always remember to "Build" and "Compile" your module after importing anything.
: Critical Note : BioWare database-using version 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].
One thing I didn't see in the readme that is of interest to me, and possibly others is: When and how does the player owner get the money from their stores' sales? _________________________ OnyxEye - Lead Admin The Realms of Ghamede Link
Posted by Daijin at on05/22/07
Works nice, insofar as i can see! Thanks for the fun! _________________________ Dream Well, Faith, Loyalty, Truth, Honor, Friendship always..... Daijin Dreamweaver, Leader of the Dream Warriors for 32 years, going strong. Nwn The Dunjon Shard: Link
Posted by cowdoc at on05/17/07
Excellent script, great for any pw world. Thanks Remi!
Posted by Manny at on05/02/07
Excellent!! It's very very nice script!! For my module is perfect!! thanks Remi!
Posted by geojedi73 at on04/26/07
That did the trick, thanks again..... _________________________ Today is born the seventh one Born of woman the seventh son And he in turn of a seventh son He has the power to heal He has the gift of the second sight He is the chosen one So it shall be written So it shall be done
Posted by geojedi73 at on04/26/07
I love that you still support and help people with this, If I could give you a higher score than 10 just for that I would do it gladly..... I will test this and let you know, but I think you are right this should take care of it. THANK YOU _________________________ Today is born the seventh one Born of woman the seventh son And he in turn of a seventh son He has the power to heal He has the gift of the second sight He is the chosen one So it shall be written So it shall be done
Posted by Rami_Ahmed at 2007-04-2604:29:52
I never thought that would be a problem, but since it is for you and possibly more, he's a slightly difficult fix (Only one I could come up with, though). 1) Open up "shop_inc". 2) a) Scroll down in the script, untill you find a line like this: void SaveItems(object oArea, object oPC, object oChest, int bDestroy, int iType) (Note, it has to be the one which doesn't have green comments above). or b) Use the "Find Text" function and type in "Stolen". 3) Now find anywhere where it says: !GetStolenFlag(oLoop) This checks if oLoop (Which is the item at hand) is stolen, and if it is, it doesn't save the item in the chest. So, you only need to remove this (Remember the 2 before, but not after). Note: There should only be this one coincidence, this check is not used anywhere else iirc. 4) Close the script (Remember to save!), open up the Build function in the toolset, check "Compile" and "Scripts" and run the building process. Hope this helps and is understandable :) _________________________ 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 geojedi73 at on04/26/07
I am giving this a 10, very easy to use, and so far no bugs or glitches. However I found something that i hope you can help me with..... There is probably a way to fix this issue but I overlooked it or missed it..... The shops do not buy or accept stolen goods. I use UOA crafting and most of the items created ing this system are marked stolen. I dont want to have to go through all the items to alter them. so Is there a script or command that can be changed to make the shops accept stolen goods....? _________________________ Today is born the seventh one Born of woman the seventh son And he in turn of a seventh son He has the power to heal He has the gift of the second sight He is the chosen one So it shall be written So it shall be done
Posted by Rami_Ahmed at 2007-04-0604:52:42
Hi! I've no idea why you're experiencing bugs, it's been a loooong time since I've looked on this too, but last I checked it was working fine. I used it on my own pw for a lot of time too, with no problems. So. If you're still experiencing problems, please email me and we'll figure it out. I hope people are still using this with succes :) _________________________ NWN2 stuff: - Persistent Player Owned Shop System Some stuff made by me for NWN: - Persistent Player Owned Shop v2.1 - Item Breakage System (Updated)