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  KEMO Auction/Consignment System
Author  KEMO
Submitted / Updated  02-12-2009 / 10-11-2009
Category  Scripting routines
Type  Type - Merchant
Format  Module and Code
Patch  1.22
NWN2Game  All
Description
The KEMO Auction/Consignment System (hereafter KEMO Auctions) is a GUI-based consignment merchant that allows players to sell goods to other players in a PW.

KEMO Auctions is divided into four major sections: arms, armor, miscellaneous and crafting. Players may have up to ten items listed for sale in each section (for a total of 40 concurrent sales per character).

To sell an item, click on the Sell button and select from the list of items in your inventory. Enter a sale price and click the Sell icon. KEMO Auctions charges a 5% non-refundable commission on every sale posting.

To buy an item, click on one of the section buttons, then select an item and click the Buy icon. If you wish to view the item first (to check its properties, for example), click on the View icon and an Examine window will pop up for that item.

Sales expire 7 days after they have been initiated. Expired items will be returned to their original owners. If one of your items sells, you can retrieve the gold by clicking on the Retrieve button (which you should do any time you have sales running, to check whether any of the items have sold).

KEMO Auctions is persistent across server reboots.

FOR BUILDERS:
* KEMO Auctions requires NWNX4 and the nwnx_clock plugin in order for the sale expiration function to work. (As a result, the demo module works fully except for the expiration function, unless it is loaded as a MP server through NWNX4.)
* If you wish to prevent players from selling certain items, edit the CheckTag function in kemo_auction_includes to add the tags of the items you don't want to allow. (Currently it is set to prevent items with "key" in the tag and all cursed items.)
* To implement, import the ERF and place the auctioneer NPC and the Auction Table together in an area. (The Auction Table is used only to mask temporary items that must be created in order for the View option to work: it is selectable, so that items created "underneath" it cannot be picked up before they are destroyed. It serves no other function.)
* The 5% commission may be changed in the gui_kemo_auction_sellselect script, by changing the line "iCommission = iCommission / 20;" to suit your needs.
* The HAK file contains only the single XML file needed for the GUI to function. This file may be moved to another HAK if desired.

UPDATE 2/14/09 (version 1.01):
* fixed a server crash issue when attempting to sell an already sold item

UPDATE 2/15/09 (version 1.02):
* fixed a pair of scripting errors, one in gui_kemo_auction_retrieve and one in kemo_auction_includes
* removed the demo module from the package until I can rework it to fake having nwnx_clock

UPDATE 2/16/09 (version 1.10):
* added a Search function: type in text to search for and click the Search button and the current auction panel will filter for that text
* added the demo module back in, now with a "dummy" nwnx_clock script
* (late 2/16): uploaded with fixed demo module (now has the HAK correctly attached)

UPDATE 2/18/09 (version 1.2):
* modified the scripts to make customization easier and added some customization options via constants in the include file, as follows:

1) Set the commission percentage
2) Set minimum/maximum commissions
3) Figure the commission based on selected sale price, value of item, greater of the two, or a set value
4) Set minimum/maximum sale prices relative to item value
5) Set the sale length (expiration)
6) Set max sales per character per category
7) Activate exploit checks (prevent sales to identical CD key, player name and/or player IP)

UPDATE 2/20/09 (version 1.21):
* adjusted the commission pricing calculation to fix an int/float conversion problem

UPDATE 3/3/09 (version 1.22):
* fixed an error in the commission value message, which was showing the wrong prices if commmission type 0 or 1 were being used (they were reversed)
* fixed an error in the commission value message that listed 0% for any commission under 1%, now will indicate "less than 1%" instead of 0%

UPDATE 3/5/09 (version 1.23):
* fixed a terribly embarrassing bug where the expiration functions were utterly fubared
* heartfelt thanks to lerathel for spotting and reporting the problems that led to this and the previous two updates; all content creators should be so lucky to have such a patient and helpful content user
* 1.22-ready

UPDATE 6/7/09 (version 1.30):
* in larger PW's, the auction list gets very large very quickly and can cause listing problems - this has been fixed using additional scripting/xml by Tamons: now each buying pane is "paged", with a page length defaulting to 6 items (changeable via constant) and buttons to go up/down a page
* can no longer sell if the PC is > 3m away from the auctioneer

