#146 holiday_flag to mirror expansion_flag

Zavřený
otevřeno před 4 roky uživatelem image · 1 komentářů
image okomentoval před 4 roky

Since LUA doesn't play nice with native int64 (need to do either lua user data or trickery).. going to have holidays handled in their own column.

0 = Default All Holidays

1 = No Holidays (DO NOT SET SPAWNS/TRANSPORTERS TO THIS HOLIDAY_FLAG VALUE)

2 = Erollisi Day

4 = Brew Day

8 = Chronoportal Phenomenon

16 = Bristlebane Day

32 = Beast'r Eggstravaganza

64 = Oceansfull Festival

128 = Scorched Sky

256 = Tinkerfest

512 = Nights of the Dead

1024 = Heroes' Festival

2048 = Dragons Attack!

4096 = Frostfell

8192 = City Festival

16384 = Moonlight Enchantments

32768 = Summer Celebration Fireworks

65536 = ???
Since LUA doesn't play nice with native int64 (need to do either lua user data or trickery).. going to have holidays handled in their own column. ``` 0 = Default All Holidays 1 = No Holidays (DO NOT SET SPAWNS/TRANSPORTERS TO THIS HOLIDAY_FLAG VALUE) 2 = Erollisi Day 4 = Brew Day 8 = Chronoportal Phenomenon 16 = Bristlebane Day 32 = Beast'r Eggstravaganza 64 = Oceansfull Festival 128 = Scorched Sky 256 = Tinkerfest 512 = Nights of the Dead 1024 = Heroes' Festival 2048 = Dragons Attack! 4096 = Frostfell 8192 = City Festival 16384 = Moonlight Enchantments 32768 = Summer Celebration Fireworks 65536 = ??? ```
image okomentoval před 4 roky
Spolupracovník
alter table transporters add column holiday_flag int(10) unsigned not null default 0;
alter table spawn add column holiday_flag int(10) unsigned not null default 0;
``` alter table transporters add column holiday_flag int(10) unsigned not null default 0; alter table spawn add column holiday_flag int(10) unsigned not null default 0; ```
image odkázal na tento úkol z revize před 4 roky
Přihlaste se pro zapojení do konverzace.
Načítání...
Zrušit
Uložit
Není zde žádný obsah.