Originally Posted by
jumperu
Ok, tried this, message was 1. Inventory is empty so what is wrong.
Ty for the help.
Edit: ok, i changed in the next line checkinv to 0 and seems to go ok
" If (Not @error) Or (CheckInv() == 0) Then"
Edit 2: now it does not loot, everything goes ok, the trip, the combat, but after he kills the mobs, he goes to their position then he immediately teleports to town and repeats the loop.
PS: I'm using the version u posted in page 2, dunno if it matters, i watched it for 20 or so runs so far, doesn't pickup anything, blues/gems/yellows or tomes.
Edit 3: y, since i changed that line i prolly broke the code so it fixes the repair loop but doesnt search for items because of these lines
If CheckInv() == 1 Then ; full and cannot pickup remaining items
DEBUG("Inventory full, ending item finding")
ExitLoop