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
Posted by Azulfae at 2010-06-12 06:41:53 Voted 10.00 on 06/12/10
As a player this system is a wonderful solution to selling all that junk you find in game that needs to be sold to another player when they have the funds available rather than just vanish away into server resets from the local shop. Also because you can offload all your good sellable gear to the auction it means you are not bogged down with excess weight. _________________________ Elements Of Aesyr
I'm also going to be using the PnP (Pen & Paper) coin system. Will that (or this system) integrate with each other? _________________________ My Vault Submissions
You are most alive when you're staring DEATH in the FACE!!!!!
Posted by erikbreau at 2010-02-18 06:41:34 Voted 10.00 on 02/18/10
Added to Europa... (please remember to add the nwnx4 clock ppl!) and it works phenomenally!
BRAVO!
I'm admittedly not an expert on hosting a NWN2 server but I did just take over a heavily customized PW. I've installed the Kemo Auction stuff in a way that I *think* is correct. I basically just did a save-as directory of the kemo mod, deleted out all the stuff I didn't need and then pasted it into my PW. I put the auctioneer and auction table in an area. You can click on the guy, get the dialog, and see the UI just fine.
I can sell an item, and it removes it from my inventory and charges me a fee. I can see the the local database files in nwn2\database are getting larger as I add stuff, but I cannot ever see any items in the auction, nor can anyone see mine. Other players can add to the vault but again I will not see their items either.
Any ideas on how I might troubleshoot this? It looks like a gerat add-on, thanks!
Pontificus
Posted by Artevere at 2009-11-28 12:58:29 Voted 10.00 on 11/01/09
Very nice. I'm thinking of hacking this for a few other uses as well. I will, of course, give you due credit :) _________________________ Random Item Generator
Posted by Artevere at 2009-11-01 15:14:12 Voted 10.00 on 11/01/09
Great work. I'm a bit curious though, if you aren't using a database, how are the items stored in the event of a server crash? Are you using an xml file to store them in? _________________________ Random Item Generator
Posted by lerathel at 2009-09-01 06:38:25 Voted 10.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 :)
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 2009-06-16 12:12:57 Voted 10.00 on 06/16/09
Is truly a great system for any PW.
Posted by AlgolagniaVolcae at 2009-05-17 11:29:54 Voted 10.00 on 05/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
Posted by Zedicius at 2009-05-11 03:38:35 Voted 10.00 on 05/11/09
Posted by toblun at 2009-04-26 15:55:19 Voted 9.75 on 04/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 toblun at 2009-04-25 18:41:15 Voted 9.75 on 04/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 2009-03-30 08:18:54 Voted 10.00 on 03/30/09
More amazing work by the amazing kemo
Posted by OzmaDarkheart at 2009-03-30 00:03:59 Voted 10.00 on 03/30/09
Truly innovative. Works quite well, and I'm especially fond of the added ability to examine the items.
Posted by KHart115 at 2009-03-29 20:04:56 Voted 10.00 on 03/29/09
Very handy little system here, makes selling much easier. _________________________ nwnhaven.com
Posted by Necaradan666 at 2009-03-08 09:15:54 Voted 9.00 on 03/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