Jump to content

Bot tries attacking friendly units


Recommended Posts

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
Share on other sites

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
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...