[release] roid mining bot

01/10/2016 18:36 0ptimist#16
Quote:
Originally Posted by thesaltonsea View Post
I have a problem, it doesnt see the % of the cargo and it just continue mining after the ore hold is full, any ideas ?

edit: got similar problems with the Automine function in the Mission bot, it just opens the ore hold and stays like this, no errors , no undocking.
Which version of the Sanderling.exe are you using? In case it is older than v15.11.19 you should switch to v15.11.19.

The fill level of the ore hold is determined by reading the capacity gauge text displayed in the inventory. Is this correctly displayed in the inventory?
The format used there depends on the number formatting configured in windows. I have implemented support for default formats for english, russian, german, swiss and others but if you use some custom format it might be incompatible.
In any case, you can send me an export of the memory contents to this email address so I can take a closer look at your specific scenario: [Only registered and activated users can see links. Click Here To Register...]
Create the export as shown in this recording, when the ore hold is visible and contains at least one item and the bot fails to read the fill level:
01/11/2016 10:15 thesaltonsea#17
Hmm, i think i found a fix, my system was set up with English(United States) , i have changed it to English (United Kingdom) and now its reading the % normal. There is difference with "." and "," in the numbers of both English types.
01/11/2016 15:01 0ptimist#18
Quote:
Originally Posted by thesaltonsea View Post
Hmm, i think i found a fix, my system was set up with English(United States) , i have changed it to English (United Kingdom) and now its reading the % normal. There is difference with "." and "," in the numbers of both English types.
I could not find a difference between those two windows cultures in regard to the numbers displayed in the eve online client. Can you describe how they differ on your system? Does it not work again when you switch back to English(United States)?
01/11/2016 19:19 thesaltonsea#19
Im not home now but i think that with US was like 5.000.00 and now with UK is 5,000.00 for 5 thousand . I will check tomorrow and will report :)

This was the problem with the Optimat automine, it wasnt undocking but now its working fine :)
04/01/2016 22:45 TheGreenElf#20
I get this error

[
{
"SeverityText": "Error",
"DescriptorId": "CS1061",
"Message": "'string' does not contain a definition for 'ValueFromRegexMatchGroupAtIndex' and no extension method 'ValueFromRegexMatchGroupAtIndex' accepting a first argument of type 'string' could be found (are you missing a using directive or an assembly reference?)",
"LineIndex": 367,
"CharacterIndexInLine": 14,
"LineIndexInAvalonEdit": 368,
"CharacterIndexInLineInAvalonEdit": 15
}
]

Help
04/02/2016 10:43 0ptimist#21
Quote:
Originally Posted by TheGreenElf View Post
I get this error

[
{
"SeverityText": "Error",
"DescriptorId": "CS1061",
"Message": "'string' does not contain a definition for 'ValueFromRegexMatchGroupAtIndex' and no extension method 'ValueFromRegexMatchGroupAtIndex' accepting a first argument of type 'string' could be found (are you missing a using directive or an assembly reference?)",
"LineIndex": 367,
"CharacterIndexInLine": 14,
"LineIndexInAvalonEdit": 368,
"CharacterIndexInLineInAvalonEdit": 15
}
]

Help
Thank you for bringing this to my attention.

I forgot to update the script when I made a change to the framework. I just updated the script, when you download the new one from the first post attachment you will not see the error anymore.
04/07/2016 03:26 sadilv#22
Undock doesnt work. It clicks on the text "Undock" instead of button.

[Only registered and activated users can see links. Click Here To Register...]
04/07/2016 11:01 0ptimist#23
Quote:
Originally Posted by sadilv View Post
Undock doesnt work. It clicks on the text "Undock" instead of button.

[Only registered and activated users can see links. Click Here To Register...]
CCP made some changes to the station window which affect the identification of the UnDock button.
I released a new Version this week to account for those changes.

Please use [Only registered and activated users can see links. Click Here To Register...]
04/07/2016 21:20 sadilv#24
Quote:
Originally Posted by 0ptimist View Post
CCP made some changes to the station window which affect the identification of the UnDock button.
I released a new Version this week to account for those changes.

Please use [Only registered and activated users can see links. Click Here To Register...]
I used version 16.03.04 and still same thing, but np Mission Running Bot is fine.
04/07/2016 22:11 0ptimist#25
Quote:
Originally Posted by sadilv View Post
I used version 16.03.04 and still same thing, but np Mission Running Bot is fine.
Ok, in order to find out what is causing this problem I need a sample from your eve online client when the char is docked and the Undock button is visible.

When I have such a sample I can look into the state of the eve online client to determine how it differs from the expectation of the bot.

You can take a sample using the programm from this tutorial:
[Only registered and activated users can see links. Click Here To Register...]

The resulting file will be about 200MB in size (tested with minimum settings of eve online client).
05/14/2016 11:08 0ptimist#26
Improvements of mining bot with release 16.04.12

Recently some improvements were made to the mining bot:
  • A problem with the undock button was fixed that affected some users.
  • It now uses only one module per asteroid
  • It now supports the use of bookmark folders for mining sites. Just supply the name of a folder instead of a bookmark and it will pick a random bookmark from this folder.
06/01/2016 20:54 lol2k6#27
Hmm the bot doesn't unload in a citadel, just docks and undocks in a loop. Station works fine though.
06/02/2016 10:47 0ptimist#28
Quote:
Originally Posted by lol2k6 View Post
Hmm the bot doesn't unload in a citadel, just docks and undocks in a loop. Station works fine though.
I do not have access to a citadel for testing. To take a closer look I am dependent on the support by people who have access to a citadel.
I have some questions about this situation:
  • does the bot click anywhere else than undock button between docking and undocking?
  • which messages are shown in the log for that period?
  • is the inventory window you see when docked the same (location on screen and caption) as the one you see in space?
06/20/2016 05:46 leespice12#29
Is there a way I can set the bot to launch the drone as soon as I enter the belt? That way if a rat spawn hits as soon as I get to the site they can be engaged.
06/28/2016 11:42 0ptimist#30
Quote:
Originally Posted by leespice12 View Post
Is there a way I can set the bot to launch the drone as soon as I enter the belt? That way if a rat spawn hits as soon as I get to the site they can be engaged.
I would add the following code at the top of the 'InBeltMineStep' method to try to achieve this:

Code:
if (!(0 < DronesInSpaceCount))
		DroneLaunch();
Let me know if this causes any unwanted side-effects.