Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

8 Pages<1234>»
[TOOL] Ranger Crash Recovery
Jammo2k5
#23 Posted : Monday, March 2, 2015 10:26:42 AM(UTC)
Jammo2k5


Rank: Advanced Member

Groups: Registered
Posts: 77
Location: UK

Thanks: 11 times
Was thanked: 48 time(s) in 28 post(s)
ejje;24162 wrote:
How do you make to recognize the game crash? I test forcing close of game when bot is running but do nothing. The Oijkn version relaunch bnet and HR multiple times and crash game and loop this sequence. I hope this will help, i think i miss any config to get this work.


It reads the last 20 lines of the log files created by hearthranger every 2 seconds. Checks for key phrases and takes an action if found.
It should delete the log files every start to make sure it is accessing the right ones.

Can you test a few things for me?
Stop the bot with the stop button while my script is running to see if it closes the game and restarts them?
Send me a screenshot of the hearthranger while stopped so i can see the log.

Thanks.
Jammo2k5
#27 Posted : Monday, March 2, 2015 10:43:42 AM(UTC)
Jammo2k5


Rank: Advanced Member

Groups: Registered
Posts: 77
Location: UK

Thanks: 11 times
Was thanked: 48 time(s) in 28 post(s)
Also Oijkn. I think silver.exe needs to be run in its own directory
I have modified my code to run every program in its own path now and should be ok.
Also what was your fix for running silver.exe?

And you are free to help on this project just show me your working so i can incorperate it into the build.
oijkn
#28 Posted : Monday, March 2, 2015 1:24:22 PM(UTC)
oijkn


Rank: Advanced Member

Groups: HSModerator, Registered
Posts: 472
Man
Location: 127.0.0.1

Thanks: 76 times
Was thanked: 271 time(s) in 93 post(s)
Jammo2k5;24172 wrote:
Also Oijkn. I think silver.exe needs to be run in its own directory
I have modified my code to run every program in its own path now and should be ok.
Also what was your fix for running silver.exe?

And you are free to help on this project just show me your working so i can incorperate it into the build.


Hi Jammo2k5,

Yes I can participate at this project with pleasure !

Have you added the 'Run As Admin" in the script ?
Have you added the option to close Battle.net after loading the game ?

The silver.exe is running in his owner directory but it doesn't calculate the board (very strange). I'm still searching a fix for that.

Regards.
Jammo2k5
#29 Posted : Monday, March 2, 2015 3:27:22 PM(UTC)
Jammo2k5


Rank: Advanced Member

Groups: Registered
Posts: 77
Location: UK

Thanks: 11 times
Was thanked: 48 time(s) in 28 post(s)
oijkn;24174 wrote:
Hi Jammo2k5,

Yes I can participate at this project with pleasure !

Have you added the 'Run As Admin" in the script ?
Have you added the option to close Battle.net after loading the game ?

The silver.exe is running in his owner directory but it doesn't calculate the board (very strange). I'm still searching a fix for that.

Regards.


All of that has been done. I need to know how the silver exe is used and how to set it up as i have never used it.
oijkn
#30 Posted : Monday, March 2, 2015 3:31:07 PM(UTC)
oijkn


Rank: Advanced Member

Groups: HSModerator, Registered
Posts: 472
Man
Location: 127.0.0.1

Thanks: 76 times
Was thanked: 271 time(s) in 93 post(s)
All is explain in this topic but if you have problem i can help you mate :)

Regards.
Jammo2k5
#31 Posted : Monday, March 2, 2015 3:39:16 PM(UTC)
Jammo2k5


Rank: Advanced Member

Groups: Registered
Posts: 77
Location: UK

Thanks: 11 times
Was thanked: 48 time(s) in 28 post(s)
Just setup the exe using the thread. All seems to be working now.

Right now all functions are working for latest beta i sent you in PM... For me they are anyways.
Jammo2k5
#32 Posted : Monday, March 2, 2015 3:55:05 PM(UTC)
Jammo2k5


Rank: Advanced Member

Groups: Registered
Posts: 77
Location: UK

Thanks: 11 times
Was thanked: 48 time(s) in 28 post(s)
Version 1.4.2 up should be stable as everything works A ok for me.
ejje
#33 Posted : Monday, March 2, 2015 7:14:53 PM(UTC)
ejje


Rank: Advanced Member

Groups: Registered
Posts: 34
Man

Thanks: 21 times
Was thanked: 4 time(s) in 4 post(s)
Hi Jammo 2k5, i test 1.4.2 version and when i press start open bnet and do nothing, i guess they have to open game, when i click on play to open hearthsone, HR opens too and play the bot, when i stop HR closes both game and bot, when i click on play again do the same thing, but never open the game by itself :S
Jammo2k5
#34 Posted : Monday, March 2, 2015 8:04:32 PM(UTC)
Jammo2k5


Rank: Advanced Member

Groups: Registered
Posts: 77
Location: UK

Thanks: 11 times
Was thanked: 48 time(s) in 28 post(s)
ejje;24183 wrote:
Hi Jammo 2k5, i test 1.4.2 version and when i press start open bnet and do nothing, i guess they have to open game, when i click on play to open hearthsone, HR opens too and play the bot, when i stop HR closes both game and bot, when i click on play again do the same thing, but never open the game by itself :S


I will update the button detection for battlenet or use alternate methods of clicking it. But for now i need my beauty sleep. Can i ask though do you use dome kind of scaling on windows 8 per chance? as it wont work with that.
1 user thanked Jammo2k5 for this useful post.
ejje on 3/3/2015(UTC)
jowar
#39 Posted : Monday, March 2, 2015 8:20:32 PM(UTC)
Rank: Member

Groups: Registered
Posts: 26
Man
Location: germany

