Hey PsychoticPk. Grats on the release, I assume it's your first? If so, nice job.
Just a couple of suggestion on how to improve your script.
One thing I noticed is that when dropping your ore, there's no check to make sure it is actually ore that is being dropped. You could use DTMs to make sure nothing is getting dropped that shouldn't be. You could also use DTMs to accurately count the amount of ore mined, instead of just always adding 28. Check out this guide:
http://villavu.com/forum/showthread.php?t=47845
Another thing I noticed is this:
Simba Code:
Case Random(2) of
0: Mouse(x, y, 0, 0, True);
1: Begin
Mouse(x, y, 0, 0, True);
end;
end;
This confused me as you'll always do the same, so you may as well just have
As that will also get the mouses current position.
My final suggestion will help you detect when you've finished mining. Currently you're relying on the uptext changing, but you could use PixelShift instead, as this will allow you to move your mouse from the rock, and perform anti-ban if you want, making your script much like a human. It's actually very simple, but effective. Here's a guide for that:
http://villavu.com/forum/showthread.php?t=74090
Once again, grats on the release
