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

Закриті
3 роки тому відкрито image · 2 коментарів
image відкоментовано 3 роки тому

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 роки тому
Співавтор
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 роки тому
Співавтор

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 роки тому
image закрито 3 роки тому
Підпишіться щоб приєднатися до обговорення.
Етап відсутній
Немає відповідального
1 учасників
Завантажується...
Скасувати
Зберегти
Тут ще немає жодного вмісту.