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
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.
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