NecroBot
NecroBot copied to clipboard
Issue when switching account in necrobot
Hello Guys, I have following Issue. I use 5 accounts an necrobot and set up Runtimeswitch by 15 minutes. The bot then switches after 15 min correctly and all 5 accounts playing 15 minutes. But the time played will always charged to account1, despite which account has run. The bot then never switched again to account 1 !!!, because this is the account which seems to be has the most running time. But this is wrong (all should have the same runnig time). This Issue appeares to me since bot version v1.0.0.99 Never faced that issue before in previous versions.
Now I am forced to use v1.0.0.102 and still having this issue.
Expected Behavior after 5 switches a 15 minutes:
[13:01:54] (INFO) account 1(Level: ??) Runtime : 00:00:15:00 [13:01:54] (INFO) account 2(Level: ??) Runtime : 00:00:15:00 [13:01:54] (INFO) account 3(Level: ??) Runtime : 00:00:15:00 [13:01:54] (INFO) account 4(Level: ??) Runtime : 00:00:15:00 [13:01:54] (INFO) account 5(Level: ??) Runtime : 00:00:15:00
Actual Behavior:
[13:01:54] (INFO) account 1(Level: ??) Runtime : 00:01:15:00 [13:01:54] (INFO) account 2(Level: ??) Runtime : 00:00:00:00 [13:01:54] (INFO) account 3(Level: ??) Runtime : 00:00:00:00 [13:01:54] (INFO) account 4(Level: ??) Runtime : 00:00:00:00 [13:01:54] (INFO) account 5(Level: ??) Runtime : 00:00:00:00
Your config.json:
"MultipleBotConfig": { "RuntimeSwitch": 15, "OnLimitPauseTimes": 10, "OnRarePokemon": false, "MinIVToSwitch": 99.0, "EXPSwitch": 25000, "PokestopSwitch": 500, "PokemonSwitch": 200, "PokemonPerHourSwitch": 100, "StartFromDefaultLocation": true, "PokestopSoftbanCount": 5, "DisplayList": true, "SelectAccountOnStartUp": false, "CatchFleeCount": 5, "SwitchOnCatchLimit": true, "SwitchOnPokestopLimit": true
Version: v1.0.0.99 -102
fix in #864
Thank you for your work samuraitruong, but I guess the fix did not work as it should. Still most of the runtime will be logged to the same one account, but not to the account who has really played.
After switching 5 times (each run 10 minutes), logged runtime look like this: [11:22:08] (INFO) account1 Runtime : 00:00:44:00 [11:22:08] (INFO) account2 Runtime : 00:00:03:00 [11:22:08] (INFO) account2 Runtime : 00:00:02:00 [11:22:08] (INFO) account4 Runtime : 00:00:01:00 [11:22:08] (INFO) account5 Runtime : 00:00:00:00
I thought it work, you need delete accounts.db file and leave it run for awhilte, if problem were solved then you can close this later. thanks
I will do this and report the results. Thanks
https://github.com/Necrobot-Private/NecroBot/pull/909 should be fixed now
I tested the new fix. I played 5 accounts with 3 minutes switch and I can say so far it is not working correctly. It seems the account who has played logged the correct time, but the time will also charged to another account after the first two switches. This wrong time log is every time for the same account and account4 in my test. I deleted accounts.db before testing. This are the Results:
[12:15:36] (INFO) account1(Level: ??) Runtime : 00:00:00:00 [12:15:36] (INFO) account2(Level: ??) Runtime : 00:00:00:00 [12:15:36] (INFO) account3(Level: ??) Runtime : 00:00:00:00 [12:15:36] (INFO) account4(Level: ??) Runtime : 00:00:00:00 [12:15:36] (INFO) account5(Level: ??) Runtime : 736378:490930:55:00 (Is this correct?) [12:15:37] (UPDATE) Perfect! You already have the newest Version 1.0.0.114 [12:15:37] (INFO) Logging in using Google account1 .... [12:18:59] (ATTENTION) Switch bot account activated by : Runtime - 3.4 [12:18:59] (INFO) Switching to account4... [12:18:59] (INFO) account5(Level: 7) Runtime : 00:00:00:00 [12:18:59] (INFO) account1(Level: 7) Runtime : 00:00:03:00 (correct!) [12:18:59] (INFO) account2(Level: ??) Runtime : 00:00:00:00 [12:18:59] (INFO) account3(Level: ??) Runtime : 00:00:00:00 [12:18:59] (INFO) account4(Level: ??) Runtime : 00:00:00:00 [12:18:59] (INFO) Logging in using Google account4 ... [12:22:06] (ATTENTION) Switch bot account activated by : Runtime - 3.1 [12:22:06] (INFO) Switching to account3... [12:22:06] (INFO) account4(Level: 6) Runtime : 00:00:03:00 (correct!) [12:22:06] (INFO) account1(Level: 7) Runtime : 00:00:03:00 [12:22:06] (INFO) account5(Level: 6) Runtime : 00:00:00:00 [12:22:06] (INFO) account2(Level: ??) Runtime : 00:00:00:00 [12:22:06] (INFO) account3(Level: ??) Runtime : 00:00:00:00 [12:22:06] (INFO) Logging in using Google account3 ... [12:25:15] (ATTENTION) Switch bot account activated by : Runtime - 3.2 [12:25:16] (INFO) Switching to account2... [12:25:16] (INFO) account4(Level: 5) Runtime : 00:00:06:00 (should be 3 not 6) [12:25:16] (INFO) account1(Level: 7) Runtime : 00:00:03:00 [12:25:16] (INFO) account3(Level: 5) Runtime : 00:00:03:00 (correct!) [12:25:16] (INFO) account5(Level: 6) Runtime : 00:00:00:00 [12:25:16] (INFO) account2(Level: ??) Runtime : 00:00:00:00 [12:25:16] (INFO) Logging in using Google account2 ... [12:28:46] (ATTENTION) Switch bot account activated by : Runtime - 3.5 [12:28:46] (INFO) Switching to account5... [12:28:46] (INFO) account4(Level: 4) Runtime : 00:00:08:00 (should be 3) [12:28:46] (INFO) account1(Level: 7) Runtime : 00:00:03:00 [12:28:46] (INFO) account2(Level: 4) Runtime : 00:00:03:00 (correct) [12:28:46] (INFO) account3(Level: 5) Runtime : 00:00:03:00 [12:28:46] (INFO) account5(Level: 6) Runtime : 00:00:00:00 [12:28:46] (INFO) Logging in using Google account5 ... [12:32:00] (ATTENTION) Switch bot account activated by : Runtime - 3.2 [12:32:00] (INFO) Switching to account3... [12:32:00] (INFO) account4(Level: 4) Runtime : 00:00:10:00 (should be 3) [12:32:00] (INFO) account5(Level: 4) Runtime : 00:00:04:00 (correct) [12:32:00] (INFO) account1(Level: 7) Runtime : 00:00:03:00 [12:32:00] (INFO) account2(Level: 4) Runtime : 00:00:03:00 [12:32:00] (INFO) account3(Level: 5) Runtime : 00:00:03:00 [12:32:00] (INFO) Logging in using Google account3
Still wrong somewhere