Well i'm making an Advanced Agility Bot for the Barb Course - Heres the code for the part that keeps messing up.
Simba Code:
procedure ClimbDatShit;
var
x, y:Integer;
begin
repeat
if FindObjCustom(x, y, ['Climb', '-up'], [3624803], 10) THEN
WriteLn('Finding the wall');
MMouse(x, y, 2, 2);
until(IsUpText('Climb'));
begin
WriteLn('Climbing!');
Mouse(x, y, 2, 2, True);
wait(5000 + random(200));
AntiBan;
AntiRandoms;
end;
end;
All the other procedures work perfectly, but I get this error:
Simba Code:
Error: Exception: The window is already frozen. at line 723
The following DTMs were not freed: [SRL - Lamp bitmap, 1, SRL - Lamp bitmap, 3]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]
Picture of my Minimap:
http://gyazo.com/9606da77d5c6d37fd5f471bdd96c7d2f
Picture of the orange error:
http://gyazo.com/1fc463c203ddb1f89751877901d28e56
Please help :s
Also, how do i set the camera angle to a certain spot?