Programming Game
- Game
- Resources
- Docs
Updates to Trade Mechanics, Lots of Bug Fixes
August 16, 2025 - v0.3.0
Lots of client updates improving the api for trading and interacting with storage. New trade recipes, lots of bug fixes, some server performance improvements.
New Features
- Added crafting recipes for
copperSword,copperGreatSword, andcopperShield - The trade object defined on players now automatically updates when they can no longer fulfill the trade.
- This should trigger whenever you
drop,buy,sell,respawn,use,eat,deposit,equip, orcraft/setSpellStones.
- This should trigger whenever you
Miscellaneous
- Buying, selling, setting trade, and interacting with storage now consume your global cooldown.
- To prevent abuse, only the players calling
.buyand.sellwill incur a global cooldown. Players buying/selling with other players via previoussetTradecalls will not incur a global cooldown.
- To prevent abuse, only the players calling
- Eating now consumes the global cooldown, this happens even if you fail to eat.
- Reduce trade (
buy,sell,deposit,withdraw) range from 4 meters to 2 meters. - Reduce
acceptQuestandturnInQuestrange from 4 meters to 2 meters. - Imps now drop
tatteredCottonClothinstead oftatteredLinenCloth. - Marked some internal testing items as deprecated, these will never be obtainable within the game.
- Minor server performance improvements.
Breaking Changes
- Updated
buyandsellclient api to accept a map of items that you want to buy/sell instead of the requiring anuntilfield.- You can now buy (or sell) as many items as you want in a single transaction.
SellIntentandBuyIntentare also deprecated in favor ofSellItemsIntentandBuyItemsIntent
useno longer takes anuntilparameter, the client will now keep track of this and send it to the server as needed.eatno longer takes an until parameter, the client will now keep track of this and send it to the server as needed.unit.trades.offersandunit.trades.wantsare now deprecated in favor ofunit.trades.buyingandunit.trades.selling- The previous fields only allowed for prices, the new fields allow for both quantity and price.
- The client/server api has been updated, older clients will default to a quantity of 1 for both buying and selling.
trades.offersandtrades.wantswill remain in the game for backwards compatibility reasons, but will be removed in the future.
cast,use,attack, anduseWeaponSkillnow takeUnitbased targets instead ofidbased targets.dropnow takes an object{ item, amount }, previously tookitem, until.
Bug Fixes
- Fixed an issue with item duplication related to buying from other players.
- Fixed an issue where vendors would sell items for their
sellToVendorprice. - Fixed an issue where buy/sell would move a player closer to their target even if outside of vision range.
- Fixed a bug where client would update inventory incorrectly when un-equipping items.
- Fixed a bug where clients would misattribute
updatedTradeevents to themselves instead of the acting unit. - Fixed bugs related to quests misattributing events to the current player instead of the acting unit.
- Fixed a bug where you could drop more items than you're holding.
- Fixed a UI issue with turn in steps not rendering as completed.