Closed namanchikara closed 4 years ago
I checked into commit f3c9cd3
and now I'm able to get past this. Although I'm now able to log into bot accounts, I'm getting timeout
error in all commends.
Note that I'm using the same above-mentioned config. Also, I'm using AWS EC2 to do all this, hence bandwidth is not an issue.
[ACCOUNT_NAME] Failed to commend (20/20) {
name: 'Error',
message: 'Failed to send message: Timeout',
stack: 'Error: Failed to send message: Timeout\n' +
' at Timeout._onTimeout (/home/ubuntu/commend-bot/helpers/GameCoordinator.js:161:12)\n' +
' at listOnTimeout (internal/timers.js:531:17)\n' +
' at processTimers (internal/timers.js:475:7)'
}
TypeError: Cannot read property 'accountid' of null
This happens when the account successfully logs into Steam but then suddenly loses connection to Steam afterwards.
TypeError: Cannot read property 'accountid' of null
This happens when the account successfully logs into Steam but then suddenly loses connection to Steam afterwards.
@BeepIsla But then how am I able to get past it by checking out into f3c9cd3
this commit from Nov 23?
Also, How can I fix timeout issue?
I don't know, but I know that 2.2.6
(f3c9cd3) causes timeout issues because Valve tried patching it which was then fixed in 2.8.0
So, I've tried like 10 times on latest commit but everytime I get TypeError: Cannot read property 'accountid' of null
, Can please suggest a way or where/what I can look into to get going?
Are fetcher
and account
/target
the same account?
@BeepIsla Yes, both are same.
That's your problem, one time it logs into the account as target, the other it logs into the account as fetcher, invalidating the previous session the bot had as target. You cannot have both the same, generate an account and put it as fetcher, all you need.
YES! That was it, this fixed it. Thanks a ton, man!
Detailed bug description I'm able to login to my account, but after that, I get the below-given error.
I've tried both
SERVER
andLOGIN
method. Getting the same error. Account and fetcher are given the same details.Privacy is set to the public. (You can check via target acc given in config if you want.)
Error
Config
Version
v12.9.1
(You can find this usingnode -v
)2.10.0
(You can find this in yourpackage.json
file underversion
)