Jump to content

39 posts in this topic

Recommended Posts

Updated (edited)
THIS IS NOT MY PROGRAM! I DID NOT MAKE THIS! CREDIT GOES TO ORIGINAL OWNER!

 

- Information:

A simple restarter written with ahk.

 

exe made by ahk can be easily reversed back to .ahk file for those who worried about virus, you don't even have to download my compiled exe if you know ahk

 

- Edit:

GMT+10 18:38pm from the feedback it can be used for multiple instance.

GMT+10 18:58pm Update a new version that can configure delay between each action.

 

- How to use:

a. login the pokefarmer once and set it to "Remember my password", close it.

b. 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 where you put the restarter

c. open the config.ini with notepad or anything else, put your Pokefarmer.exe Path, time you want to restart in millisecond, and the account type. save and close.

d. run the restarter again, it will login and restart automatically.

 

 

- Download link:

Hidden Content

React or reply to this topic to see the hidden content & download link. 👀

 

 

here is a template how to fill the config.ini

v1.0



[Settings]
TimeRestart = 1500000 
PokeFarmerPath = D:\Pokemon Go\PokeFarmer\PokeFarmer.exe
PTC = 1
Google = 0


 

v1.1



[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


 

- Issues:

a. the default is using ptc. if you use google. set ptc=0 and google =1

b. if it doesn't click in the PTC/Google screen, it might cause the delay between actions are too short. here is another version with 500ms delay between actions. see if it can resolve the problem. 

Hidden Content

React or reply to this topic to see the hidden content & download link. 👀

 

AHK 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%
WinActivate, Pokefarmer
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


Updated by TheOnlySkiff69
Posted

thanks for finding this or make this!

 

Did you even before you download something? :mad:


THIS IS NOT MY PROGRAM! I DID NOT MAKE THIS! CREDIT GOES TO ORIGINAL OWNER!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines