Spaceblow
2014-07-31 08:19:06
Hey everyone, I'm new to this forum and I actually want to learn how to script rather than leeching someones hard work. Powerbot and all those bots are either very detectable or not thrustworthy so after a bit of research I've concluded that Simba is the best choice because of the very low ban rate and because of the pretty easy language compared to Java and such. I'm following The Mayor's Simplistic Beginners Guide To RS3 Scripting (link below).
I have a question about the mouse movements. When I try to make a very simple script, according to the information The Mayor gives in his guide, I don't get the result I want.
So when I do this:
Line 7, column 3 refers to 'mouse'. So I understand there's something wrong with it but I don't know why because I used the same thing as The Mayor did in his guide but without any SMART stuff to open.
But when I use this (according to stuff I found on the villavu docs (link below)):
Does it mean I have to use different functions than stated in the villavu docs if I would want to use it for RS? If yes, are all these functions I would need for RS listed anywhere (in the same form like villlavu docs)? Because it's kind of confusing. I hope you guys understand my question and could help me. It's perhaps a very dumb question but I'm really new to this kind of stuff and from what I've read on the internet, this forum has a very friendly and helpful community and I hope you could prove it and help me a hand with this. :) Also sorry for my English as it's not my native language.
The Mayor's guide: villavu.com/forum/showthread.php?t=109161
Villavu docs: docs.villavu.com/simba/scriptref/mouseandkeyboard.html
I have a question about the mouse movements. When I try to make a very simple script, according to the information The Mayor gives in his guide, I don't get the result I want.
So when I do this:
program new;
procedure mouseTest();
begin
writeLn('The mouse is about to move');
wait(randomRange(1000, 3000));
mouse(1721, 435, MOUSE_MOVE);
writeLn('The mouse has moved');
end;
begin
clearDebug();
mouseTest();
end. I get:Exception in Script: Unknown declaration "mouse" at line 7, column 3Line 7, column 3 refers to 'mouse'. So I understand there's something wrong with it but I don't know why because I used the same thing as The Mayor did in his guide but without any SMART stuff to open.
But when I use this (according to stuff I found on the villavu docs (link below)):
program new;
procedure mouseTest();
begin
writeLn('The mouse is about to move');
wait(randomRange(1000, 3000));
MoveMouse(1721, 435);
writeLn('The mouse has moved');
end;
begin
clearDebug();
mouseTest();
end. Then it works just fine.Does it mean I have to use different functions than stated in the villavu docs if I would want to use it for RS? If yes, are all these functions I would need for RS listed anywhere (in the same form like villlavu docs)? Because it's kind of confusing. I hope you guys understand my question and could help me. It's perhaps a very dumb question but I'm really new to this kind of stuff and from what I've read on the internet, this forum has a very friendly and helpful community and I hope you could prove it and help me a hand with this. :) Also sorry for my English as it's not my native language.
The Mayor's guide: villavu.com/forum/showthread.php?t=109161
Villavu docs: docs.villavu.com/simba/scriptref/mouseandkeyboard.html