liyunfan1223 / mod-playerbots

AzerothCore Playerbots Module
https://discord.gg/NQm5QShwf9
GNU Affero General Public License v3.0
196 stars 106 forks source link

PvP in Dalaran #227

Open noisiver opened 2 months ago

noisiver commented 2 months ago

Describe the bug Bots like to attack each other in Dalaran. One attacks the other but the other doesn't fight back. It's not a constant but does happen frequently enough. They also like to try going into the opposing factions area but will obviously get teleported out of it instantly.

I might also add that they don't care if a realm is PvP or not. This issue is exactly the same thing as when running a realm set as Normal - the bots will attack each other when PvP isn't flagged but again only one will attack while the other is completely unaware.

Commit hash f475b94

To Reproduce Steps to reproduce the behavior:

  1. Go to Dalaran while there are bots with a high enough level to be there
  2. Watch them for some time

Expected behavior They shouldn't care about each other in that way.

Screenshots image image

Desktop (please complete the following information):

Additional context I've tried adding the zone id of Dalaran (4395) to PvpProhibitedZoneIds but that didn't work, but it worked fine for the DK starting zone.

There should probably be a check to make sure their target is flagged for PvP if it is a player on top of PvpProhibitedZoneIds.

It might be a while before you see them attacking each other. I don't hang around in Dalaran all the time but I keep seeing it when I do pass through there.

nl-saw commented 1 month ago

I can confirm this issue.