Deadly Serious
2011-12-30 18:18:37
I keep getting this error when compiling: [Error] (94:12): Type mismatch at line 93
Compiling failed.
Line 90: Failsafe;
Second problem: I keep getting this error when compiling:
[Error] (95:5): Invalid number of parameters at line 94
Compiling failed.
It usually just says this when you haven't entered sufficient data or to much data but there's only suppose to be 6 places in radial walking :S
Line 94 = 1: RadialWalk(3095872, 110, 160, 60, 5, 5);
Compiling failed.
Line 90: Failsafe;
Procedure Alter;
Var
x, y: integer;
begin
if not loggedin then exit;
Antiban;
Failsafe;
DidRedClick;
begin
If FindObjCustom(x, y, ['Enter', 'Ent'], [15382402, 16628877, 14728085], 15) then
begin
Writeln('Found Alter!');
Getmousepos(x, y);
Case random(11) of
0..9: mouse(x, y, 5, 5, True);
10: begin
Mouse(x, y, 5, 5, False);
Waitoption('enter', 500);
end;
end;
end;
end;
end;
Second problem: I keep getting this error when compiling:
[Error] (95:5): Invalid number of parameters at line 94
Compiling failed.
It usually just says this when you haven't entered sufficient data or to much data but there's only suppose to be 6 places in radial walking :S
Line 94 = 1: RadialWalk(3095872, 110, 160, 60, 5, 5);
procedure WalkToAlter;
var
TPA: TPointArray;
i: Integer;
begin
if not loggedin then exit; //this should be at the beginning of each of your procedures or functions
Setrun(true); //this turns run on
for i := 1 to 5 do //if you don't know what this is, look up my tut on loops ;)
begin RadialWalk(i)
1: RadialWalk(3095872, 110, 160, 60, 5, 5);
2: RadialWalk(2905681, 240, 280, 60, 5, 5);
3: RadialWalk(2307126, 290, 360, 60, 5, 5);
4: RadialWalk(2446161, 290, 350, 60, 5, 5);
end;
end;