I'm acctually in the middle of building a mining bot.
Its not that hard searching the resource that is in the radar. i can list it already. the problem perhaps with the algorithm the game used to send command to collect mines/herbs.
honestly, i'm not a programmer my self. and i'm building it based on autoit. perhaps there is some drawback on its memory writing or so, i don't know. but the point is this.
after experimenting with the action structure, i can say that the process of getting a mine using mouse click (the human way) is after clicking the mines/herbs, the program sent an attack command to the mines. funny thing is, the click of the mouse is not registered when you clicked a mines. as it walks to the mines, something (i still can't figure what is that exactly) is counting. perhaps it counts the distance, or perhaps its counting the char's coordinate, i still haven't figured that out yet. coz there is something moving in the memory value.
now as it arrived to the mines, THERE is an idle state before it start gathering the mines. and the action flag is sets to 0 first. after a split second, then the mining command was sent to the program. right after that, as you know, the progress bar sent. the program then generate a random memory value on a certain place to be used as the target value for another memory to count on to that number. as it reaches that number the mining process stopped and the char returns to idle state.
now i have made a program but it can only get the mine at first time. after the first process it won't go to the other mines. i don't know why. perhaps because the functions to gather it is not in the correct sequence or i think it was because there is another flag that i havent found that tells the char to REALLY stops.
perhaps smurfin zevorc can make the function. i just don't have the capabilty to make such delicate function.
pm me or ym me