What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Trying to write a autoit crash restart script

plzrepeat

Member
Joined
May 14, 2013
Messages
271
Hi, I trying to write a crash detect restart poe exe and Exilebuddy with autoit. I need someone to point me to the right direction.
Will donate donate if this is possible. Please pm me.
 
Last edited:
Last edited:
I need some like that as well.
I let the bot working overnight and when I wake up I notice it is still working only once out of 4 times. It's very frustrating when I come to see the bot progress and the game is stuck at logging screen...
If some one please could share a autoit/relogger (here or pm), it would be very appreciated.
Thanks.
 
What's wrong with this?
qezU5pl.png
 
Last edited:
Hi, I trying to write a crash detect restart poe exe and Exilebuddy with autoit. I need someone to point me to the right direction.
Will donate donate if this is possible. Please pm me.

Since you are writing it yourself and just need pointers, you can start here: https://www.thebuddyforum.com/tankleader-forum/tankleader-support/73252-simple-relogger-autoit.html

Its an autoit relogger for World of Tanks. I briefly looked at it and it should be really easy to convert to PoE. Everything is there to create a relogger via autoit for Exilebuddy / PoE.
 
Thanks got it to work.
How did you get it work? if I may ask

so far, I've gotten this to start poe and exilebuddy automatically.

Send("#r") ;
Sleep(2000) ; sleep 2000 ms. 2000 milisecond equals to 2 second
Send("C:\PathofExile\PathOfExile.exe") ; send keyboard strokes
Sleep(1000)
Send("{ENTER}") ; send enter
Sleep(8000)
Send("#r") ; Open "RUN" dialog ( "Windows key" + "r" )
Sleep(2000) ;
Send("D:\Exilebuddy\EB 0.2.4385.200\EB.exe") ;
Sleep(1000)
Send("{ENTER}") ; send enter
Sleep(2000)
Send("^r")
Sleep(18000)
MouseClick("left",857,132)

I need a coder to check if POE and Exilebuddy is running and restart em on crash.
 
Last edited:
How did you get it work? if I may ask

so far, I've gotten this to start poe and exilebuddy automatically.

Send("#r") ;
Sleep(2000) ; sleep 2000 ms. 2000 milisecond equals to 2 second
Send("C:\PathofExile\PathOfExile.exe") ; send keyboard strokes
Sleep(1000)
Send("{ENTER}") ; send enter
Sleep(8000)
Send("#r") ; Open "RUN" dialog ( "Windows key" + "r" )
Sleep(2000) ;
Send("D:\Exilebuddy\EB 0.2.4385.200\EB.exe") ;
Sleep(1000)
Send("{ENTER}") ; send enter
Sleep(2000)
Send("^r")
Sleep(18000)
MouseClick("left",857,132)

I need a coder to check if POE and Exilebuddy is running and restart em on crash.

I don't understand that in 2016 people still don't know how to google things

https://www.autoitscript.fr/autoit3/docs/functions/ProcessExists.htm
 
What does
If ProcessExists("TankLeader.exe") Then
$needWait=1 mean?

Here goes 10mn of my life :

http://puu.sh/qwrz3/12f774c9a3.txt

sample script to restart poe only on crash, edit paths & delay you want.

Working for single clients only, might derp if more are running (2 on same OS... ofc)

restarts if window is closed or hanging, press ESC to exit script
 
Last edited:
Here goes 10mn of my life :

http://puu.sh/qwrz3/12f774c9a3.txt

sample script to restart poe only on crash, edit paths & delay you want.

Working for single clients only, might derp if more are running (2 on same OS... ofc)

restarts if window is closed or hanging, press ESC to exit script
Thank you so much. but where do I add the restart bot part of the program?
 
Last edited:
Can anyone tell me what's wrong with this script with some programming knowledge? POE starts, but Exilebuddy doesn't.


/nvm got it. Thanks Tony.
 
Last edited:
Consider embedding the code betwee
Code:
[ /code] :) also, your working directory is wrong.
 
Lets not reinvent the wheel.

Download this - Download Restart on Crash (google it)

Set to restart the POE client using this launch option --nopatch
Set to restart EB client using this launch option --autostart
 
Progress will never be made if you keep thinking of not re-inventing the wheel. I'm working on teleportation instead of wheels. Progress I say, progress.
 
Back
Top