True I had the same problme so I analyzed it.
First idear was maybe the bot dont see them because the memory wasn't read correct.
Secound idear MAX_TARGET_DIST effect or better restrict LOOT_DISTANCE
Both idears where right -.-, so I came up with a solution.
First I have a list of all Lootable targets that will updated with every loot so If I saw a lootable pawn I will not forget it.
Secound new function for loot that is only restricted by LOOT_DISTANCE.
I also deaktivated
Code: Select all
-- Wait for character to finish standing
local starttime = os.clock()
while self.Stance ~= 0 and 2 > (os.clock() - starttime) do
??? can't understand it and my bot works fine with out this, In fakt he is faster with out it.
In my version you can also repeat the LootAgain in row 370 if you want.
So use it discuss it whatever^^