Code: Select all
Moving to waypoint #4, (6715, 2935)
Checking for Loot
Looting Dreamland Float
Looting Dreamland Float
[DEBUG] don't loot reason: target not lootable.
Looting Dreamland Float
[DEBUG] don't loot reason: target not lootable.
Looting Dreamland Float
[DEBUG] don't loot reason: target not lootable.
Looting
[DEBUG] don't loot reason: self.TargetPtr == 0This is where its getting stuck now :S
Code: Select all
if player:findNearestNameOrId("", nil, evalTargetLootable) then
local canLoot = player:findNearestNameOrId("", nil, evalTargetLootable)
repeat
lootIgnoreList[1] = nil
player:target(canLoot)
print("Looting "..canLoot.Name.."");
player:loot(canLoot)
yrest(500);
canLoot:update();
local canLoot = player:findNearestNameOrId("", nil, evalTargetLootable)
until not player:findNearestNameOrId("", nil, evalTargetLootable)
end