Search the Community
Showing results for tags 'PLAYERUNKNOWNS BATTLEGROUNDS'.
-
var trade = manager.createOffer(steamid); trade.setMessage('ID:' + drop.id + ', Item:' + drop.market_hash_name + ', Steam ID:' + steamid + ', token:' + tradetoken); trade.setToken(tradetoken); trade.addMyItem(drop); console.log(trade) return: TradeOffer { partner: SteamID { universe: 1, type: 1, instance: 1, accountid: 389643249 }, id: null, message: 'ID:21851, Item:Baseball cap, Steam ID:76561198349908977, token:fGUAlI2j', state: 1, itemsToGive: [ { id: '1234567890123456789', //steamid assetid: '1234567890123456789', //steamid appid: 578080, contextid: '2', amount: 1 } ], itemsToReceive: [], isOurOffer: true, created: null, updated: null, expires: null, tradeID: null, fromRealTimeTrade: false, confirmationMethod: null, escrowEnds: null, rawJson: '' } trade.send(function (err, status) { if (err) { logger.error('Bank sendTrade error trade.send'.blue + err); return; } if (status == "sent" || status == "pending") { ... } }) trade.send return error: There was an error sending your trade offer. Please try again later. (26) This error only for PUBG items. CS GO and Dota send without problems. I noticed that the items have a unique id that is 8 characters longer than VS GP and STEAM How to solve this problem? Thank you in advance for your help
- 2 replies
-
- node.js
- node-steam-tradeoffer-manager
- (and 3 more)