MrPandeu Posted May 10, 2018 Report Share Posted May 10, 2018 Hello,What is `version` in `json_tradeoffer` from form of tradeoffer? `node-steam-tradeoffer-manager` have set on 4 (https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/blob/master/lib/classes/TradeOffer.js#L297). I checked it while sending offers on steam. If I sent item for friend, `version` is equeal 2, but If I sent offer "item for item" and "nothing for their item", `version` is equeal 3. Any ideas? makcc666 1 Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted May 10, 2018 Report Share Posted May 10, 2018 It means nothing. It's a remnant from real-time trades where every time the trade updates, that's a new "version". Quote Link to comment Share on other sites More sharing options...
makcc666 Posted May 24, 2018 Report Share Posted May 24, 2018 (edited) This is the script from the number of added \ deleted items (initial value 1). Check original script: https://steamcommunity-a.akamaihd.net/public/javascript/economy_tradeoffer.js?l=english UpdateTradeStatus: function() { g_rgCurrentTradeStatus.version++; RefreshTradeStatus( g_rgCurrentTradeStatus ); }, Called within these two functions:: "RemoveItemFromTrade" and "SetAssetOrCurrencyInTrade". Edited May 24, 2018 by makcc666 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.