AI: Load ZONE_INFO table explicitly before maps or spawn data

  • Konuyu Başlatan Konuyu Başlatan twostars
  • Başlangıç tarihi Başlangıç tarihi
  • Öne çıkan
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...

..
 

Similar threads

T
Cevaplar
0
Görüntüleme
24
twostars
T
K
Cevaplar
0
Görüntüleme
38
kenner2
K
T
Cevaplar
0
Görüntüleme
52
twostars
T
T
Cevaplar
0
Görüntüleme
22
twostars
T
Geri
Üst