SRL Archive - OSR Help

Urgh, Wtf is this error :s [Alot of detail]


Sin

2011-12-26 11:57:51

Well i'm making an Advanced Agility Bot for the Barb Course - Heres the code for the part that keeps messing up.

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:

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?

Kyle Undefined

2011-12-26 12:10:44

Do you have an updated SRL? That issue should have been fixed.

Also, "MakeCompass();" is what you need to set compass angle.

Sin

2011-12-26 12:14:06

From: Kyle Undefined
Do you have an updated SRL? That issue should have been fixed.

Also, "MakeCompass();" is what you need to set compass angle.


I'll try updating.
And for "MakeCompass(*w/s/n/e) would go inside?
West or W as the variable?

Kyle Undefined

2011-12-26 12:16:01

You can pass in numbers too, look in the core folder of SRL and it should be in minimap.scar and it will tell you everything.

Sin

2011-12-26 12:41:43

Ahh kk thanks :D
But im still unclear on wether to input numbers or the irections :s
Can you give me an example with West?

Nebula

2011-12-26 14:00:09

MakeCompass(W);

would make the compass west.

euphemism

2011-12-26 14:12:08

From: Nebula
MakeCompass(W);

would make the compass west.


MakeCompass(90) would also point you west.

Sin

2011-12-26 14:35:49

From: euphemism
MakeCompass(90) would also point you west.


I figured this out on my own :D
Anyways, now my next and final problem is the fact of walking D:
I can't seem to make it walk to the specified point D:
Once I get this done, my script's compelte >:3