SRL Archive - SRL Bugs

DropAllItemsByIdentifier; fixed


Coh3n

2009-11-26 17:45:28

The current DropItemsByIdentifier resulted in a Type Mismatch error:

[Runtime Error] : Exception: Type Mismatch in line 546 in script C:\Users\Cohen\Desktop\SCAR\includes\SRL\SRL\Core\Inventory.scar

Here's the simple fix:

{*******************************************************************************
procedure DropItemsByIdentifier;
By: EvilChicken! Fixed by Coh3n
Description: See description of ClickAllItemsExcept.
*******************************************************************************}
procedure DropItemsByIdentifier(ItemType: string; Identifier: Integer; Tol: TIntegerArray);
begin
ClickAllItems(ItemType, Identifier, 'rop', 250, Tol);
end;

Thanks,

Coh3n

EvilChicken!

2009-12-07 11:56:39

Committed.

Thanks! :)

Coh3n

2009-12-07 11:58:46

From: EvilChicken!
Committed.

Thanks! :)

You're certainly welcome!