
Originally Posted by
mtdewi
How could you configure it to use coordinates instead of colors? It's trying to buy other things aswell no matter what colors I put because my item is like that.. there is many items same color in the shop
I will show you with an example. To fix the mouse to coordinates to position (125, 125):
update the following line of code (line 103) from
Code:
MouseBox(xx, yy, xx+6,yy+6, mouse_right);
to:
Code:
MouseBox(125,125,125+6,125+6, mouse_right);
or for position (350,125):
Code:
MouseBox(350,125,350+6,125+6, mouse_right);
If you want the code to be a little more random, trying changing 350+6 to 350+randomrange(1,7)..
Works amazing, how would I go about it only making it go through like 10 worlds, that I can set? I really need this.
For right now, I haven't implemented a way to selectively choose the worlds to visit. To limit the number of times to cycle through world switching/logging back in/buying items/etc, change GLOBAL_VISITS = 30 to GLOBAL_VISITS=10.
Gratz on release, I would advise static coords and checking if the interface is open and of course off settings clicks
What do you mean by checking if interface is open? Similar to checking if player is LoggedIn? I'll look at the srl library later tonight.
Is there a way to offset clicks if using the mousebox(..) procedure?
I've used mousebox for the majority of clicking and didn't see an offset modifier similar to the one in MMouse(..). How would I add an offset considering this?
Thanks and hope this helps! Enjoy!!