thomas-crane / famebot

A bot for Realm of the Mad God designed to automate the process of collecting fame.
MIT License
19 stars 12 forks source link

Crashes Often #8

Closed Azukee closed 7 years ago

Azukee commented 7 years ago

Often time it just crashes right out of the blue. Most of the times this happens when just farming fame, and not actually trying to escape from escape or something.

alanbaumgartner commented 7 years ago

Is this krelay crashing or just the famebot stopping?

AldeRoberge commented 7 years ago

I had the same problem and it was K-Relay crashing, maybe a conflict between two plugins

2017-03-23 8:11 GMT-07:00 Alan Baumgartner notifications@github.com:

Is this krelay crashing or just the famebot stopping?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/thomas-crane/famebot/issues/8#issuecomment-288750449, or mute the thread https://github.com/notifications/unsubscribe-auth/AEFAMx-ksf4nSMNy-EaqIaoGvTgacbPpks5roouJgaJpZM4Mmul_ .

Azukee commented 7 years ago

For me it's not K-Relay, it's the actual plugin itself.

alanbaumgartner commented 7 years ago

I found that krelay crashed often when I was using my keyboard. Mostly when I was using shift, control, and alt.

EDIT: This only happened when the famebot was running.

thomas-crane commented 7 years ago

I will have to check this out tomorrow when I'm back at my main computer. Considering that there has also been an update to realm, and that enemy avoidance and several other useful features are implemented or on the horizon, I think I will work on it for a day when I'm back and then make a new release thread on MPGH.

thomas-crane commented 7 years ago

I'm reluctant to close this because a few people have been reporting it but I can't get it to crash even after having it open for 30 min to 1 hour. There are a few exceptions which happen in KRelay which I will investigate but these don't cause a crash for me. Occasionally the flash player crashes but that may or may not be related to the plugin.

Azukee commented 7 years ago

For some reason, this has been happening less on my side as well. Edit: it happened again https://azuki.s-ul.eu/Cc5d4R35 and twice more

these all happened quick after another

alanbaumgartner commented 7 years ago

My flash player crashes still and so does krelay, I am not sure what the causes are but it seems everything crashes but never all at the same time.

thomas-crane commented 7 years ago

Hopefully with the last few commits the plugin will crash less frequently or not at all. It's hard to test this since I seem to only get crashes after running the bot for 1 hour or more

Azukee commented 7 years ago

I might've found a hint to what might be causing the sudden crashes within the plugin itself. I removed the logging code that would log stuff into the textbox on the form, and then the bot ran fine; hours on end, without crashing a single time.

thomas-crane commented 7 years ago

Finally some insight! Thanks so much @AzukiMPGH I'll check this out tonight.

thomas-crane commented 7 years ago

Thanks @AzukiMPGH for finding the cause of this. Closing this because it's now fixed, but I'll open another issue about replacing the logging system