bobjim
2012-11-11 13:39:53
I've been looking for something to help me switch prayers when fighting Jad cos he keeps owning me :( and i stumbled upon this:
Made by Main
I'd like to change the keys though as i'm on a mac and F6-F8 does all kinds of other crazy crap as well, maybe it could be ASD.
Also i found when i target the runescape window with simba and run the script it rapes my CPU, its using like 99% CPU… i don't have this trouble when running scripts that use SMART, maybe its a problem in the code?
If anyone could help i would be super grateful!!
program Pker;
{$I SRL/SRL.SIMBA}
{
F6-F8 (Pray)
Inventory (642,168)(671,204)
Pray (705,173)(726,202)
PMagic (636,262)(647,270)
PRange (673,256)(689,271)
PMelee (709,258)(723,269)
}
var
Ti: Integer;
Mi: Tpoint;
Procedure PrayPro(PType: Integer);
Begin
Ti := GetCurrentTab;
GetMousePos(Mi.x , Mi.y);
Mouse(RandomRange(705, 726), RandomRange(173, 202), 0, 0, true);
Wait(100);
If PType = 1 Then Mouse(RandomRange(636, 647), RandomRange(260, 270), 0, 0, true);
If PType = 2 Then Mouse(RandomRange(673, 689), RandomRange(260, 270), 0, 0, true);
If PType = 3 Then Mouse(RandomRange(709, 723), RandomRange(260, 270), 0, 0, true);
If Gametab( Ti) then
Mmouse(Mi.x, Mi.y, 0, 0);
End;
Begin
Setupsrl;
//Cleardebug;
Mousespeed:=9999;
repeat
If Isfkeydown(1)Then
PrayPro(1);
If Isfkeydown(2) Then
PrayPro(2);
If Isfkeydown(3) Then
Praypro(3);
until false;
End.Made by Main
I'd like to change the keys though as i'm on a mac and F6-F8 does all kinds of other crazy crap as well, maybe it could be ASD.
Also i found when i target the runescape window with simba and run the script it rapes my CPU, its using like 99% CPU… i don't have this trouble when running scripts that use SMART, maybe its a problem in the code?
If anyone could help i would be super grateful!!