Petrine
2012-08-16 03:55:10
Hey guys so I'm trying to use simba to auto fight on a game called fantasy online http://www.fantasy-mmorpg.com/ this is what I found.
problem is I'll click run and get this error message
[Error] (9:1): Identifier expected at line 8
Compiling failed.
Help me out? :D
program AutoFighter;
var
x,y: Integer;
const
procedure Attack;
begin
If FindColorTolerance(x, y, 181213210, 16, 54, 768, 487, 5) then
begin
Writeln('Found NPC > Attacking!')
MoveMouse(x,y+random(3));
wait(randomrange(25,50));
ClickMouse(x,y,mouse_Left);
Wait(5000); //MS to wait. 1000 = 1sec
end;
end;
begin
repeat
Attack; //Procedure Attack
until(false);
end. problem is I'll click run and get this error message
[Error] (9:1): Identifier expected at line 8
Compiling failed.
Help me out? :D