Heres another bug! This time, while using
It withdraws what is in 2, 2 instead. This is the same when I type 2, 3, it will actually withdraw 3, 4. Do I just have to enter my things +1, or is there a way to fix this?Simba Code:Withdraw(1, 1, 28);
Printable View
Heres another bug! This time, while using
It withdraws what is in 2, 2 instead. This is the same when I type 2, 3, it will actually withdraw 3, 4. Do I just have to enter my things +1, or is there a way to fix this?Simba Code:Withdraw(1, 1, 28);
remember: numbers start at 0 not 1... array[0] is before array[1]. so on and so forth.
http://en.wikipedia.org/wiki/Zero-based_numbering
Also note smurg's but report thread on this issue;
http://villavu.com/forum/showthread.php?t=82169
:duh: Should work now, thanks!
You could also do something like this to skip withdrawing from one specific slot :)
make is start searching on 23, 82 so it wont try to click on any item thats in the tab selector :DSimba Code:if FindBitmapToleranceIn(VialWater, x, y, 23, 82, msx2, msy2, 35) then
begin
Mouse(x, y, 7, 7, false);
WaitOptionMulti(['ithdraw-14', '-14'], 750);
end;
Yeah as others have said the rows/cols start at 0.
I just submitted a Gihub request to add more detail to the function explanation so hopefully people don't have issues with this in the future. I was so frustrated the first time I used this and it wasn't working:p.