SRL Archive - Reflection Help

Unknown identifier 'InventoryItemID'


Sandstorm

2009-03-05 08:47:07

Line 271: [Error] (18594:44): Unknown identifier 'InventoryItemID' in script

Line 271 is an End;.

The lines surrounding it are:

          P := TileToMSEx(Tile(1900, 3162.5), 5);
MMouse(P.x, P.y - 20, 3, 3);
Wait(500);
if IsUpText('ed barr') then
begin
GetMousePos(x, y);
Mouse(x, y, 0, 0, true);
end;
If TimeRemaining('enterportal') Then
Waiting;

Any ideas? :/.

~Sandstorm

Method

2009-03-05 09:32:40

That line probably points you to the reflection include, not inside your script. This means that you need to update your entire folder and not just the Hooks.scar file.

Sandstorm

2009-03-05 22:45:28

Oh… Duh… Thanks Method, I'll try that!

~Sandstorm

Jewish_Rhapsody

2009-03-06 17:00:33

I get the same error EVERY TIME!