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

Fechado
3 anos atrás foi aberto por image · 2 comentários
image comentado 3 anos atrás

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 comentado 3 anos atrás
Colaborador
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 comentado 3 anos atrás
Colaborador

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 citou este problema em um commit 3 anos atrás
image fechado em 3 anos atrás
Faça login para participar desta conversação.
Carregando...
Cancelar
Salvar
Ainda não há conteúdo.