16austin16 Posted June 20, 2016 Report Posted June 20, 2016 How can i get the new websession cookies after they expire? e.x. so i can confirm trades. The only way i know it to basically restart the bot daliy. Quote
Dr. McKay Posted June 20, 2016 Report Posted June 20, 2016 https://github.com/DoctorMcKay/node-steam-user#weblogon Quote
16austin16 Posted June 21, 2016 Author Report Posted June 21, 2016 Ive been running it for a while and now im getting ReferenceError: webLogOn is not defined Quote
16austin16 Posted June 21, 2016 Author Report Posted June 21, 2016 function checkConfirmations(steamcommunityMobileConfirmations){ steamcommunityMobileConfirmations.FetchConfirmations((function (err, confirmations) { if (err) { console.log(err); clearInterval(depowith); //To Stop These Loops clearInterval(checkconf); //Restarts Loop In webLogOn Event webLogOn(); return; } if(confirmations.length != 0) { console.log('steamcommunityMobileConfirmations.FetchConfirmations received ' + confirmations.length + ' confirmations'); } if ( ! confirmations.length) { return; } steamcommunityMobileConfirmations.AcceptConfirmation(confirmations[0], (function (err, result) { if (err) { console.log(err); return; } console.log('steamcommunityMobileConfirmations.AcceptConfirmation result: ' + result); }).bind(this)); }).bind(this));} Quote
Dr. McKay Posted June 21, 2016 Report Posted June 21, 2016 You can't just call webLogOn(), you need to call it as a method of a SteamUser object. 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.