Billy 164 Report post Posted June 9, 2016 (edited) Unlike my other one, this one is based on users rather than admins. Any player on the server can submit an item to the auction. Each player can only have 1 auction active. (Note, in the second video I forgot to enable the seller actually getting their gold, after the auction is over,the seller clicks "claim items" to get their gold.) Features: "Infinitely" expandable (only limited by table size) Easy to use Claiming items requires space in bag Claiming gold requires less than 2b gold (checks for overflow, will give at most the differance between your gold and 2b) Currently, the entire system only takes 7 8 pages off the npc (for any amount of auctions running at once) Supports item attributes Bought items/gold from selling/refunded gold from not winning are claimed at the npc Future: Make the next/previous buttons disappear if there isnt a next/previous page (currently they just redirect back to the current page if that is the case) Allow more than 1 auction per person, and have a menu of all a persons auctions if they want to withdraw. (wont do this, as i think it would be spammed) Have a menu of bought items to claim, rather than claiming all at once. Named attributes ( str/acc /con etc )rather than just the ID (26/28/29 etc) Add different descriptions depending on the item type Updated: Tided up the info page a bit: Edited June 12, 2016 by 7n6 7 Quote Share this post Link to post Share on other sites
Yomazu 20 Report post Posted June 9, 2016 Its very good. 1 Quote Share this post Link to post Share on other sites
Yomazu 20 Report post Posted June 9, 2016 (edited) I did it some months ago, Auction using Player Gold. Auction.lua Edited June 9, 2016 by Yomazu Quote Share this post Link to post Share on other sites
Billy 164 Report post Posted June 12, 2016 Updated the way to claim: you can now select the items from a menu instead of having to claim all at once in order (unsold items you listed are also added to this menu) : Quote Share this post Link to post Share on other sites
MonkeyCode 453 Report post Posted June 12, 2016 Just couple questions, I don't remember correctly but there seems to be a limitation on talk pages. 30 or something right? If the number of items to be auctioned surpass the page limitation, does the npc acts like some sort of ADT where items that cannot be displayed will be displayed once there is room. Also, another thing, attrs such as str/con/agi/acc/spr on non-stapled equipments like non-unseals transfered to new equipments? and finally, nice system =) 1 Quote Share this post Link to post Share on other sites
Billy 164 Report post Posted June 12, 2016 @KONG 1) The entire system takes 8 pages no matter how many items there are. each time you press next/previous a counter is incremented/decremented by 1, and you are redirected back to the same page Each item has a number (1-6) on each page when you click the item, if it exists you are redircted to a blank page, if it doesnt exist you are sent back to the list page without changing the counter On the blank page, your counter is multiplied by 6 and the number assigned to the link you clicked added to it, and then the talk is generated from there. So you can have any number of items in the system (up to whatever the limit in lua tables is) 2)It loops onto the "next" page, which is the same page with the counter incremented by 1, items with ID between (counter *6) and ((counter + 1)*6 -1) are displayed at once 3)Yes, these are transfered and displayed 4) Thanks 1 Quote Share this post Link to post Share on other sites
Rinor 59 Report post Posted June 13, 2016 @7n6 Q: After Auction ends does it give item to the last bidder by sending it to Temp Bag? Quote Share this post Link to post Share on other sites
Billy 164 Report post Posted June 13, 2016 When the auction ends, the player has to go to the npc and click "Claim a won item", and select the item they want to claim from a list of all auctions they won. Quote Share this post Link to post Share on other sites
Angelix 375 Report post Posted August 1, 2016 Is there any release on this? Great system by the way! Quote Share this post Link to post Share on other sites
Billy 164 Report post Posted August 1, 2016 10 hours ago, Angelix said: Is there any release on this? Great system by the way! theres still a few bugs, so not yet. Quote Share this post Link to post Share on other sites
Angelix 375 Report post Posted August 1, 2016 3 hours ago, 7n6 said: theres still a few bugs, so not yet. Thanks for the response, will wait then. Quote Share this post Link to post Share on other sites