Bot fails trades after 30 minutes -1 Hour
diaper21 opened this issue · 10 comments
Expected behavior
Bot to work until told to stop
Actual behavior
Bot will stop sending trades after 30 minutes to a hour and give no back end error message. Only front-end {}. Will fix on restart and repeat breaking after 30 minutes.
Steps to reproduce the behavior
Start the bot, let it run for 30 minutes to a hour, try to send trade you get error {} on the front end but none in the back end.
Other
Bot works perfectly for 30 minutes to a hour and will stop sending trades. Been using this script for a year now and it just started happening, This is happening on the vanilla code with no changes.
This script has not been updated in 7 months. Steam made a huge update a few months ago, that made CS:GO trading a waste of time.
Its odd it worked perfectly fine until last week then started getting this error (Im using it for another game than CS)
no steam updated something breaking bots and I couldnt find the issue
im going to just disable the reloging system and see if it works
Ok let me know if it works
@diaper21 it does work so far
/lib/bots.js
Just comment everything out in this function >
Trade.prototype.reloadBotSessions = function reloadBotSessions() {
console.log("[Console-Warn] (ReLogs Disabled) Relogged Sessions!")
//const self = this
//Object.keys(self.instances).forEach((id) => {
// self.instances[id].client.webLogOn()
// })
}```
@smitteh1 so I went to the bot.js and put it all the "//" you have, still gives "{}". Any ideas? Help would be greatly appreciated.
No activity since January, Original poster had fixed his problem. Closed.