Closed Meteorika closed 2 days ago
Compiling in Release generates useless crash logs. Compile in RelWithDebInfo to get anything readable.
https://github.com/liyunfan1223/mod-playerbots/issues/715#issue-2660522699 MapUpdate.Threads >1 will crash
On Windows it will. I've been running my server for over a week with MapUpdate.Threads set to 1 and there are no issues.
As I've said before though, changing ThreadPool does basically nothing in relation to the bots.
It crashes faster and more frequent when MapUpdate.Threads = 1
currently learning how to compline with RelWithDebInfo
I know that battlegrounds can crash if you are in it as a GM, at least it has happened to me many, many times. Aside from that I never have crashes though.
Issue resolved by reinstalling everything from the scratch, using liyufan12223's branch of azerothcore
Happens randomly; bots join the queue, start buffing, match starts, sometimes match ends without crashing. My solo server never crashed with playerbots in the world or dungeons, it started to happen when I enabled [
AiPlayerbot.RandomBotAutoJoinBG = 1
], server crashes with, or without a living player on wsg bg.Changing
MapUpdate.Threads
from 1 to 8,ThreadPool
to 8, andMaxCoreStuckTime
to 30 helped a bit, server's crashes became a bit less frequent from my observation. Expected behavior: server doesn't crash during battleground populated with playerbots.