Jump to content
McKay Development

Recommended Posts



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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...