
Originally Posted by
ry0240
I attempted the v3 with looting and it is still coming up with the same error as before.
Code:
Cb xp: 384844
Cb xp/hour: 19049588
Hp xp: 127403
Hp xp/hour: 6306385
Status: Ammo equip quantity generated at (18%)
Hp: 100%
Hp random eat: 27%
Gained levels: (HP: +52 CB: +154)
Time running: 00:01:12
This might take a while to load, depending on how many items you want to loot
Error: Exception: "" is an invalid integer at line 238
I keep trying it with the preset location Hillgiants and in the new form in v3 I've tried just typing Big bones and tried 'Big bones' aswell as "Big bones" in the loot form but it keeps registering that error, is it maybe because Big bones is in the b2p loot function? or maybe because runelocus loads multiple/different ID's for items sometimes?
oh i didnt know it can load more than 1 id :S
i dont know if 532 is the id for big bones.
can you try this?
add:
Simba Code:
if (LootNameArray[I] = 'Big bones') then
begin
SetLength(LootArray, Length(LootArray) + 1);
LootArray[High(LootArray)] := 532;
Continue;
end;
between 232 and 233.. so it looks like this
Simba Code:
{line 230} begin
if (LootNameArray[I] = '') then
Continue;
if (LootNameArray[I] = 'Big bones') then
begin
SetLength(LootArray, Length(LootArray) + 1);
LootArray[High(LootArray)] := 532;
Continue;
end;
LS := Replace(LootNameArray[I], ' ', '_');
S := GetPage('http://www.runelocus.com/tools/itemlist.html?item=' + LS);