I got some problems with the player:target_Object() function. Like you know we need a minimal distance to objects, to harvest them. The problem is, that the library in the guild castle is so huge, that the center point is too far away.
In player.lua I found (lines 3741-3747)
Code: Select all
if( distance(self.X, self.Z, obj.X, obj.Z) > 39 ) then
self:moveInRange(CWaypoint(obj.X, obj.Z), 39, true);
repeat
yrest(50)
self:updateActualSpeed()
until not self.Moving
end