es wäre gut wenn es ein programm gibt das erkennt ob hearthstone sich geschloßen hat und dann hearthstone gleich wieder neu startet und dann den bot startet, so kennt man es zum beispiel von diablo bots

mein HS bot stürzt nachts um 6 ab und startet dann HS nicht neu, muss es selber neu öffnen
oijkn
#40 Posted : Tuesday, March 3, 2015 5:35:13 AM(UTC)
oijkn


Rank: Advanced Member

Groups: HSModerator, Registered
Posts: 472
Man
Location: 127.0.0.1

Thanks: 76 times
Was thanked: 271 time(s) in 93 post(s)
jowar;24186 wrote:
es wäre gut wenn es ein programm gibt das erkennt ob hearthstone sich geschloßen hat und dann hearthstone gleich wieder neu startet und dann den bot startet, so kennt man es zum beispiel von diablo bots

mein HS bot stürzt nachts um 6 ab und startet dann HS nicht neu, muss es selber neu öffnen


Hi,

Please post in English.

@ejje : did you set the link of the hearthstone launcher or the battle.net because it's not the same things, be careful on this detail.

Regards.
Jammo2k5
#41 Posted : Tuesday, March 3, 2015 7:14:02 AM(UTC)
Jammo2k5


Rank: Advanced Member

Groups: Registered
Posts: 77
Location: UK

Thanks: 11 times
Was thanked: 48 time(s) in 28 post(s)
oijkn;24191 wrote:
Hi,

Please post in English.

@ejje : did you set the link of the hearthstone launcher or the battle.net because it's not the same things, be careful on this detail.

Regards.


My girlfriend translated for me and hes asking for the script to start hearthstone same as ejje.

It seems the method i am using to start the game is failing so i will change it to a better method today.
The path he has set must be ok as i have path fail detection built into the code now.

1.4.3 in OP
Jammo2k5
#42 Posted : Tuesday, March 3, 2015 11:24:56 AM(UTC)
Jammo2k5


Rank: Advanced Member

Groups: Registered
Posts: 77
Location: UK

Thanks: 11 times
Was thanked: 48 time(s) in 28 post(s)
1.4.4 up.

Bug fixes and general QOL changes.

I have now and will always be including the source for people who want to look at it or tinker with it.
ejje
#35 Posted : Tuesday, March 3, 2015 11:56:03 AM(UTC)
ejje


Rank: Advanced Member

Groups: Registered
Posts: 34
Man

Thanks: 21 times
Was thanked: 4 time(s) in 4 post(s)
Jammo2k5;24184 wrote:
I will update the button detection for battlenet or use alternate methods of clicking it. But for now i need my beauty sleep. Can i ask though do you use dome kind of scaling on windows 8 per chance? as it wont work with that.


You were right, i changed the scale and finally works.

Thank you.

edit: I did it on 1.4.4
Jammo2k5
#36 Posted : Tuesday, March 3, 2015 11:58:20 AM(UTC)
Jammo2k5


Rank: Advanced Member

Groups: Registered
Posts: 77
Location: UK

Thanks: 11 times
Was thanked: 48 time(s) in 28 post(s)
ejje;24198 wrote:
You were right, i changed the scale and finally works.

Thank you.

edit: I did it on 1.4.4


The recoded 1.4.4 should no longer need scaling turned off. Please test it?
ejje
#37 Posted : Tuesday, March 3, 2015 12:22:54 PM(UTC)
ejje


Rank: Advanced Member

Groups: Registered
Posts: 34
Man

Thanks: 21 times
Was thanked: 4 time(s) in 4 post(s)
Jammo2k5;24199 wrote:
The recoded 1.4.4 should no longer need scaling turned off. Please test it?


I tryed before, and it moves the bnet screen and try to click an inch from the button, i think this move causes the fail on click.
Jammo2k5
#38 Posted : Tuesday, March 3, 2015 12:35:07 PM(UTC)
Jammo2k5


Rank: Advanced Member

Groups: Registered
Posts: 77
Location: UK

Thanks: 11 times
Was thanked: 48 time(s) in 28 post(s)
ejje;24201 wrote:
I tryed before, and it moves the bnet screen and try to click an inch from the button, i think this move causes the fail on click.


I'll see if i can adjust my code to make it work.

Think if i scale with window to its smallest then get window size and work with percentages to get where the mouse should be it should work with scaling too.
oijkn
#43 Posted : Tuesday, March 3, 2015 2:03:55 PM(UTC)
oijkn


Rank: Advanced Member

Groups: HSModerator, Registered
Posts: 472
Man
Location: 127.0.0.1

Thanks: 76 times
Was thanked: 271 time(s) in 93 post(s)
Hi,

Just for report one things happen to me, I noticed when the screen off option is activated in Windows the script don't restart all process (need to be confirmed).

Anyone had the same issue ?

@Jammo2k5 : I will pm you as soon as possible.

Regards.
Jammo2k5
#48 Posted : Wednesday, March 4, 2015 1:11:08 PM(UTC)
Jammo2k5


Rank: Advanced Member

Groups: Registered
Posts: 77
Location: UK

Thanks: 11 times
Was thanked: 48 time(s) in 28 post(s)
1.4.7 up read changelog for details.
siricuticu
#49 Posted : Friday, March 6, 2015 2:47:13 PM(UTC)
Rank: Newbie

Groups: Registered
Posts: 9
Location: Brasil

Thanks: 5 times
Was thanked: 2 time(s) in 2 post(s)
Maybe I´m doing something wrong, but on 1.47 my RangerRecovery isn´t working anymore. When I push Start it opens explorer windows as directed in the path, but not the exe. It stays on "Starting game"
Great Project by the way.

It was working great before this client window
8 Pages<1234>»
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.147 seconds.