[OFFTOPIC]
From: 99_
hope you can see what I changed..
first, this is not a bingo game… he's completely new here so try to help him… :duh:
[/OFFTOPIC]
well…
setupsrl;
you have to make that at mainloop
Procedure Burying
repeat
Begin
first you have to call the begin then the repeat.
//Can't imagine what this does...
also DTM means : Dormed Template mesh.
DTM’s are useful for item finding.
oh and i fixed your standards :
Program TheBoner;
//Wroted by Theo :/
{.include SRL\SRL.scar}
Var
BonesDTM, x, y, BonesBuried, Exp: Integer;
Procedure Burying;//Can't imagine what this does...
begin
repeat
BonesDTM:= DTMFromString('78DA63E4606460C86040017BB7EF649004D24' +
'01986FF40C0C80B6425A1AA6186D28C309A15C8CA4755535D948D' +
'AA4608C8CA4455C38ACD9C7454356B972F4755F31748A4A2AA397' +
'DEC10AA1A364C376FDDB006450D008F35121A');
If FindDTM(BonesDTM, x,y,MIX1,MIY1,MIX2,MIY2) then
begin
Mouse(x,y,2,2,True);
BonesBuried:=BonesBuried+1;
Wait(500+random(100));
end;
until(BonesBuried=28);
Freedtm(BonesDTM);
end;
Procedure Progress;
begin
Writeln('Gratz for not getting banned.');
Writeln('You have buried ' + IntToStr(BonesBuried) + 'bones.');
Exp:=BonesBuried*2/9;
Writeln('You have gained a total of' + IntToStr(Exp) + 'experience');
Writeln('Tell all, you might be cool now.');
end;
begin
SetupSRL;
ClearDebug;
BonesBuried:= 0;
Burying;
Progress;
end.
the rest looks okey, btw if you still need help with something just add me : [email]Tickyy_@msn.com[/email]