Code: Select all
Target lost.
Clearing target.
What is curious is that some days it works just fine, without any change to either profile .xml or waypoint...
Code: Select all
Target lost.
Clearing target.
Code: Select all
<option name="DEBUG_TARGET" value="true" />
Code: Select all
[DEBUG] 880992512 mob limitation is set, mob is not a valid target
Code: Select all
[DEBUG] 880991232 target lvl above/below profile settings without battling
Code: Select all
<option name="TARGET_LEVELDIF_ABOVE" value="3" />
<option name="TARGET_LEVELDIF_BELOW" value="20" />
Code: Select all
debug_target("target lvl above/below profile settings without battling)
Code: Select all
debug_target("target lvl above/below profile settings without battling : "..target.Level.." vs "..player.Level)
Code: Select all
if( self.Level == nil or self.Level < 1 or self.Level > 300 ) then
self.Level = memoryReadInt(getProc(), self.Address + addresses.game_root.pawn.level) or self.Level;
end
Code: Select all
if( self.Level == nil or self.Level < 1 or self.Level > 300 ) then
local tmpLevel = memoryReadInt(getProc(), self.Address + addresses.game_root.pawn.level);
if( tmpLevel ~= nil and tmpLevel > 0 ) then
self.Level = tmpLevel;
end
end
Code: Select all
player:updateLevel()
Code: Select all
debug_target("mob limitation is set, mob is not a valid target (Id:"..target.Id.." / Name: "..target.Name..")")
Code: Select all
target:updateLevel()
if( ( target.Level - player.Level ) > tonumber(settings.profile.options.TARGET_LEVELDIF_ABOVE) or
( player.Level - target.Level ) > tonumber(settings.profile.options.TARGET_LEVELDIF_BELOW) ) then
debug_target("target lvl above/below profile settings without battling")
return false; -- he is not a valid target
end;
Code: Select all
target:updateLevel()
if( target.Level < 2) then
debug_target("target lvl below 2: "..target.Level)
return false;
end
Users browsing this forum: No registered users and 55 guests