Dear friends, i want i little help here with navigation.
@Raphael
My situtation is this.
I have 1 main and 3 followers with me.
The main have the waypoints in him cavebot.
The Followers don't have anything in they cavebot only 1 action.
I'm trying to my followers make follow with my main.
I'm trying with this code.
auto(100)
if $navigation then
foreach navchar p do
if $wptsection == 'Hunt' then
if p.isleader and p.creature.dist ~= 1 and p.creature.dist ~= 0 then
setsetting('Targeting/Enabled', 'no')
stopattack()
--moveto(p.posx,p.posy,$posz)
--reachlocation(p.posx,p.posy,$posz)
--reachcreature(p.realname)
elseif p.isleader and (p.creature.dist == 1 or p.creature.dist == 0) then
setsetting('Targeting/Enabled', 'yes')
end
end
end
end
Sometimes i get null exceptions with this code and my followers break.
I think is with the functions, when i'm use with navigation i get this.
--moveto(p.posx,p.posy,$posz)
--reachlocation(p.posx,p.posy,$posz)
--reachcreature(p.realname)
I think navsendping function is broken.
Edit: I make test with only following and is fine, but when i follow and attack i get null exception or windbot crash.