T
twostars
AI: Load ZONE_INFO table explicitly before maps or spawn data
GetServerNumber() should use this for its zone ID -> server ID mapping,
so that it's available before maps have loaded.
Maps load object event NPCs before they insert to their own container, so
the old method simply doesn't work at all for object event NPCs.
This fixes the numerous "AiServerInstance::GetServerNumber: zoneId={} not found"
errors during server startup.
Github Commit Görüntüle...
See Commints...
..
GetServerNumber() should use this for its zone ID -> server ID mapping,
so that it's available before maps have loaded.
Maps load object event NPCs before they insert to their own container, so
the old method simply doesn't work at all for object event NPCs.
This fixes the numerous "AiServerInstance::GetServerNumber: zoneId={} not found"
errors during server startup.
Github Commit Görüntüle...
See Commints...
..