I have setup 2 bots, a master and a slave, with the slave authorized and followBot set to 1. The slave heals and buffs the master, and the master kills crap.
The problem arises when the master teleports due to low HP, ends up somewhere else and sits down to recover HP. Now the slave, being unable to find the master, PMs the master to "move xxx yyy", to which the master replies with "Yes sah!" or something but doesn't do anything and stays sitting down. This is a little weird why the master doesn't react, but it's still all nice and fine until the slave then finds his own way to the master, heals and buffs him, and then the real problem kicks in:
The master stands up, and then just stands there, doing absolutely nothing. Even when attacked, it'll say "Now attacking monster blah blah", and then just stands there still does nothing.
At this point if debug is set to 1, it'll show something like this:
Auto-skill on self: Skill Name <lvl 10>
Auto-skill on self: Skill Name <lvl 10>
Auto-skill on self: Skill Name <lvl 10>
Auto-skill on self: Skill Name <lvl 10>
... and so on, but the skill doesn't actually activate and manually using the skill returns failure in 3 tries, unable to use skill, and this applies to all the self skills I've tested. This 'trying-to-auto-skill' action will last until either character is dead, or manually reconnected.
Also a minor problem, I really think the followBot PMs should be made more explicit like maybe include the map name. For example when the master changes map the slave will PM "move xxx yyy" before changing map itself, the master will then walk to the xxx yyy on the new map not knowing it's supposed to be for the old map.
If someone could look into these 2 issues it would be really nice...
#UPDATE: OK apparently it's got nothing to do with followBot or the "move" messages(still weird why master doesn't react to it tho) because it just happened again to BOTH master and slave with followBot 0, and apparently manually doing a "tele" command fixes it
Now my suspicion is onto the fact that both these bots use the Teleport skill instead of Fly Wing. If I were to throw a guess, it would be something like when you use the Teleport skill without pressing OK or enter, the dialogue window stays there and you can't do anything... I really can't think of any other clue as to why this is happening anymore... Even ai clear doesn't do anything when they get stuck like that
r7882 getting stuck with followBot
Moderators: Moderators, Developers
-
- Developers
- Posts: 29
- Joined: 30 Oct 2011, 21:43
- Noob?: No
-
- Plain Yogurt
- Posts: 55
- Joined: 09 Sep 2011, 18:04
- Noob?: Yes
- Location: Malaysia
Re: r7882 getting stuck with followBot
i try help about teleport,master and slave config:
attackAuto 0 <<<<<< slave
follow 1
followTarget < put master name
followEmotion 1
followEmotion_distance 4
followFaceDirection 0
followDistanceMax 1
followDistanceMin 1
followLostStep 12
followSitAuto
followBot 1
route_escape_reachedNoPortal 1
route_escape_randomWalk 1
route_escape_shout
route_avoidWalls 1
route_randomWalk 0
route_randomWalk_inTown 0
route_randomWalk_maxRouteTime 0
route_maxWarpFee
route_maxNpcTries 5
route_teleport 0
route_teleport_minDistance 150
route_teleport_maxTries 8
route_teleport_notInMaps
route_step 15 <<< for slave is 15 and for master put 8
teleportAuto_hp 30 << u change it
teleportAuto_sp 0
teleportAuto_idle 0
teleportAuto_portal 0
teleportAuto_search 0
teleportAuto_minAggressives
teleportAuto_minAggressivesInLock 0
teleportAuto_onlyWhenSafe 0
teleportAuto_maxDmg 1700 << u can change it
teleportAuto_maxDmgInLock 0
For Slave: Do not put anything except the card, because it would cause slaves left right
for more details http://wiki.openkore.com/index.php/Main_Page
attackAuto 0 <<<<<< slave
follow 1
followTarget < put master name
followEmotion 1
followEmotion_distance 4
followFaceDirection 0
followDistanceMax 1
followDistanceMin 1
followLostStep 12
followSitAuto
followBot 1
route_escape_reachedNoPortal 1
route_escape_randomWalk 1
route_escape_shout
route_avoidWalls 1
route_randomWalk 0
route_randomWalk_inTown 0
route_randomWalk_maxRouteTime 0
route_maxWarpFee
route_maxNpcTries 5
route_teleport 0
route_teleport_minDistance 150
route_teleport_maxTries 8
route_teleport_notInMaps
route_step 15 <<< for slave is 15 and for master put 8
teleportAuto_hp 30 << u change it
teleportAuto_sp 0
teleportAuto_idle 0
teleportAuto_portal 0
teleportAuto_search 0
teleportAuto_minAggressives
teleportAuto_minAggressivesInLock 0
teleportAuto_onlyWhenSafe 0
teleportAuto_maxDmg 1700 << u can change it
teleportAuto_maxDmgInLock 0
For Slave: Do not put anything except the card, because it would cause slaves left right
for more details http://wiki.openkore.com/index.php/Main_Page
-
- Developers
- Posts: 29
- Joined: 30 Oct 2011, 21:43
- Noob?: No
Re: r7882 getting stuck with followBot
Thanks but no, apparently it's nothing to do with master slave config or followBot like I previously thought, it's probably the same bug mentioned here: http://forums.openkore.com/viewtopic.php?f=56&t=12171
-
- Developers
- Posts: 29
- Joined: 30 Oct 2011, 21:43
- Noob?: No
Re: r7882 getting stuck with followBot
Can't use PMs… that's kinda dumb but ok…
@kLabMouse
I'm not sure which problem you're referring to but there is no config parameter to get party location… and actually the slave can get master's location just fine but soon as master changes map on the way walking to lockmap, the slave will PM "move xxx yyy" causing the master to run to that spot on the NEW map, and the slave will happily follow…
As for the AI thing, I'm pretty sure now it's the teleport problem
@kLabMouse
I'm not sure which problem you're referring to but there is no config parameter to get party location… and actually the slave can get master's location just fine but soon as master changes map on the way walking to lockmap, the slave will PM "move xxx yyy" causing the master to run to that spot on the NEW map, and the slave will happily follow…
As for the AI thing, I'm pretty sure now it's the teleport problem
-
- Administrator
- Posts: 1301
- Joined: 24 Apr 2008, 12:02
Re: r7882 getting stuck with followBot
No-No. Something wrong! not slave must PM. but the master. ans it should PM with map name.saviourimpulse wrote:Can't use PMs… that's kinda dumb but ok…
@kLabMouse
I'm not sure which problem you're referring to but there is no config parameter to get party location… and actually the slave can get master's location just fine but soon as master changes map on the way walking to lockmap, the slave will PM "move xxx yyy" causing the master to run to that spot on the NEW map, and the slave will happily follow…
As for the AI thing, I'm pretty sure now it's the teleport problem
-
- Developers
- Posts: 1798
- Joined: 05 Dec 2008, 05:42
- Noob?: Yes
Re: r7882 getting stuck with followBot
Isn't slave's name just not known to master (without plugins etc)?kLabMouse wrote:not slave must PM. but the master. ans it should PM with map name.
-
- Developers
- Posts: 29
- Joined: 30 Oct 2011, 21:43
- Noob?: No
Re: r7882 getting stuck with followBot
Wha…t? The master is not the one following… How would the master PM… This is getting more
confusing…
Hi there
can i see u master config and slave config,maybe i can help u
I appreciate it but I'm pretty sure it's not a config problem… As eharvest said, the master would not know who the slave is and thus he is definitely not the one to PM
And as for the PM content, it's just "move xxx yyy", no mapname, and there's no config to change that unless something's changed in the source code…
confusing…
Hi there
can i see u master config and slave config,maybe i can help u

I appreciate it but I'm pretty sure it's not a config problem… As eharvest said, the master would not know who the slave is and thus he is definitely not the one to PM
And as for the PM content, it's just "move xxx yyy", no mapname, and there's no config to change that unless something's changed in the source code…