SRL Archive - Help

Can someone help me whit this error.


Helper

2012-01-29 17:33:45

Error: Type Mismatch at line 532
The following DTMs were not freed: [SRL - Lamp bitmap, 1, 2, 3]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]


thx

Nebula

2012-01-29 17:34:52

Can you post the code leading up to line 532 of your script?

also the DTM+ Bitmap messages are not big deals and happen in most scripts.

Helper

2012-01-29 17:37:16

From: Nebula
Can you post the code leading up to line 532 of your script?

also the DTM+ Bitmap messages are not big deals and happen in most scripts.



function ToAnvil: Boolean;
begin
if not LoggedIn then
Exit;

MakeCompass('N');
MouseBox(641, 123, 652, 132, 1);
FFlag(0);
Wait(RandomRange(600, 800));

if not CheckLoc='anvil' then
begin
if FindSymbol(x, y, 'anvil') then
begin
Mouse(x, y, 3, 3, mouse_left);
FFlag(0);
Wait(RandomRange(600, 800));
end else
Exit;
end else
Result:= True;

end;

the line eror is 532: if not CheckLoc='anvil' then

Supertrent1

2012-01-29 17:47:01

From: Helper

function ToAnvil: Boolean;
begin
if not LoggedIn then
Exit;

MakeCompass('N');
MouseBox(641, 123, 652, 132, 1);
FFlag(0);
Wait(RandomRange(600, 800));

if not CheckLoc='anvil' then
begin
if FindSymbol(x, y, 'anvil') then
begin
Mouse(x, y, 3, 3, mouse_left);
FFlag(0);
Wait(RandomRange(600, 800));
end else
Exit;
end else
Result:= True;

end;

the line eror is 532: if not CheckLoc='anvil' then


if not CheckLoc= ('anvil') Then ———————I think that might fix it

Helper

2012-01-29 17:53:03

it didnt works :/

Supertrent1

2012-01-29 17:56:42

From: Helper
it didnt works :/


I don't know them, I'm pretty knew, you probably going to have to wait until someone very experienced has time to come and help :\

Kasi

2012-01-29 17:58:05

is CheckLoc a string?

Helper

2012-01-29 18:01:33

well already fixed i give rep to all for the help.

Nebula

2012-01-29 18:02:21

Hate when this happens, He said that while I was typing this -.-