#146 holiday_flag to mirror expansion_flag

Gesloten
4 jaren geleden werd geopend door image · 1 opmerkingen

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 reageerde 4 jaren geleden
Medewerker
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 gesloten om 4 jaren geleden
image verwees naar dit probleem vanuit een commit 4 jaren geleden'
Sign in to join this conversation.
Laden...
Annuleren
Opslaan
Er is nog geen inhoud.