jafix Posted March 7, 2017 Report Posted March 7, 2017 manager.on('newOffer', function (offer) { console.log('New offer from ' + offer.partner.getSteamID64()); tradelog.info('Incoming offer from ' + offer.partner.getSteamID64()) if (offer.partner.getSteamID64() === '76561198259000054' || offer.itemsToGive.length === 0) { offer.accept(function (err) { if (err) { console.log('Can not accept offer #'+ offer.id + err.message); } else { console.log('Trade offer #' + offer.id + ' from ' + offer.partner.getSteamID64() + ' accepted'); } }); } else { offer.decline(); console.log('Offer #' + offer.id + 'sent by ' + offer.partner.getSteamID64() + ' declined, is not a gift/owner offer') } }); This the script i currently have. When i send an gift offer, it gets accepted and logged correctly. But when I send an offer from my main account (I'm sure the steamid64 is right) it logs in the console it got accepted, doesn't give an error. But if i look at Steam the offer isn't aaccepted. Quote
jafix Posted March 7, 2017 Author Report Posted March 7, 2017 I just noticed this should've been in the steam-tradeoffer-manager section Quote
Dr. McKay Posted March 8, 2017 Report Posted March 8, 2017 Are you confirming it if you're trying to take items from the bot? Quote
jafix Posted March 8, 2017 Author Report Posted March 8, 2017 I do the confirmations using steam desktop authenticator, but i forgot to run the program. so it works now Quote
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.