UPDATE 6/27/09 (version 1.31):
* previous version didn't actually include the distance check
* still having problems with large auction lists; this update gets a little closer to a solution (the lists can be larger than previously), but it's still not 100%. I'm working on it!

UPDATE 9/1/09 (version 1.40):
* fixed the dwarven waraxe misfiling
* converted all script text strings to constants for easier localization (this does not include the conversation or the XML file contents)
* added a switch (COMMISSION_EXTRACT_POINT) to let the commission be taken out of sold items only, when gold is retrieved

UPDATE 9/22/09 (version 1.45):
* added more Tamons optimizations: the system can now handle PC inventories with up to 800 items, and sale lists of up to 125 items per category, before choking on Too Many Instructions

UPDATE 10/11/09 (version 1.46):
* fixed a bug where too many expired items resulted in blank retrievals; now a retrieval is performed each time a player goes to the Sell panel

Files

NameTypeSizeDownloads
KEMO_Auction_146.7zKEMO_Auction_146.7z
Submitted: 02-12-2009 / Last Updated: 10-11-2009
7z48.78Kb649
(10/11/09) Contains the ERF, HAK and demo module for 1.46
SCORE OUT OF 10
9.99
32 votes
View Stats
Cast Your Vote!
Voting FAQ

AWARDS



PORTFOLIO
Add this entry to your portfolio so you can track it
Manage your existing portfolios or create a new one.
SCREENS

The selling panel


One of the four buying panels


The Examine window that appears when you use the View icon button


Version 1.1 buying panel with search field





You Must Be Logged In to Participate.
Comments (30):

1 2 3

Posted by Zedicius at on05/11/09
Excellent.

Posted by kemo at 2009-04-2912:20:50    
After this weekend I should have some spare time to work on those two things: adding multiple location support and closing the UI at a certain distance from the NPC. _________________________ KEMO Auctions | KEMO Beds and Tables | KEMO Bio | KEMO Custom Animations | KEMO Custom Chairs | KEMO Experience Award System | KEMO Jukebox | KEMO PC Scry | KEMO Storage System Kingdom of Haven admin

Posted by toblun at on04/26/09
No it will not close until I close it myself. Would be nice if you added the option for multiple auction setups so that I don't have to mo defy your excellent auction add on every time you relies a new version.

Posted by kemo at 2009-04-2614:18:52    
It won't close even if you change areas? I'll check to see if there's a way I can make it close at a certain distance from the NPC. . . To make multiple auction setups, you will want to make 2 NPCs with different tags, and adjust the scripts so that the auction databases include the npc tags in their filenames. I may add this option to the next version. _________________________ KEMO Auctions | KEMO Beds and Tables | KEMO Bio | KEMO Custom Animations | KEMO Custom Chairs | KEMO Experience Award System | KEMO Jukebox | KEMO PC Scry | KEMO Storage System Kingdom of Haven admin

Posted by toblun at on04/26/09
First a question. Is it possible to set up two different auctioneers with different auctions? if it is how do I do it? Also I have found one big bug/exploit the auction window will never close on its own so I can run around everywhere looting and putting items on auction/or buying heal potions whenever I need them.

Posted by Harmonoca at on03/30/09
More amazing work by the amazing kemo

Posted by OzmaDarkheart at on03/30/09
Truly innovative. Works quite well, and I'm especially fond of the added ability to examine the items.

Posted by KHart115 at on03/29/09
Very handy little system here, makes selling much easier. _________________________ nwnhaven.com

Posted by kemo at 2009-03-0910:50:08    
That *should* be fixed now, but if anyone spots it happening with 1.23, let me know. _________________________ KEMO Auctions | KEMO Beds and Tables | KEMO Bio | KEMO Custom Animations | KEMO Custom Chairs | KEMO Experience Award System | KEMO Jukebox | KEMO PC Scry | KEMO Storage System Kingdom of Haven admin

Posted by Necaradan666 at on03/08/09
Has some bugs, that can make items drop and dupe but it's pretty damn useful. 9 _________________________ I'd rather a bottle in front of me than a frontal lobotomy.

1 2 3

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 UI


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