Gushers
2011-12-19 02:34:37
This is some of the code for my Tea Stealer, when it runs it calculates the exp but after it finishs the script when it repeats it restarts the exp. Probally because I'm using PlusOne on the Inv. I have it to where it cleardebug so that it doesn't build up progress reports like crazy. Each time you steal a tea you get 16 exp, how do I get it to calculate the tea steals with the exp while still being able to cleardebug, is it even possible? Help please?
Procedure Report;
Var
PlusOne: Integer;
Exp: Extended;
begin
ClearDebug;
Exp := 16;
PlusOne:= InvCount +1;
WriteLn('==================================================');
WriteLn('============ Tea Stealer - By Gushers ============');
WriteLn('Time Running: '+ TimeRunning);
WriteLn('Thieving EXP: '+ FloatToStr(PlusOne * Exp));
WriteLn('======== EXP Counter Resets Help Fix It? =========');
WriteLn('==================================================');
end;
begin
SetupLogin;
SetupSRL;
DeclarePlayers;
ActivateClient;
repeat
Report;
StealTea;
If InvFull Then
DropTea;
until(false);
end.