ZhengPeiRu21 / mod-playerbots

AzerothCore Playerbots Module
MIT License
194 stars 93 forks source link

New Segmentation fault #116

Closed htc16 closed 1 year ago

htc16 commented 1 year ago

After this PR https://github.com/ZhengPeiRu21/mod-playerbots/pull/115, I debugged the following log.

gdb.txt

ZhengPeiRu21 commented 1 year ago

This was caused by having a ReturnDelay lower than 2000, so the urand call will error. Fixed in https://github.com/ZhengPeiRu21/mod-playerbots/commit/5d0aa407d6393051779e6c558ebbdbc822dc2f37.