mirror of
https://github.com/mangosfour/server.git
synced 2025-12-24 10:37:02 +00:00
Reserve at server startup some guods follow last used in static DB spawns guid for creatures/gameobjects for use in .npc add/.gobject add commands. This allow safe select guids not used in all map copies. Guids for temporary spawns used from range frollow after reserved guids range. This also let select new static spawns guids (added in game chat command) near to already used static guids. So it let avoid gaps in static guids lists. Amount reserved guids set in new GuidReserveSize.* config options.
6 lines
424 B
SQL
6 lines
424 B
SQL
ALTER TABLE db_version CHANGE COLUMN required_11234_01_mangos_command required_11310_01_mangos_mangos_string bit;
|
|
|
|
DELETE FROM mangos_string WHERE entry IN (1503);
|
|
|
|
INSERT INTO mangos_string VALUES
|
|
(1503,'Can not add spawn because no free guids for static spawn in reserved guids range. Need restart server before command will can used. Also look GuidReserveSize.* config options.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
|