triciamc 2 Posted June 18, 2018 Share Posted June 18, 2018 As in title I'm having a problem with bot trying to attack friendly NPC's after interacting with them (for example picking up a quest or vendoiring). The bot tries to harmful spells as it turns its back and tries to walk away from NPC. It then stutter steps and sometimes even use unstuck "trying something funny" thing. Fragment of the log: Quote [D] 22:10:30 - [Quester] New step (15): TheWoodlandProtector2>Pulse [N] 22:10:30 - [Path-Finding] FindPath from 10334,6 ; 1028,41 ; 1338,676 ; "None" to 10294,01 ; 979,6999 ; 1338,124 ; "None" (Kalimdor) [N] 22:10:30 - [Path-Finding] Path Count: 2 (63,40756y) [N] 22:10:30 - [Path-Finding] FindPath from 10294,01 ; 979,6999 ; 1338,124 ; "None" to 10334,6 ; 1028,41 ; 1338,676 ; "None" (Kalimdor) 22:10:30 - [VanillaTrainLevel] Started. [N] 22:10:30 - [Path-Finding] Path Count: 2 (63,40756y) 22:10:30 - [Fight] Player Attack Grell (lvl 3) [F] 22:10:30 - [Spell] Cast (on target) Wrath (Wrath) [N] 22:10:30 - [Path-Finding] FindPath from 10300,21 ; 870,1094 ; 1335,277 ; "None" to 10291,7 ; 956,861 ; 1335,65 ; "None" (Kalimdor) [N] 22:10:30 - [Path-Finding] Path Count: 2 (87,16873y) [F] 22:10:30 - [Spell] Cast (on target) Wrath (Wrath) 22:10:30 - [VanillaTrainLevel] Started. [F] 22:10:30 - [Spell] Cast (on target) Wrath (Wrath) [F] 22:10:31 - [Spell] Cast (on target) Wrath (Wrath) 22:10:31 - [VanillaTrainLevel] Started. [N] 22:10:31 - [MovementManager] Think we are stuck [N] 22:10:31 - [MovementManager] Trying something funny, hang on [D] 22:10:31 - [MovementManager] Avoid wall: StrafeLeft [F] 22:10:31 - [Spell] Cast (on target) Wrath (Wrath) [F] 22:10:31 - [Spell] Cast (on target) Wrath (Wrath) 22:10:31 - [VanillaTrainLevel] Started. [F] 22:10:32 - [Spell] Cast (on target) Wrath (Wrath) 22:10:32 - [VanillaTrainLevel] Started. [F] 22:10:32 - [Spell] Cast (on target) Wrath (Wrath) [F] 22:10:32 - [Spell] Cast (on target) Wrath (Wrath) 22:10:32 - [VanillaTrainLevel] Started. It seemes that the bot jumps to other target but it doesnt in the client after all. I dont know... I'm also attaching my simple fightclass for a druid. I also still need help with another problem described here: Hope hearing from You people out there soon ! DRUID Q.xml Link to comment https://wrobot.eu/forums/topic/9613-bot-tries-attacking-friendly-units/ Share on other sites More sharing options...
insanity 11 Posted June 18, 2018 Share Posted June 18, 2018 Yep, happens here as well. Link to comment https://wrobot.eu/forums/topic/9613-bot-tries-attacking-friendly-units/#findComment-44595 Share on other sites More sharing options...
insanity 11 Posted June 18, 2018 Share Posted June 18, 2018 Fixed it with adding ObjectManager.Target.IsAttackable as condition in my fightclass. This is strange tho, as I've never seen this problem before. triciamc 1 Link to comment https://wrobot.eu/forums/topic/9613-bot-tries-attacking-friendly-units/#findComment-44596 Share on other sites More sharing options...
Matenia 629 Posted June 19, 2018 Share Posted June 19, 2018 Has happened to me plenty of times and I could never find out what caused this. had to solve it through detargeting friendly units while Fight.InFight == true. Link to comment https://wrobot.eu/forums/topic/9613-bot-tries-attacking-friendly-units/#findComment-44604 Share on other sites More sharing options...
triciamc 2 Posted June 19, 2018 Author Share Posted June 19, 2018 15 hours ago, insanity said: Fixed it with adding ObjectManager.Target.IsAttackable as condition in my fightclass. This is strange tho, as I've never seen this problem before. This solved the problem Link to comment https://wrobot.eu/forums/topic/9613-bot-tries-attacking-friendly-units/#findComment-44609 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now