Log in

View Full Version : Can someone help me whit this error.



Helper
01-29-2012, 10:33 PM
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
01-29-2012, 10:34 PM
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
01-29-2012, 10:37 PM
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
01-29-2012, 10:47 PM
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
01-29-2012, 10:53 PM
it didnt works :/

Supertrent1
01-29-2012, 10:56 PM
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
01-29-2012, 10:58 PM
is CheckLoc a string?

Helper
01-29-2012, 11:01 PM
well already fixed i give rep to all for the help.

Nebula
01-29-2012, 11:02 PM
Hate when this happens, He said that while I was typing this -.-