AutoRestarter for PokeFarmer
v1.1.2 released! Workaround for the update!
Not my release. Credits to fm365met on a different website.
NOTICE: If not compliant with MPGH rules please take down post. Just trying to help out fellow PokemonGo l337 hax0rz.
Re-starter written in AHK!
How to use:
1. Login into PokeFarmer once and set it to "Remember my password", close it.
2. Download the .exe file from the link and run. The first time you run, it will create a config.ini file in the same folder you put it in (if put on desktop, just create a new folder for it).
3. Open the config.ini with notepad or anything else, put your Pokefarmer.exe Path (e.g. C:\Users\LindaLovelace\Desktop\PokeFarmer\PokeFarm er.patched.exe) , the time you want to restart in milliseconds, and the account type (google or ptc) save and close.
4. Run the Re-starter again, it will login and restart automatically.
Template for settings:
Template for settings for v1.1 (Includes timing delay):
NOTE: Time restart is in milliseconds, so I would use 25 mins because PokeFarmer stops after that time.
I DO NOT TAKE ANY CREDIT FOR THIS RELEASE. ALL RIGHTS TO fm365met !!!!
Original Code:
KNOWN ISSUES:
a. The default setting uses ptc. If you use google, set ptc=0 and google =1
b. If it doesn't click in the PTC/Google screen, it might be because of the delay between actions are too short. Increase delay between actions such as 500 milliseconds to correct issue.
UPDATES:
v1.0 = Original release
v1.1 = Original release + ability to set a delay for each step
v1.1.1 = fix not clicking on PTC/Google screen
v1.1.2 = Fix for autoupdating on Pokefarmer
Virus Scan v1.0:
https://www.virustotal.com/en/file/1...is/1470564500/
https://www.metadefender.com/#!/resu...xtracted/files
Virus Scan v1.1
https://www.virustotal.com/en/file/1...is/1470564756/
https://www.metadefender.com/#!/resu...xtracted/files
Virus Scan v1.1.1
https://www.metadefender.com/#!/resu...xtracted/files
https://www.virustotal.com/en/file/c...is/1470564851/
Virus Scan v1.1.2
https://www.metadefender.com/#!/resu...xtracted/files
https://www.virustotal.com/en/file/d...is/1470609214/
Detects two possible viruses. They are most likely false-positives. I am running this app currently and have also scanned it with AVG and it reads safe.
Not my release. Credits to fm365met on a different website.
NOTICE: If not compliant with MPGH rules please take down post. Just trying to help out fellow PokemonGo l337 hax0rz.
Re-starter written in AHK!
How to use:
1. Login into PokeFarmer once and set it to "Remember my password", close it.
2. Download the .exe file from the link and run. The first time you run, it will create a config.ini file in the same folder you put it in (if put on desktop, just create a new folder for it).
3. Open the config.ini with notepad or anything else, put your Pokefarmer.exe Path (e.g. C:\Users\LindaLovelace\Desktop\PokeFarmer\PokeFarm er.patched.exe) , the time you want to restart in milliseconds, and the account type (google or ptc) save and close.
4. Run the Re-starter again, it will login and restart automatically.
Template for settings:
Code:
[Settings] TimeRestart = 1500000 PokeFarmerPath = C:\Pokemon Go\PokeFarmer\PokeFarmer.patched.exe PTC = 1 Google = 0
Code:
[Settings] TimeRestart = 20000 PokeFarmerPath =D:\Pokemon Go\PokeFarmer_v1.0.82\PokeFarmer\PokeFarmer.patched.exe PTC = 1 Google = 0 Delay_Launch_StartBot = 4000 Delay_StartBot_ChooseAccount = 1500 Delay_ChooseAccount_PTCGoogle = 1000
NOTE: Time restart is in milliseconds, so I would use 25 mins because PokeFarmer stops after that time.
I DO NOT TAKE ANY CREDIT FOR THIS RELEASE. ALL RIGHTS TO fm365met !!!!
Original Code:
Code:
#Persistent
#SingleInstance
IfNotExist, config.ini
{
content =
(
[Settings]
TimeRestart =
PokeFarmerPath =
PTC = 1
Google = 0
Delay_Launch_StartBot = 4000
Delay_StartBot_ChooseAccount = 1500
Delay_ChooseAccount_PTCGoogle = 1000
)
FileAppend, %content%, config.ini
ExitApp
}
iniRead, TimeRestart, config.ini, Settings, TimeRestart
iniRead, PokeFarmerPath, config.ini, Settings, PokeFarmerPath
iniRead, ptc, config.ini, Settings, PTC
iniRead, google, config.ini, Settings, Google
iniRead, Delay_Launch_StartBot, config.ini, Settings, Delay_Launch_StartBot
iniRead, Delay_StartBot_ChooseAccount, config.ini, Settings, Delay_StartBot_ChooseAccount
iniRead, Delay_ChooseAccount_PTCGoogle, config.ini, Settings, Delay_ChooseAccount_PTCGoogle
if ptc = 1
coordy := 56
else
coordy := 86
Loop
{
TrayTip, Starting Service..., Pokefarmer
Run,%PokeFarmerPath%,,,pid1
sleep,%Delay_Launch_StartBot%
IfWinNotActive, ahk_pid %pid1%
WinActivate, ahk_pid %pid1%
WinWaitActive,ahk_pid %pid1%
MouseClick, left, 228, 137, 1
Sleep, %Delay_StartBot_ChooseAccount%
MouseClick, left, 183, %coordy%, 1
Sleep, %Delay_ChooseAccount_PTCGoogle%
Send, {Space}
sleep, %TimeRestart%
IfWinExist, ahk_pid %pid1%
WinKill, ahk_pid %pid1%
Sleep, 1000
}
return
^!e::
ExitApp
a. The default setting uses ptc. If you use google, set ptc=0 and google =1
b. If it doesn't click in the PTC/Google screen, it might be because of the delay between actions are too short. Increase delay between actions such as 500 milliseconds to correct issue.
UPDATES:
v1.0 = Original release
v1.1 = Original release + ability to set a delay for each step
v1.1.1 = fix not clicking on PTC/Google screen
v1.1.2 = Fix for autoupdating on Pokefarmer
Virus Scan v1.0:
https://www.virustotal.com/en/file/1...is/1470564500/
https://www.metadefender.com/#!/resu...xtracted/files
Virus Scan v1.1
https://www.virustotal.com/en/file/1...is/1470564756/
https://www.metadefender.com/#!/resu...xtracted/files
Virus Scan v1.1.1
https://www.metadefender.com/#!/resu...xtracted/files
https://www.virustotal.com/en/file/c...is/1470564851/
Virus Scan v1.1.2
https://www.metadefender.com/#!/resu...xtracted/files
https://www.virustotal.com/en/file/d...is/1470609214/
Detects two possible viruses. They are most likely false-positives. I am running this app currently and have also scanned it with AVG and it reads safe.
