Closed AtjonTV closed 6 years ago
After changing the botnet.py functions upgradebotnet and upgradesinglebot to the following it started a permanent loop with "Prepare attempting to upgrade bot net PC's
And something else .. i found this code:
elif (int(get_infobot['energy']) > 0): logger.info("your are not energy for update " + hostname + " :(") return False
so whenever the energy is above 0 its not enough (should be fixed)
upgradesinglebot
function didn't have count
parameter.
even with (I called it 'id') its entering a loop "Prepare attempting to upgrade bot net PC's -name- [-what-]"
heres a screenshot:
Ah .. I see where the problem is .. the upgradesinglebot
function just calls itself instead of upgrading (line 150 in botnet.py)
you have change your upgradesinglebot function the original is here https://github.com/OlympicCode/vHackXTBot-Python/blob/master/botnet.py#L135
never use "id" in upgradesinglebotnet
and original upgradebotnet function is here https://github.com/OlympicCode/vHackXTBot-Python/blob/master/botnet.py#L93
Please redownload the bot and run.
As soon as i do i get the error that upgradesinglebot
needs 4 args (line 108 and 150
ok please connect you on discord channel https://discord.gg/EZNjh7t
I was running the bot for 11hrs and now i created a bot net and after i created it i saw that the bot didnt work, i logged into the terminal and i got the same error as below (i cleared the terminal and restarted the bot)