mirror of
https://github.com/mangosfour/server.git
synced 2025-12-24 10:37:02 +00:00
* Rename `realmlist`.`color` field to `realmflags` * Client 2.x and later support show in realm list supported client version for specific realm. For client 1.x this implemented by adding version to name in similar way as it look in more recent clients. For enable version show each affected realm must have in `realmflags` set flag 4. For realm work with not officially supported builds (build > last suported) will show version 0.0.0 and correct build value.
9 lines
434 B
SQL
9 lines
434 B
SQL
ALTER TABLE realmd_db_version CHANGE COLUMN required_9010_01_realmd_realmlist required_9746_01_realmd_realmlist bit;
|
|
|
|
ALTER TABLE realmlist
|
|
CHANGE COLUMN color realmflags tinyint(3) unsigned NOT NULL default '0'
|
|
COMMENT 'Supported masks: 0x1 (invalid, not show in realm list), 0x4 (show version and build), 0x20 (new players), 0x40 (recommended)';
|
|
|
|
|
|
UPDATE realmlist
|
|
SET realmflags = realmflags & ~(0x01 | 0x04 | 0x20 | 0x40) ;
|