Not working. It has the issue about stucking at login screen.
done .. work bro !!!
Okay guys, I fixed the autorestarter and also amplified it's configuration file. Some images here:
This is the code of the bot (thanks Bigmonty69 for some coords issues I had):
And finally:#Persistent
#SingleInstance
IfNotExist, config.ini
{
content =
(
[Settings]
#Time for closing and opening the bot (ms)
TimeRestart = 1800000
#Complete route of the executable Pokefarmer
PokeFarmerPath =
#Are you using PTC or Google? Leave 1 in the one you use, and 0 in the one you don't.
PTC = 1
Google = 0
#Waiting time after opening the executable (ms)
Delay_Launch_StartBot = 4000
#Waiting time between the bot presses on Login, and the login screen appears (ms)
Delay_Opening_Login_Screen = 12000
)
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_Opening_Login_Screen, config.ini, Settings, Delay_Opening_Login_Screen
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%
WinWaitActive, Update Available
MouseClick, left, 446, 100
Sleep, 1000
WinWaitActive, Pokefarmer
MouseClick, left, 235, 130
Sleep, %Delay_Opening_Login_Screen%
WinWaitActive, Pokefarmer
MouseClick, left, 191, 83
Sleep, 1000
Mouseclick, left, 249, 207
sleep, %TimeRestart%
IfWinExist, ahk_pid %pid1%
WinKill, ahk_pid %pid1%
Sleep, 1000
}
return
^!e::
ExitApp
Download the script file here (you need AHK in order to execute it).
Download the executable here.
Update it and rename old file back to .exe and since they fixed session timeout it shouldnt log out now.. Crack works for newest update https://gyazo.com/4f87efebb21e7bf47cdb3d0232925dc1 https://gyazo.com/dc9fbfb2751a769ca202b4e0b268eb5b
Update bot and then click no to update because it thinks its still 1.0.82 but its updated and shouldnt kick you out anymore so you just need to open it once
@fm365met
if this helped click thanks
yeah i agree with you gotta check back in 30 minutes. Just making assumption because even tho the bottom right corner says 1.0.82 when it's checking for version on the log it says that it is currently 1.0.83 so its weird and on the pokefarm website they said they fixed the session timeout problem
edit: i was wrong its not working my bad it didnt update as i thought it had when it says current version 1.0.83 its bc thats the current version not the one that you have
Last edited by Roberto2397; 08-07-2016 at 06:51 AM.
****, it hit the 30m mark and it blocked again.
Anyway, I got an idea for fixing the logging thing on the bot: renaming the main title window, so the bot detects when the login window appears :P
EDIT: Updated my own Restarter. It now checks if the login screen has loaded, and then performs the login procedure (doesn't wait random time until it opens, it actually acts when the window opens).
I also added some log actions to the system tray, so you know what is the bot doing, and WHICH one is acting (incase you have multiple instances like me).
New config file is LegnaxConfig.ini (you can keep my restarter or fm365met's restarter. They won't mess one each other).
Download the script file here (you need AHK in order to execute it).
Download the executable here.
Please let me know if you have any issue with it. The author of this post can use and upload my script if he wants, and also modify it if he feels like it. It's his work after all :P
Last edited by Legnadrak; 08-07-2016 at 07:12 AM.
If you read my last comment, I putted that because I was checking what Roberto said on his last message:
"yeah i agree with you gotta check back in 30 minutes. Just making assumption because even tho the bottom right corner says 1.0.82 when it's checking for version on the log it says that it is currently 1.0.83 so its weird and on the pokefarm website they said they fixed the session timeout problem"
It's not fixed, and that's why I released my restarter version that works pretty good.
Already testing with 8 simultaneous bots, 8 restarters opened at the same time, with a delay of 1 minute between one and another. Already restarted all bots 2 times without stucking or messing one over another.
I started the auto Restarter, but the tool only opened my folder and did nothing after that, help please, thank you
my cursor stucked between Google and PTC login, how do you fix it? thank you in advance