Not sure where to post this, but the developement area seems the most logical place, (perhaps a bugs forum is needed (hopefully not))
When I tried Running R_ItemIDExists(Item, 1925)
(1925 is an empty bucket) but when it crashes, I have done a quick check to see when error occours....
I edited the function (added some Writeln and Waits) so I could see what happened before simba completly crashed.
SCAR Code:function R_ItemIDExists(var Item: TInvItem; ID: Integer): boolean;
var
i: integer;
Temp: TInvItem;
begin
Result := true;
for i := 1 to 28 do
begin
Writeln('I := ' + IntToStr(I));
Temp := GetInvItemAt(i);
Writeln('Step 1 completed');
Wait(1500);
Item := Temp;
Writeln('Step 2 completed');
Wait(1500);
if(Temp.ID = ID)then
exit;
Writeln('Step 3 completed');
Wait(1500);
end;
Temp := NullInvItem;
Result := false;
end;
Which outputs (in debug)
I := 1
Step 1 completed
Step 2 completed
Step 3 completed
I := 2![]()

