3urobeat / steam-comment-service-bot

📡 The most advanced Steam Account Manager Bot with mass coordinated comments/likes/favs/follows and plugin support
https://steamcommunity.com/id/3urobeatscommentbot
GNU General Public License v3.0
274 stars 40 forks source link

error after !addfriend #85

Closed qpeckin closed 3 years ago

qpeckin commented 3 years ago

Describe the bug I got the following error after using !addfriend

I3EKXJKc

3urobeat commented 3 years ago

Thanks for reporting, I will look into this. For anyone needing a temporary fix you can disable the limited check:
Go into the bot.js file, go to line 668, and remove this part:

if (controller.botobject[i].limitations.limited == true) {
   logger(`Can't add friend ${args[0]} with bot${i} because the bot account is limited.`) 
   return;
}
3urobeat commented 3 years ago

The check will now be ignored if the bot can't check if the bot account is limited. This should be fine.

3urobeat commented 3 years ago

Fixed in 9aaea39 (Version 2.10.2).

3urobeat commented 3 years ago

Whoops it seem like I made a small mistake which can still cause this error.
The new check only checks for botobject[0] and not for the current iteration (botobject[i]).
This needs to be changed and should resolve the issue completely.

3urobeat commented 3 years ago

Fixed in 7ca8ded for real this time (unless I made a stupid mistake again) (Version 2.10.4).