Thank you @dew1960 for providing so much details about how mission running works. Good to have this information when working on a bot.
I remember the agent dialogue contained a warning if declining a mission would lead to a standing loss. Is this not the case anymore?
I did some searching in the source code of the old mission running bot and found the relevant part, a regex pattern to search in the text displayed in the agent dialog:
With this regex pattern, the remaining time was also extracted, so you even knew how many minutes until you can decline a mission from the agent again without standing loss.
Why am I writing this you might wonder?
To make the programming simpler:
Programming the not more often than every four hours part means more complexity in the bot. To support this, we would need to know when the last decline was. But, if we can depend on the text displayed in the UI instead, we don’t need even need this, it’s simpler.
I am working on obviating the need to learn C# at all, to make the development experience more enjoyable.
The error in the screenshot looks like some strange character was inserted at the start of the file Main.elm. Seeing this, I guess that some error happened during the transmission of that file.
Mid-term, I think this kind of problem can be avoided by adding functionality to use GitHub URLs with --bot-source, so that the botengine console takes care of the downloading process.
Thanks @n2o for posting your observation.
The error I see in the screenshot indicates the problem happened during execution of that method:
I suspect the error happened in the branch which fetches the blob from the network. (After it has searched the local files and did not find the specific requested file). This problem could be caused by an unstable network connection, but I have not yet reproduced this error.
This error looks like:
Happens before the bot is even started. Happens when trying to compile the bot code.
Is independent of the bot code. As long as it fails in this place, it will fail with any other bot too.
Probably the next step for me is to expand the code to propagate more details. Maybe we can add a more helpful error message when the network connection does not work at all.
For your specific case, we can probably solve it by downloading the particular requested file and place it in the cache directory in the file system. Once the program finds the file in there, it does not even need to attempt to download it from the network.
In case Windows has blocked network connections for the botengine.exe process, this problem could be resolved by configuration in Windows.
Thats right, no need to learn C#. Learning Elm is necessary for some parts of bot development. If you want to develop a complete bot from scratch, then you need to learn Elm.
For example, for the part of bot development that is selecting and annotating screenshots, Elm is not required.
Well its runing in the cmd, and it gives me the info the bot is running and trying to do its job, but it not clicks in the client.
I need to configure for my self?
or it needs something else?
Where can I find a screenshot of the game client at that moment? What is the location of the pixel where the bot should click?
If the bot does not click where it should, we describe the problem using such an annotated screenshot.
You can upload your screenshot to imgur.com to share it here.
And its the same with the courier bot, the bot is running but not clicking nowhere in the window, and gets the same message : geting mission, undocking, travel finish, ect…
But do nothing in EVE.
Thanks
I think the problem is that the bot not using the memory reading, its running but no iteraction with the game, the auto warp is working well with 32bit client.
Any suggestion?
well i get some more info for you
If i use the 2019-06-18 - botengine console the its not reading the memory.
if i use the 2019-08-14 botengine console then i get this error message.