Originally Posted by
Nice Balance Bro
-snip-
Grats on the release.
You just missed one thing in your mainLoop():
Simba Code:
procedure mainLoop;
begin
repeat
if not isLoggedIn() then
terminateScript;
if TradedMonk = false then
clickMonk();
until TradedMonk = true; {*Forgot to put a semi-colon in this part*}
repeat
buyCrystals();
until CrystalsBought = CRYSTALS_TO_BUY;
writeLn('We have bought your requested amount of crystals = '+ (toStr(CRYSTALS_TO_BUY)));
end;
And indentation here:
Simba Code:
if not isLoggedIn() then
begin {*1 tab or 2 spaces inside a begin..end, Indentation standards*}
players[currentPlayer].login(); {*But makes your script easier to read*}
exitTreasure();
minimap.setAngle(MM_DIRECTION_NORTH);
mainScreen.setAngle(MS_ANGLE_HIGH);
end;
Other than that, great script, dude!
EDIT:
Oh and another semi-colon on your declarePlayers() procedure.
Btw, sweet TPA/ATPA!