-
Member
Request: Tool for change accounts after xxx amount of time or xxx amount of pokemons
Has any got a any tool for auto logout from an account and auto-login to a different one. It will be nice for a rotation between accounts x amount of time or Pokémon's caught,
-
Sergeant
You can do this easily with a batchfile. This will run necrobot1 for 3 hours and stop it and run necrobot2 for 3 hours and loop to beginning.
:start
start c:\necrobot1\necrobot.exe
timeout 10800
taskkill /IM necrobot.exe
start c:\necrobot2\necrobot.exe
timeout 10800
taskkill /IM necrobot.exe
goto start
-
Post Thanks / Like - 2 Thanks
-
Member
Originally Posted by
olofpp
You can do this easily with a batchfile. This will run necrobot1 for 3 hours and stop it and run necrobot2 for 3 hours and loop to beginning.
:start
start c:\necrobot1\necrobot.exe
timeout 10800
taskkill /IM necrobot.exe
start c:\necrobot2\necrobot.exe
timeout 10800
taskkill /IM necrobot.exe
goto start
Good idea.
-
Member
works except doesnt load my settings how do i change it to work please
-
Member
Originally Posted by
hardknoxni69a
works except doesnt load my settings how do i change it to work please
I have the same error...
-
Contributor
Do you guys have a NecroBot in c:\necrobot1\ & c:\necrobot2\?
If not, adjust the path to link to where ever your Bot is located
-
Member
Originally Posted by
Ripper3
Do you guys have a NecroBot in c:\necrobot1\ & c:\necrobot2\?
If not, adjust the path to link to where ever your Bot is located
Yes ripper i adjust the path but if i execute the bot with de .bat file necro doesnt load my data
-
Sergeant
what if you accidentally close the necrobot.exe will it reopen the necrobot again?
-
Corporal
Originally Posted by
olofpp
You can do this easily with a batchfile. This will run necrobot1 for 3 hours and stop it and run necrobot2 for 3 hours and loop to beginning.
:start
start c:\necrobot1\necrobot.exe
timeout 10800
taskkill /IM necrobot.exe
start c:\necrobot2\necrobot.exe
timeout 10800
taskkill /IM necrobot.exe
goto start
dont execute my bot, why
does work here, he open my bot and auto close if my bot dont has config files, auth and config...
but in the paste its ok..
----
GUYS, NOW WORK!!!
:start
cd C:\necrobot01\
start necrobot.exe
timeout 6300
taskkill /IM necrobot.exe
need to go from the paste first...
gl..
Last edited by pemarcos; 08-15-2016 at 06:00 PM.
-
I want do it too...
but dont load my configs, can someone help?
-
Contributor
Originally Posted by
MarshallCountz
I want do it too...
but dont load my configs, can someone help?
Should work now. Original batch file didn't include a directy change, the "/D"
:start
start /D c:\necrobot1\necrobot.exe
timeout 10800
taskkill /IM necrobot.exe
start /D c:\necrobot2\necrobot.exe
timeout 10800
taskkill /IM necrobot.exe
goto start
-
Private
Poke Bot Restarter - Simple .bat script
Code:
@echo off
title Poke Bot Restarter v1.1 [Multi]
mode con: cols=60 lines=11
color 0a
set /a timer = 3600
set /a max_restarts = 5
REM ==========================================================================
:account1
set /a counter = %counter% + 1
cd "C:\Users\Satoshi\Desktop\Release"
start NecroBot.exe
cls
echo ------------------------------------------------
echo // Poke Bot Restarter [Multi]
echo // Author: daisukiCx @ ownedcore.com
echo // Version: 1.1 - 8/16/16
echo.
echo [Message] Account: 1
echo [Message] Restarts: %counter% / %max_restarts%
echo [Message] Bot will restart in %timer% seconds...
echo ------------------------------------------------
timeout /t %timer% >nul
taskkill /f /im NecroBot.exe >nul
if %counter% == %max_restarts% goto done
goto account2
REM ==========================================================================
REM ==========================================================================
:account2
set /a counter = %counter% + 1
cd "C:\Users\Satoshi\Desktop\Release"
start NecroBot.exe
cls
echo ------------------------------------------------
echo // Poke Bot Restarter [Multi]
echo // Author: daisukiCx @ ownedcore.com
echo // Version: 1.1 - 8/16/16
echo.
echo [Message] Account: 2
echo [Message] Restarts: %counter% / %max_restarts%
echo [Message] Bot will restart in %timer% seconds...
echo ------------------------------------------------
timeout /t %timer% >nul
taskkill /f /im NecroBot.exe >nul
if %counter% == %max_restarts% goto done
goto account1
REM ==========================================================================
:done
exit
-
Post Thanks / Like - 1 Thanks
player3 (1 members gave Thanks to daisukiCx for this useful post)
-
Member
Originally Posted by
Ripper3
Should work now. Original batch file didn't include a directy change, the "/D"
Doesnt work for me
-
Member
Works fine with this code:
:start
cd C:\Users\user\Downloads\Release_0_8_6\Release\
start necrobot.exe
timeout 10800
taskkill /IM necrobot.exe
cd C:\Users\user\Downloads\Release_0_8_6 - duplicate\Release\
start necrobot.exe
timeout 10800
taskkill /IM necrobot.exe
goto start
Just change the directory to match yours
-
Member
Originally Posted by
frisck
Works fine with this code:
:start
cd C:\Users\user\Downloads\Release_0_8_6\Release\
start necrobot.exe
timeout 10800
taskkill /IM necrobot.exe
cd C:\Users\user\Downloads\Release_0_8_6 - duplicate\Release\
start necrobot.exe
timeout 10800
taskkill /IM necrobot.exe
goto start
Just change the directory to match yours
Doesnt work ...