#261 spawns table needs a water spawn and flying spawn type support

Kapalı
image tarafından 3 yıl önce kere açıldı · 2 yorum
image 3 yıl önce olarak yorumlandı

Need a flag to allow these options to be set by spawn

Need a flag to allow these options to be set by spawn
image 3 yıl önce olarak yorumlandı
Katkıcı
alter table spawn_npcs add column water_type tinyint(1) unsigned not null default 0;
alter table spawn_npcs add column flying_type tinyint(1) unsigned not null default 0;
``` alter table spawn_npcs add column water_type tinyint(1) unsigned not null default 0; alter table spawn_npcs add column flying_type tinyint(1) unsigned not null default 0; ```
image 3 yıl önce olarak yorumlandı
Katkıcı

supplementing with using the code values until we have all the DB entries updated in spawn_npcs


    RULE_INIT(R_Spawn, UseHardCodeWaterModelType, "1"); // uses alternate method of setting water type by model type (hardcoded) versus relying on just DB
    RULE_INIT(R_Spawn, UseHardCodeFlyingModelType, "1"); // uses alternate method of setting flying type by model type (hardcoded) versus relying on just DB

if flying type / water type isn't set already, then we will check by model type by a hard coded set. Once we have DB in place these rules can be disabled (0)

supplementing with using the code values until we have all the DB entries updated in spawn_npcs ``` RULE_INIT(R_Spawn, UseHardCodeWaterModelType, "1"); // uses alternate method of setting water type by model type (hardcoded) versus relying on just DB RULE_INIT(R_Spawn, UseHardCodeFlyingModelType, "1"); // uses alternate method of setting flying type by model type (hardcoded) versus relying on just DB ``` if flying type / water type isn't set already, then we will check by model type by a hard coded set. Once we have DB in place these rules can be disabled (0)
image 3 yıl önce işlemesinde bu sorunu işaret etti
Giriş yap bu konuşmaya katılmak için.
Yükleniyor...
İptal
Kaydet
Henüz bir içerik yok.