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
The system is now set up so that if you have the max sale price constant set to zero, the actual max sale price will be unlimited. _________________________ 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 lerathel at 06:38:25 Voted10.00
Hi, I've updated to your latest version... and now all new auction added are a 0 price... I set a price like 50 000 click sell it take 10 po for commision and put the item on sale for 0 gp. 100% of the time... did you make any change to the xml files since version 1.22 of your system ?I just updated all the scripts, the changed files list would be nice, everytime I need to translate everything again. maybe put all the text string in an include file for easy translation and update :)
Posted by kemo at 2009-07-2313:45:10
Thanks, I'll get that fixed. You can adjust it in the scripts (there's a switch that goes through each baseitem type) if you don't want to wait, or if you want to rearrange where the various types go. _________________________ 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 s_harrington at 2009-07-1911:36:07
Dwarven Waraxe, BaseItemType 108 needs to go under arms, not craft
Posted by Cladius at on07/18/09
One of few community script additions that completely redefines the games flexibility and liveliness. Absolutely awesome.
Posted by iotech at on07/11/09
KEMO for president! Seriously, this rocks! Very impressive, will be a great add to my PW. Thanks!
Posted by kemo at 2009-06-2714:29:26
Have you double-checked that you complied the auction scripts? _________________________ 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 Raveni$ at 2009-06-2312:22:50
Hi. I have a problem with this system when i'm implementing it to my PW mod. It works fine when I try the example mod alone. When it is in my PW mod, nothing happens when I press "I would like to see the auction book." in conversation. All conficurations are a same as in the example mod, i have checked them. I'm running out of options so i posted my problem in here, if someone can solve this. I hope i'll get replies to this.
Posted by cepapoe at on06/16/09
Is truly a great system for any PW.
Posted by AlgolagniaVolcae at on05/17/09
Throwing my vote in here, I added mention to the wikia but never got around to voting myself. _________________________ A wise man gets more use from his enemies than a fool from his friends. - Baltasar Gracian, Spanish Jesuit
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