ok so im teaming with [JS] for a range mager not ganna say anymore but whenever i try range it just take the mouse in to the top left corner when it sets up range and the mousebox wasnt working either so i tried mouse and got the same thing it cant be my coords cause i looked at the cooreds it moves the mouse to around 0,4
if u dont get what im talking about run it on your comp
SCAR Code:
procedure dorange;
var
x, y, x1, y1, tx, ty : integer;
begin
case Lowercase(Players[CurrentPlayer].Strings[1]) of
{ 'accurate': begin
y1 := 567; y:= 252; x1 := 633; x:= 292;
end;
'rapid': begin
x := 652; x1:= 252; y := 719; y1:= 294;
end;
'longrange':begin
x:= 569; x1:= 304; y := 633; y1:= 347;
end; wont work for w/e reason}
'accurate': begin
x := 599; y:= 269;
end;
'rapid': begin
x := 684; y := 275;
end;
'longrange':begin
x:= 600; y :=325;
end;
end;
gametab(tab_Combat);
//mousebox(x, y, x1, y1, 3);
if GetColor(x, y) = 1974404 then
begin
writeln('Already selected');
exit
end else
mouse(tx, ty, 0, 0, true);
end;