X
Xanthos
Guest
Auction System Updates
I have picked up support for this wonderful system since Arya is no longer maintaning it.
Summary:
The name says it all, this creates a full auction system on your shard. Players can create auctions and bid on items. The code supports both AOS and non-AOS shards. On non-AOS shards it will provide automatic descriptions for a number of items.
Description:
A detailed description of the system and of the mechanics is provided in the Readme.html file so I won't write it all again here. I'll just provide a short list of the main features:
Version 1.16
Auction View Gump Cleanup
I have picked up support for this wonderful system since Arya is no longer maintaning it.
Summary:
The name says it all, this creates a full auction system on your shard. Players can create auctions and bid on items. The code supports both AOS and non-AOS shards. On non-AOS shards it will provide automatic descriptions for a number of items.
Description:
A detailed description of the system and of the mechanics is provided in the Readme.html file so I won't write it all again here. I'll just provide a short list of the main features:
- The system will automatically extract the properties for the auctioned items.
- Auction multiple items by placing them inside a container (the container will be ignored in the description)
- Search engine for auctions: search for text and for types (Example: search for power scrolls which include the text 'alchemy' in their name)
- Sorting autions according to different parameters (most bids, time left...)
- Solid payment managment: when a bid is placed the money is taken from the bidder's bank right away. Once a higher bid is made, the previous bidder is returned the money.
- Notifications: when you're outbid you'll receive a small notice with a quick link to the auction in case you wish to place a further bid.
- Reserve: when creating an auction you specify a reserve. This is a safety value: if the highest bid is over the reserve, the item is sold. If it's below, the owner is given the option whether to sell or not through the notifications system (this has a timeout defined on the control stone)
- If an auctioned item is deleted due to server reasons (serialization errors, item wipes...) the buyer will be given the chance to decide whether to purchase or not once the auction is over.
Version 1.16
- Removed all references to Daat99Tokens and replaced with runtime binding so those without Daat's can compile.
- Moved enable/disable of Daat99 Tokens out of the SavingsAccount source into the xml config file.
- Changed the SavingsAccount initial value, in the config file, of the interest paid to 4% rather than 40%.
- Fixed the SavingsAccount name and properties displayed on mouse over.
- Added a command: ScaleSavings, scales the balance of all savings accounts by a percentage. Options -g and -t let staff scale only gold or tokens. The amount to be scaled is specified as an integer value.
- Aligned the code with changes in the IShrinkItem interface.
- Now using the fully qualified name of Xanthos.Utilities.Misc.IsArtifact() to avoid an error one person was seeing.
Auction View Gump Cleanup
- Fixed a graphics glitch that caused some ugly broken borders.
- Streamlined the UI to look cleaner and better handle containers.
- Implemented a simple hue item to allow viewing of the item's hue if it has one.
- Fixed a null reference introduced in fixing the gold and item leak to the null map. The code has been simplified and the evil allocate-on-read property has been removed.
- Added a command, InstallSavings, that places a savings account in each player's bank, if there is not one there already.
- Fixed a crasher on dclicking a savings account outside of a bank box.
- SavingsAccounts outside of a bank box, when dclicked, place a SavingsAccount in the users bank box.
- Banker now places commas in gold amounts when he/she speaks.
- Moved StaffCloak into the Arya namespace.
- Savings account now displays balance on mouse over.
- Fixed a compile error for those who do not use Daat99 Tokens.
- Reworded a couple of gump strings.
- Fixed a gold leak to the internal map occuring when a gold auction check was d-clicked and subsequently not redeemed.
- Auction gumps now display commas in gold amounts.
- ConfigParser no longer halts shard start-up when a bad value is found in the xml file. Instead it displays the error on the console, leaving the default value untouched.
- Added a ConfigParser option to halt the shard on bad values in the xml config file.
- Re-fixed the dead pet exploit in a way that does not demand one have Xanthos shrink system. Any shrink system that implements the IShrinkItem interface will do. Xanthos shrink system implements the IShrinkItem interface. Supporting the IShrinkItem interface in other shrink systems is left as an exercise for the reader.
- Fixed an exploit: will no longer accept invalid shrunken pets in auctions (provided Xanthos shrink system is used).
- Pets bonded to the seller are unbonded when retrieved from the system by the auction winner.
- Added Staff Cloak to allow staff to quickly change to player access level to bid on auctions. Original author unknown.
- A Savings Account gold box is provided to be placed in users' bank boxes. Gold and Daat99Tokens can be recorded in the account - reducing item count.
- Bid funds will be taken from a player's Savings Account if there are insufficient funds in the player's bank box.
- Two modified standard distribution files are provided: Banker.cs and BankCheck.cs. With these modified files, commas can be used in creating checks and making withdrawls, and checks will display commas.
- A number of parameters are available for configuration in the file AuctionConfig.xml (place this in your RunUO\Data directory). This allows configuration parameters to be modified without code changes.
- The package now unzips into a Xanthos directory - keeping the package files within the Xanthos directory in your customs directory is recommended.