Closed EvilCalf closed 1 year ago
I aslo change NpcBot.WanderingBots.Continents.Levels = 0,0,10,10,10,10,10,10,40
There are no wander nodes for brackets 70-79 and 80.
So i must set NpcBot.WanderingBots.Continents.Levels 70-79 and 80. =0,0 ? Does this means that there are no wander bots in these two levels of regions.
This is exactly what I said
Thank you helps. Now i change NpcBot.WanderingBots.Continents.Count = 0, and the server is ok. The previous count is 50.
gdb.txt is as follow:
Thread 1 "worldserver" received signal SIGSEGV, Segmentation fault. 0x000000000142db4c in Acore::Assert (file=..., line=, function=..., debugInfo="", message="!level_nodes.empty()", fmtMessage="") at /opt/1/AzerothCore-wotlk-with-NPCBots/src/common/Debugging/Errors.cpp:112
112 Crash(formattedMessage.c_str());
0 0x000000000142db4c in Acore::Assert (file=..., line=, function=..., debugInfo="", message="!level_nodes.empty()", fmtMessage="") at /opt/1/AzerothCore-wotlk-with-NPCBots/src/common/Debugging/Errors.cpp:112
1 0x00000000012c10bf in WanderingBotsGenerator::GenerateWanderingBotToSpawn (this=, spareBotIdsPerClass=std::map with 18 elements = {...}, desired_bracket=, spawns_a=..., spawns_h=..., spawns_n=..., immediate=, bracketEntry=0x0, registry=0x0) at /opt/1/AzerothCore-wotlk-with-NPCBots/src/server/game/AI/NpcBots/botdatamgr.cpp:283
2 0x00000000012be6dd in WanderingBotsGenerator::GenerateWanderingBotsToSpawn (this=, count=, map_id=, team=, immediate=, bracketEntry=, registry=, spawned=) at /opt/1/AzerothCore-wotlk-with-NPCBots/src/server/game/AI/NpcBots/botdatamgr.cpp:521
3 0x000000000129ad8c in BotDataMgr::GenerateWanderingBots () at /opt/1/AzerothCore-wotlk-with-NPCBots/src/server/game/AI/NpcBots/botdatamgr.cpp:1219
4 0x00000000012996a8 in BotDataMgr::LoadNpcBots (spawn=) at /opt/1/AzerothCore-wotlk-with-NPCBots/src/server/game/AI/NpcBots/botdatamgr.cpp:868
5 0x00000000009e08c2 in BotMgr::Initialize () at /opt/1/AzerothCore-wotlk-with-NPCBots/src/server/game/AI/NpcBots/botmgr.cpp:249
6 0x000000000114dbda in World::SetInitialWorldSettings (this=) at /opt/1/AzerothCore-wotlk-with-NPCBots/src/server/game/World/World.cpp:2072
7 0x00000000004423dc in main (argc=, argv=) at /opt/1/AzerothCore-wotlk-with-NPCBots/src/server/apps/worldserver/Main.cpp:309
0 0x000000000142db4c in Acore::Assert (file=..., line=, function=..., debugInfo="", message="!level_nodes.empty()", fmtMessage="") at /opt/1/AzerothCore-wotlk-with-NPCBots/src/common/Debugging/Errors.cpp:112
1 0x00000000012c10bf in WanderingBotsGenerator::GenerateWanderingBotToSpawn (this=, spareBotIdsPerClass=std::map with 18 elements = {...}, desired_bracket=, spawns_a=..., spawns_h=..., spawns_n=..., immediate=, bracketEntry=0x0, registry=0x0) at /opt/1/AzerothCore-wotlk-with-NPCBots/src/server/game/AI/NpcBots/botdatamgr.cpp:283
2 0x00000000012be6dd in WanderingBotsGenerator::GenerateWanderingBotsToSpawn (this=, count=, map_id=, team=, immediate=, bracketEntry=, registry=, spawned=) at /opt/1/AzerothCore-wotlk-with-NPCBots/src/server/game/AI/NpcBots/botdatamgr.cpp:521
3 0x000000000129ad8c in BotDataMgr::GenerateWanderingBots () at /opt/1/AzerothCore-wotlk-with-NPCBots/src/server/game/AI/NpcBots/botdatamgr.cpp:1219
4 0x00000000012996a8 in BotDataMgr::LoadNpcBots (spawn=) at /opt/1/AzerothCore-wotlk-with-NPCBots/src/server/game/AI/NpcBots/botdatamgr.cpp:868
8143795.209781 warning: 8143795.210072 RTTI symbol not found for class 'std::_Sp_counted_ptr<ResultSet*, (__gnu_cxx::_Lock_policy)2>' 8143795.210104 std::shared_ptr (use count 1, weak count 0) = {get() = 0x7fffa96aeec0}
botoldMSTime =
index =
field =
5 0x00000000009e08c2 in BotMgr::Initialize () at /opt/1/AzerothCore-wotlk-with-NPCBots/src/server/game/AI/NpcBots/botmgr.cpp:249
No locals.
6 0x000000000114dbda in World::SetInitialWorldSettings (this=) at /opt/1/AzerothCore-wotlk-with-NPCBots/src/server/game/World/World.cpp:2072
7 0x00000000004423dc in main (argc=, argv=) at /opt/1/AzerothCore-wotlk-with-NPCBots/src/server/apps/worldserver/Main.cpp:309
8143796.018926 warning: 8143796.019160 RTTI symbol not found for class 'std::_Sp_counted_deleter<decltype(nullptr), main::$_8, std::allocator, (gnu_cxx::_Lock_policy)2>'
8143796.019203
std::shared_ptr (use count 1, weak count 0) = {get() = 0x0}
sMetricHandle = warning: 8143796.224962 RTTI symbol not found for class 'std::_Sp_counted_deleter<decltype(nullptr), main::$_10, std::allocator, ( gnu_cxx::_Lock_policy)2>'
8143796.224989
Python Exception <class 'KeyboardInterrupt'> <class 'KeyboardInterrupt'>:
Id Target Id Frame
Thread 7 (Thread 0x7fffa6fff700 (LWP 2960685)):
0 futex_wait_cancelable (private=, expected=0, futex_word=0x1cb6cd0 <MapMgr::instance()::instance+376>) at ../sysdeps/nptl/futex-internal.h:183
1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x1cb6c30 <MapMgr::instance()::instance+216>, cond=0x1cb6ca8 <MapMgr::instance()::instance+336>) at pthread_cond_wait.c:508
2 __pthread_cond_wait (cond=0x1cb6ca8 <MapMgr::instance()::instance+336>, mutex=0x1cb6c30 <MapMgr::instance()::instance+216>) at pthread_cond_wait.c:647
No locals.
3 0x00007ffff712fe30 in std::condition_variable::wait(std::unique_lock&) () from /lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
4 0x0000000000ec8546 in ProducerConsumerQueue<UpdateRequest*>::WaitAndPop (this=0x1cb6c30 <MapMgr::instance()::instance+216>, value=@0x7fffa6ffd640: 0x0) at /opt/1/AzerothCore-wotlk-with-NPCBots/src/common/Threading/PCQueue.h:83
5 0x0000000000ec7fc7 in MapUpdater::WorkerThread (this=0x1cb6c30 <MapMgr::instance()::instance+216>) at /opt/1/AzerothCore-wotlk-with-NPCBots/src/server/game/Maps/MapUpdater.cpp:152
6 0x00007ffff7135de4 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
7 0x00007ffff7265609 in start_thread (arg=) at pthread_create.c:477
8 0x00007ffff6e22133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals. Quit