-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AC][Crash] another crash in GetNextBGTravelNode() #616
Comments
It looks like someone did manage to lure the mine boss to a different area id (out of the mine or maybe under the textures somewhere), so mineWP was never found (assertion failed). P.S. |
We never know how players will play XD |
https://gist.github.com/Blandyoung/b7b18797ef66b56482595c9cec7d72ae It seems to be the same problem |
This is my temporary solution Remove the following code located in bot_ai.cpp //Last thing: try to capture the mines (2 people at most)
|
It seems FindInAreaWPs might return nullptr, so if not find, might need need skip ones? WanderNode* WanderNode::FindInAreaWPs(uint32 areaId, node_check_ftype_c const& pred) |
I add all if (!bossWP) return or if (bossWP && other) judge after call FindInAreaWPs, till now no crash ,I will test more time and feedback |
trickerer/AzerothCore-wotlk-with-NPCBots@3c092a7 should be enough to tempfix this but the whole AV wanderer bot routine needs massive adjustments |
trickerer/TrinityCore-3.3.5-with-NPCBots@2d3cdd4af7 trickerer/TrinityCore-3.3.5-with-NPCBots@e5b2110498 trickerer/TrinityCore-3.3.5-with-NPCBots@72e2f1f5f4 trickerer/AzerothCore-wotlk-with-NPCBots@3c092a797a trickerer/AzerothCore-wotlk-with-NPCBots@0bd1498411 trickerer/AzerothCore-wotlk-with-NPCBots@79b975d9c9 trickerer/AzerothCore-wotlk-with-NPCBots@6de48a9595 trickerer/AzerothCore-wotlk-with-NPCBots@68261d11c2 Closes #805. Ref #616. Ref #800
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Current behaviour
It is still a problem during the attack phase of the AV boss
Possible causes of errors
There is no available path between the
curNode
node and themineWP
node, which makes it impossible to calculate the shortest path.There is an available path between the
curNode
node and themineWP
node, but the calculated shortest path is empty due to some reasons.Expected behaviour
No response
Crashlog
https://gist.github.com/Blandyoung/81048c1c8734684875a9e4fa0f38a3ca
Steps to reproduce the problem
I am not sure about the steps to reproduce, but theoretically, they will appear in the final stage of the battle in the Alterac Valley
TrinityCore or AzerothCore
AzerothCore
Core rev. hash/commit
AzerothCore 2023-2-27
Operating system
winserver2019
The text was updated successfully, but these errors were encountered: