What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

Heres a little AHK script to use if your PoE likes to crash

powerpc

New Member
Joined
Nov 4, 2012
Messages
38
Reaction score
0
I dont even know how this bot is handling client crashes (not having any issues myself since the new game version, so I am not sure), but I have this little script that checks to see if poe is open, and if it isnt, it opens it.

Put this code into an AHK script and place it in your poe folder and run it from there. If your poe is in a different filepath from mine, just change that. Mostly your settings are the same.

I dont know if the bot program closes when the client crashes because it hasnt happened to me, so maybe I would need to make a script for the bot program too. Would need a dev to chime in on that, or someone who has a crash issue.

I hope this helps someone :)

Code:
#SingleInstance, force

SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.

SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.



iTC_EXE     = C:\Program Files (x86)\Grinding Gear Games\Path of Exile\client.exe

iTC_Path    = C:\Program Files (x86)\Grinding Gear Games\Path of Exile\

iTC_imgName = PathOfExile.exe



loop {

   sleep 45000

   Process, Exist, %iTC_imgName% ; check to see if PoE is running

   If (ErrorLevel = 0) ; If it is not running

      {

      Run, %iTC_EXE%, %iTC_Path%, hide

      }

   Else ; If it is running, ErrorLevel equals the process id for the target program (Printkey). Then do nothing.

      {

      sleep 5

      }

}
 
Back
Top