XcanadamanX
2007-11-02 19:23:39
I keep getting "[Runtime Error] : Exception: Access violation at address 00724393 in module 'scar.exe'…." on this line
i dont know why ive tried activateclient infront of it.
heres the whole procedure…i mean function:
this works fine in al kharid but not in lumbridge.
if FindDtm(dtm, x, y, TB.x1, TB.y1, TB.x2, TB.y2) theni dont know why ive tried activateclient infront of it.
heres the whole procedure…i mean function:
function CountItemDtm(dtm: Integer): Integer;
var
i, x, y: Integer;
TB: Tbox;
begin
GameTab(4);
for i := 1 to 28 do
begin
TB := InvBox(i);
if ExistsItem(i) then
if FindDtm(dtm, x, y, TB.x1, TB.y1, TB.x2, TB.y2) then
Inc(Result);
end;
end;this works fine in al kharid but not in lumbridge.