bonnici/node-steam-trash-bot

Trade via website is not working.

Closed this issue · 5 comments

hi the trade via website is not working..i have already set up casperjs and phantom. below are my info in secrets.js. Nothing happens when my bot is being trade using website url or trade url.

exports.secrets = {
username: '',
password: '',
guardCode: 'D7YWH',
profileId: 'http://steamcommunity.com/profiles/76561198135685406/inventory/',
ownerId: '76561198135685406',
hmacSecret: 'hsakldfakfhwifher',
environment: 'windows'
};

Looks like profileId is wrong but that shouldn't affect trade offers. Try uncommenting the this.capture lines in accept-trade-offers.js so you can see whats happening when phantom tries to accept the trade.

ok i will try it. thanks..I also encounter invalid cookie when trade is being sent by the user sometime trade is working fine but sometime it says invalid cookie. how can i fixed this?

Make sure you're not logged in through the website at the same time as the bot is running, when you log in through a browser it invalidates the bot's cookie and when you log in with the bot it will invalidate your browser cookie.

How can i renew again my cookie if invalid cookie appear again? and continue the trade?

Any time the bot calls webLogOn it should get a new cookie.