All the knowledge you learned is still relevant, except for small changes.
ClickNorth(True) -> SRL_ANGLE_HIGH/SRL_ANGLE_LOW/SRL_ANGLE_NONE
Same goes for SetAngle(True);
Mouse() now uses mouse_Left for left clicking and mouse_Right for right click.
All the knowledge you learned is still relevant, except for small changes.
ClickNorth(True) -> SRL_ANGLE_HIGH/SRL_ANGLE_LOW/SRL_ANGLE_NONE
Same goes for SetAngle(True);
Mouse() now uses mouse_Left for left clicking and mouse_Right for right click.
Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
{ MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }
When posting a bug, please post debug! Help us, help you!
I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.
SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.
The only true authority stems from knowledge, not from position.
You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.
yeah if you learn how to script you learn how to script! yull be a mem in no time (*wink)
Send SMS messages using Simba
Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!
thanks for the help, ill give it a try now
so i've attempted these methods and still no luck, it right clicks then chooses attack and repeats on the monster after each hit
this is the section I think is causing the problem
procedure GMouse(x, y, rx, ry: Integer; left: Boolean);
var
StartX, StartY, TargetX, TargetY, Button: Integer;
DeltaX, DeltaY: Integer;
Neliojuuri, K: Extended;
begin
GetMousePos(StartX, StartY);
GMMouse(x, y, rx, ry);
GetMousePos(TargetX, TargetY);
if left then Button := MOUSE_LEFT
else Button := MOUSE_LEFT;
//else Button := MOUSE_RIGHT;
HoldMouse(TargetX, TargetY, Button);
Wait(25+Round(Gaussian(70, 2.3, True)));
if (Random(15) = 0) then
begin
DeltaX := TargetX-StartX;
DeltaY := TargetY-StartY;
Neliojuuri := Sqrt(DeltaY*DeltaY+DeltaX*DeltaX);
if (Neliojuuri = 0) then MoveMouse(TargetX-1+Random(3), TargetY-1+Random(3))
else begin
K := 1.5/Neliojuuri;
MoveMouse(TargetX+Round((K*DeltaX)), TargetY+Round((K*DeltaY)));
end;
end;
Wait(25+Round(Gaussian(70, 2.3, True)));
ReleaseMouse(TargetX, TargetY, Button);
end;
Last edited by Slither1; 01-18-2012 at 12:47 AM.
INACTIVE
How-to: Make S.M.A.R.T. less laggy
Sell me your Maple Shieldbows (u)! Up to 95gp ea!
My Scripts:
Ivy Chopper Ultra [RS3] | Fantastic Fletcher [RS3]
99 x78 |
99 x10 |
99 x2 |
99 x12
Use the REPORT tags when posting progress reports to make life easier (:
[REPORT]Put progress report in here![/REPORT]
Super Savvy Smither V1.06Cool Classy Cooker V1.02 [EoC]
yeah that's cool, any chance you could give me any clues? just a pointer towards what is causing it
There are currently 1 users browsing this thread. (0 members and 1 guests)