AutoRestarter for PokeFarmer menu

User Tag List

Page 1 of 9 12345 ... LastLast
Results 1 to 15 of 124
  1. #1
    fm365met's Avatar Master Sergeant
    Reputation
    67
    Join Date
    Jul 2016
    Posts
    83
    Thanks G/R
    5/50
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    AutoRestarter for PokeFarmer

    - Information:
    A simple restarter written with ahk to fix the temp issue with pokefarmer stop working.

    exe made by ahk can be easily reversed back to .ahk file. for those who worried about virus, i advise you don't even have to download my compiled exe, copy my code, compile it yourself to see if it is identical with mine, 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.
    GMT+10 19:38pm Fixed PTC/Google screen not clicking. version 1.1.1
    GMT+10 20:20pm it seems pokefarmer fix the bug with the latest update so I will keep this restarter as it is now.
    GMT+10 20:40pm version 1.1.2 option to update or not.


    - 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: NOTE: you need to delete your old config.ini file each time you switch to a new version.
    v 1.1.2 add option whether to apply update when there is a new version
    https://mega.nz/#!DUdTSCBD!Zkp4Gx3F1...jVAmYLNeKgJNpw
    if you have already updated your bot to the latest version, please check this link: Cred@Legnadrak
    http://www.ownedcore.com/forums/poke...ml#post3523158 (AutoRestarter for PokeFarmer)

    - History versions:
    v 1.0 Working
    https://mega.nz/#!vQ0TBLYA!_9RjUsXQr...mYARqj3qqHF4AU
    v 1.1 for those who want to set delay for each step
    https://mega.nz/#!fF80yA6I!e8iBpdngO...QMvk8dcf1sFdSw
    v 1.1.1 fix not clicking on PTC/Google screen
    https://mega.nz/#!fI8iVZ6T!8dUzmGJks...SJsxhetb29QRqg


    here is a template how to fill the config.ini
    v1.0
    Code:
    [Settings]
    TimeRestart = 1500000 
    PokeFarmerPath = D:\Pokemon Go\PokeFarmer\PokeFarmer.exe
    PTC = 1
    Google = 0
    v1.1
    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
    Disable_update = 1
    - Issues:
    a. the default is using ptc. if you use google. set ptc=0 and google =1
    b. change the default delay if you find the restarter act too fast.

    AHK 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
    Disable_update = 1
    	)
    	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
    iniRead, Disable_update, config.ini, Settings, Disable_update
    
    if strlen(Disable_update) <1
    	Disable_update := 1
    
    if ptc = 1
    	coordy := 56
    else
    	coordy := 86
    
    
    Loop
    {
    	TrayTip, Starting Service..., Pokefarmer
    	Run,%PokeFarmerPath%,,,pid1
    	sleep,%Delay_Launch_StartBot%
    	if Disable_update = 1
    	{
    		IfWinNotActive, Update
    			WinActivate, Update
    		WinActivate, Update
    		Send, {Tab}
    		Sleep, 50
    		Send, {Space}
    		Sleep, 50
    	}
    	else
    	{
    		ifWinNotActive, Update
    			WinActivate, Update
    		WinActivate, Update
    		Send, {Space}
    		Sleep, 50
    		ExitApp
    	}
    	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
    Last edited by fm365met; 08-07-2016 at 09:15 AM. Reason: working version

    AutoRestarter for PokeFarmer
  2. #2
    alexg1993's Avatar Master Sergeant
    Reputation
    27
    Join Date
    Jul 2016
    Posts
    95
    Thanks G/R
    8/20
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    useful, thank you.

  3. #3
    sagittaru's Avatar Member
    Reputation
    2
    Join Date
    Jul 2016
    Posts
    32
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thank you so muchmuch

  4. #4
    subrand0m's Avatar Active Member
    Reputation
    24
    Join Date
    Aug 2009
    Posts
    93
    Thanks G/R
    0/6
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Could this launch more than 1 bot at a time?

  5. #5
    fm365met's Avatar Master Sergeant
    Reputation
    67
    Join Date
    Jul 2016
    Posts
    83
    Thanks G/R
    5/50
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by subrand0m View Post
    Could this launch more than 1 bot at a time?
    only one at the monment

  6. #6
    baklaforever's Avatar Sergeant
    Reputation
    6
    Join Date
    Jul 2016
    Posts
    57
    Thanks G/R
    23/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thank you very much!
    "TimeRestart = 1500000" is in what unit? sec min ms hr?
    Last edited by baklaforever; 08-07-2016 at 03:20 AM.

  7. #7
    faatnntaaf's Avatar Member
    Reputation
    7
    Join Date
    Aug 2008
    Posts
    54
    Thanks G/R
    1/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    absolute life saver.

  8. #8
    fm365met's Avatar Master Sergeant
    Reputation
    67
    Join Date
    Jul 2016
    Posts
    83
    Thanks G/R
    5/50
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by zkharit View Post
    The mouse goes too high for me and doesnt click the start bot button, how do i fix?
    what's your windows version? see if i can create the same error on my vm

  9. #9
    xthundersz's Avatar Member
    Reputation
    2
    Join Date
    Aug 2016
    Posts
    19
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by fm365met View Post
    - Information:
    A simple restarter written with ahk.


    - 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 ms, and the account type. save and close.
    d. run the restarter again, it will login and restart automatically.


    - Download link:
    https://mega.nz/#!vQ0TBLYA!_9RjUsXQr...mYARqj3qqHF4AU

    For those who want to review the code here is the link: https://github.com/icdance/pkmngoanj...starter_farmer


    here is a template how to fill the config.ini
    Code:
    [Settings]
    TimeRestart = 1500000
    PokeFarmerPath = D:\Pokemon Go\PokeFarmer\PokeFarmer.exe
    PTC = 1
    Google = 0
    about the CODE

    PTC = 1
    Google = 0

    This means im using PTC login? cause 1 = true or 0 = false?

    so if i want to use gmail(google)
    ill make the settings
    PTC = 0
    Google = 1

    Correct?

  10. #10
    J0K3's Avatar Member
    Reputation
    1
    Join Date
    Aug 2016
    Posts
    18
    Thanks G/R
    8/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If i use a google account Google=0 or Google=1 ?

  11. #11
    alexg1993's Avatar Master Sergeant
    Reputation
    27
    Join Date
    Jul 2016
    Posts
    95
    Thanks G/R
    8/20
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I got a problem i did exactly as you wrote but the AutoRestarter opens the bot and shows the PTC/Google Login screen but doesn't loggin auto (checked rememeber the password)..?

  12. #12
    Afif's Avatar Member
    Reputation
    2
    Join Date
    Jul 2016
    Posts
    13
    Thanks G/R
    24/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by baklaforever View Post
    thank you very much!
    "TimeRestart = 1500000" is in what unit? sec min ms hr?
    it's 25 minutes

  13. #13
    fm365met's Avatar Master Sergeant
    Reputation
    67
    Join Date
    Jul 2016
    Posts
    83
    Thanks G/R
    5/50
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by baklaforever View Post
    thank you very much!
    "TimeRestart = 1500000" is in what unit? sec min ms hr?
    millisecond

  14. #14
    fm365met's Avatar Master Sergeant
    Reputation
    67
    Join Date
    Jul 2016
    Posts
    83
    Thanks G/R
    5/50
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by xthundersz View Post
    about the CODE

    PTC = 1
    Google = 0

    This means im using PTC login? cause 1 = true or 0 = false?

    so if i want to use gmail(google)
    ill make the settings
    PTC = 0
    Google = 1

    Correct?
    correct

  15. Thanks xthundersz (1 members gave Thanks to fm365met for this useful post)
  16. #15
    TW_Gankdalf's Avatar Banned
    Reputation
    106
    Join Date
    Nov 2014
    Posts
    61
    Thanks G/R
    38/26
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Inb4 infriction/ban from admin. LMAO

Page 1 of 9 12345 ... LastLast

Similar Threads

  1. [Bot] PokeFarmer for Android
    By Schatje in forum Pokemon GO Hacks|Cheats
    Replies: 3
    Last Post: 08-16-2016, 04:12 AM
  2. [Bot] Request for auto restarter for PokeFarmer
    By rowxs in forum Pokemon GO Hacks|Cheats
    Replies: 17
    Last Post: 08-07-2016, 07:06 AM
All times are GMT -5. The time now is 09:38 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search