Viir / bots

Programming bots to play video games

Home Page:https://botlab.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BOTs do not detect message box "set quantity"

focabr opened this issue · comments

I don't know if this problem is old or not, when the BOT is moving ore from the mining hold to the fleet hangar and it is full, a message box appears and the BOT is not detecting this message box.

I am sent to email session-recording-2023-01-31T22-56-25 and a small video.

image

Reading this message box will be a new feature. You were the first to collect the training data.
Thank you for that 👍

Today I got around to looking into 'session-recording-2023-01-31T22-56-25'
The program code already covers the dialog window you see there. You can also see that in the status text for event 555:

image

Here we can see the bot detected the label 'OK' on one of the buttons.

A bug in the framework caused it to select the wrong effect in event 554.
This bug caused the drag&drop effect we can see in the video.
We fixed this bug in the meantime, and you can get the new framework from https://github.com/Viir/bots/tree/67affdc9b2a099510319a2169d29d66182543fec/implement/applications/eve-online/eve-online-mining-bot

I updated the "botlab client v2023-02-10" and also the "bot version 2023-02-08" before running the tests again, both are now in the latest version.

Running the bot the same problem happens, I recorded a new session-recording only now smaller. I sent an email to support@botlab.org. (session-recording-2023-02-11T13-14-56.zip)

When you are analyzing the session-record, you will notice that after event 399 the pattern changes, this happened because I manually clicked the OK button.

If you think it's necessary, I can record a new video and send it to you, I didn't because the bot did exactly the same thing as before.

Thanks again for your help.

In session-recording-2023-02-11T13-14-56, we have a new situation: In event 363, we see the UI element is now contained in a new container of type 'HybridWindow'. The change of the labels from 'MessageBox' to 'HybridWindow' in the game client was why the bot did not interpret that node as a message box.

image

I updated the examples here: 65808b8

This commit updated the parsing up to the button group. Since the button group is now available in the memory reading parsing of individual buttons should work as with the other kinds of message boxes before.

Viir,

Excellent, it worked perfectly!

Sorry for the delay I had tested it, I missed updating and closing here.

Awesome!