Jump to content
McKay Development

Recommended Posts

Posted
var offer = manager.createOffer(steamID)
offer.addMyItem(6081859871, 440, 2, 1)
offer.setMessage("Free Scrap !")
offer.send(function(err, status) {
    if (err) throw err
    console.log(status)
})

This is my code, and below is the error i got, i dont get how its not working :V

C:\Users\JingYong-PC\Desktop\Custom bots or in development\steam\node_modules\steam-tradeoffer-manager\lib\classes\TradeOffer.js:255
                throw new Error("Missing appid, contextid, or assetid parameter");
                ^

Error: Missing appid, contextid, or assetid parameter
    at addItem (C:\Users\JingYong-PC\Desktop\Custom bots or in development\steam\node_modules\steam-tradeoffer-manager\lib\classes\TradeOffer.js:255:9)
    at TradeOffer.addMyItem (C:\Users\JingYong-PC\Desktop\Custom bots or in development\steam\node_modules\steam-tradeoffer-manager\lib\classes\TradeOffer.js:167:9)
    at SteamUser.<anonymous> (C:\Users\JingYong-PC\Desktop\Custom bots or in development\steam\start.js:32:8)
    at emitTwo (events.js:106:13)
    at SteamUser.emit (events.js:191:7)
    at SteamUser._emitIdEvent (C:\Users\JingYong-PC\Desktop\Custom bots or in development\steam\node_modules\steam-user\components\utility.js:29:12)
    at SteamUser._handlers.(anonymous function) (C:\Users\JingYong-PC\Desktop\Custom bots or in development\steam\node_modules\steam-user\components\chat.js:281:9)
    at SteamUser._handleMessage (C:\Users\JingYong-PC\Desktop\Custom bots or in development\steam\node_modules\steam-user\components\messages.js:216:29)
    at emitThree (events.js:116:13)
    at CMClient.emit (events.js:194:7)
Press any key to continue . . .

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...