Page 2 of 2

Re: Crash Report

Posted: Thu Oct 20, 2011 6:10 am
by lisa
Yup I understand the client will close when you get rid of the crash window, which means there will be a MM sitting there and not attached to a game. If you have multiple MM running though you wouldn't want all of them to detect the crash window and try to close it.

If client crashes then usually bot has some sort of error, I figure we could add into the error function some checks.

so in the start of the error do a

Code: Select all

if player.Name == <UNKNOW> then -- game crashed
yrest(5000) -- rest just to make sure it isn't just in loading screen
if player.Name == <UNKNOW> then
(findWindow("Crash Report"), getWindowClassName("#32770"))
rest(3000)
--some code to start up client
-- some more code to attach MM to that client and contue with WP
end
end
This is of course no way going to be anywhere near the finished code. Instead of the first rest I would probably check the memory for the load screen indicator.

The check for player.Name would probably be better as a check for something in memory, not sure if the memory changes when crashed.

Obviously lots of things to determine.

Re: Crash Report

Posted: Thu Oct 20, 2011 6:27 am
by Hetrix
Didnt understund much of what you said here on your replies, but can this be done or its to complicated?
=)

Re: Crash Report

Posted: Thu Oct 20, 2011 9:15 am
by lisa
I believe anything can be done, given time.

I can tell you it won't happen in a hurry though.

Re: Crash Report

Posted: Thu Oct 20, 2011 4:00 pm
by Hetrix
lisa wrote:I believe anything can be done, given time.

I can tell you it won't happen in a hurry though.
No rush, good luck ;)

Re: Crash Report

Posted: Mon Oct 31, 2011 4:38 pm
by Hetrix
Hey all,

Anything new about Crash Report issue?
*And server maintenance tomorrow 1th October for your information* :)

/ Hx