-
-
Notifications
You must be signed in to change notification settings - Fork 30
Bot No Longer Detects that the Game is Running. #138
Comments
Eventually, it times out and displays, [1575346009.000][SEVERE]: Timed out receiving message from renderer: 299.226 |
Oh, and sometimes it will find the game element, but doesn't actually do anything. Attempts to 'do raid' forces the raid with zero change. Then it just times out again. |
When this is happening, how many Chromium instances is the bot running? Can you check that it is only one? |
ilpersi: Only one instance of Chromium is running on the desktop. |
I had a similar issue earlier and had the idea to delete the 'chrome_profile' folder. Reran init.bat, and now it seems to be working without issue. |
Good to hear, I'll add that fix to the frequent issues list |
I am having similar issues and this is happening when Chrome crashes. In those circumstances, the bot throws a timeout error and the Chromium windows become unresponsive, so when the bot tries to reboot two windows are present. |
Recently I'm having a resurgence of this issue. The bot will crash, and appears to dissociate from chromium. So, I only have one (1) window, but it never recovers from what seems like frequent crashes. java.lang.Thread.getStackTrace(Unknown Source) |
I've had similar issue recently as I've been having internet issues, after a crash (due to no connection) and restart the bot doesn't reassociate with the open chrome session, and hangs. |
I think I've figured out what triggers the frequent crashes I was having. Any time the bot couldn't read a value, due to hover text from alerts/notifications/etc, it would be unable to recover and time-out. Then, when it attempted to restart, it couldn't re-associate with the new window. |
Timeout is exactly the issue and I've put some code to manage it but it seems it is not effective. The issue is that when I timeout is triggered, it seems that the bound between the bot and Chrome is broken and there is no way to restore it. One question: when you get this kind of error, the bot should create a screenshot with the error. What do you see in that screenshot? Is it just the bot window or the whole desktop? Thank you. |
Just the bot window.
|
Alright. I'll look into it when I get an opportunity.
…On Thu, Jan 2, 2020, 09:36 Lorenzo Persichetti ***@***.***> wrote:
@MWEckert <https://github.com/MWEckert> The new v44pr1
<https://github.com/ilpersi/BHBot/releases/tag/v44pr1> has some
improvements on this issue even if they can not be considered a final
solution: can you have a test with it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#138?email_source=notifications&email_token=ALU25QW33KD775ULQT3IIE3Q3X3YXA5CNFSM4JURQ6CKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH6PJYY#issuecomment-570225891>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALU25QVUHTPEQLQTG6WLNTDQ3X3YXANCNFSM4JURQ6CA>
.
|
@MWEckert how is it going? This is not happening anymore for me lately |
It's not as frequent, but it still happens. It seems there's a fairly large
chance when it resets to dissociate with chromium.
…On Fri, Jan 31, 2020, 01:36 Lorenzo Persichetti ***@***.***> wrote:
@MWEckert <https://github.com/MWEckert> how is it going? This is not
happening anymore for me lately
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#138?email_source=notifications&email_token=ALU25QUYQEZWZQA2EDZH7MLRAPPHJA5CNFSM4JURQ6CKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKN5K2I#issuecomment-580638057>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALU25QWCM7UHU3OMWSZSSWTRAPPHJANCNFSM4JURQ6CA>
.
|
Can you please add the It is not a fix, but it will run BH without the Kongregate interface consuming fewer resources. For me it seems to reduce the issues. |
I'll give it a try.
…On Fri, Jan 31, 2020, 12:09 Lorenzo Persichetti ***@***.***> wrote:
Can you please add the useDoNotShareURL 1 parameter to your settings.ini
and try again?
It is not a fix, but it will run BH without the Kongregate interface
consuming fewer resources. For me it seems to reduce the issues.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#138?email_source=notifications&email_token=ALU25QRN6EZG455U67HA2ODRARZQDA5CNFSM4JURQ6CKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKPV3AA#issuecomment-580869504>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALU25QTN2PCLMNFZZDWGJFTRARZQDANCNFSM4JURQ6CA>
.
|
@MWEckert do you have any feedback on how it is going? |
Zero noticeable change.
…On Sat, Feb 1, 2020, 14:22 Lorenzo Persichetti ***@***.***> wrote:
@MWEckert <https://github.com/MWEckert> do you have any feedback on how
it is going?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#138?email_source=notifications&email_token=ALU25QRXG6IIOVCKKGHZIBTRAXRZZA5CNFSM4JURQ6CKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKRG6UQ#issuecomment-581070674>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALU25QUHINVG4F3LWDUTZR3RAXRZZANCNFSM4JURQ6CA>
.
|
I reviewed the code once more and at the moment there is nothing I am able to change to fix this so I will mark this as wont fix. I am sorry about this. I can only say that the latest version is pretty stable for me: I have it running from more than a week with no issues so far |
I don't know what, if anything, changed, but I've been a lot more stable.
Haven't had an issue since the newest version went live.
…On Tue, Feb 11, 2020, 14:51 Lorenzo Persichetti ***@***.***> wrote:
I reviewed the code once more and at the moment there is nothing I am able
to change to fix this. I am sorry about this so I will mark this as wont
fix.
I can only say that the latest version is pretty stable for me: I have it
running from more than a week with no issues so far
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#138?email_source=notifications&email_token=ALU25QRCR4YR55X3DBFQ3WLRCMMXLA5CNFSM4JURQ6CKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELOG62Y#issuecomment-584871787>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALU25QVKWZYWPJPRTZ2ALUDRCMMXLANCNFSM4JURQ6CA>
.
|
Awesome! Thank you so much.
…On Fri, Mar 20, 2020, 09:57 Lorenzo Persichetti ***@***.***> wrote:
@MWEckert <https://github.com/MWEckert> I encourage you to update to the
new v44.1 <https://github.com/ilpersi/BHBot/releases/tag/v44.1> just
released. If fixes a very long-standing memory leak issue in BHBot core.
Based on my findings, the issue reported in this thread, is affected by
resource availability so this can be one more step to increased stability.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#138 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALU25QRDOHDZD7ZA52X5BI3RIOG5XANCNFSM4JURQ6CA>
.
|
When I try to load the bot, I get the initial text,
21:01:44,898 INFO - BHBot v43 build on Mon Dec 02 20:59:31 MST 2019 started.
21:01:44,902 INFO - GIT commit id: b6d9a70 time: 2019-11-23T22:45:30+0100
21:01:45,484 INFO - Settings loaded from file
21:01:45,485 INFO - Character:
21:01:46,602 INFO - Bot started successfully!
Starting ChromeDriver 2.44.609538 (b655c5a60b0b544917107a59d4153d4bf78e1b90) on port 19019
Only local connections are allowed.
And then nothing. I've tried everything but a complete reinstall of chromedriver/chromium. IT was happening sporadically in a previous version, but I would just type 'reset' and it would normally pick it back up. Now I get nothing.
The text was updated successfully, but these errors were encountered: