Jump to content
TrinityCore

[SOLVED]Worldserver.exe crashes loading scenarios on first run


csanburn
 Share

Recommended Posts

Running worldserver.exe, built from master branch, for the first time after compiling. Running 64 bit under Windows Server 2012. Battle pet info loads and then scenarios start to load and I get the following error. I don't recall ever seeing a step in the guide about setting a max allowed scenario query size. Did I miss something?

Loading battle pets info...
>> Loaded 2884 battle pet breeds.
>> Loaded 998 battle pet qualities.
Loading scenarios

D:\Trinity\src\server\game\Scenarios\ScenarioMgr.cpp:132 in ScenarioMgr::LoadDB2
Data ASSERTION FAILED:
  deepestCriteriaTreeSize < MAX_ALLOWED_SCENARIO_POI_QUERY_SIZE MAX_ALLOWED_SCEN
ARIO_POI_QUERY_SIZE must be at least 43

Link to comment
Share on other sites

I changed the scenariopackets.h entry for MAX_ALLOWED_SCENARIO_POI_QUERY_SIZE from 42 to 84, to see if that would help.

Now the worldserver.exe runs without crashing. Hopefully this change has no bad side effect later.

Loading scenarios
>> Loaded 194 instance scenario entries in 2 ms
Loading scenario poi data
>> Loaded 0 scenario POI definitions. DB table `scenario_poi` is empty.
World initialized in 5 minutes 13 seconds
TC>TrinityCore rev. 0d6320dfd393 2019-08-08 09:06:16 +0200 (master branch) (Win6
4, RelWithDebInfo, Static) (worldserver-daemon) ready... 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...