Dropped custom_spawnlist SQL table.
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
DROP TABLE IF EXISTS `custom_spawnlist`;
|
||||
CREATE TABLE IF NOT EXISTS `custom_spawnlist` (
|
||||
`location` varchar(40) NOT NULL DEFAULT '',
|
||||
`count` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
||||
`npc_templateid` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`locx` mediumint(8) NOT NULL DEFAULT '0',
|
||||
`locy` mediumint(6) NOT NULL DEFAULT '0',
|
||||
`locz` mediumint(6) NOT NULL DEFAULT '0',
|
||||
`randomx` mediumint(6) NOT NULL DEFAULT '0',
|
||||
`randomy` mediumint(6) NOT NULL DEFAULT '0',
|
||||
`heading` mediumint(6) NOT NULL DEFAULT '0',
|
||||
`respawn_delay` mediumint(5) NOT NULL DEFAULT '0',
|
||||
`respawn_random` mediumint(5) NOT NULL DEFAULT '0',
|
||||
`loc_id` int(9) NOT NULL DEFAULT '0',
|
||||
`periodOfDay` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`npc_templateid`,`locx`,`locy`,`locz`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
@@ -647,13 +647,6 @@ SafeEnchantCostMultipiler = 5
|
||||
# Custom Components
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
# Default: False
|
||||
CustomSpawnlistTable = True
|
||||
|
||||
# Option to save GM spawn only in the custom table.
|
||||
# Default: False
|
||||
SaveGmSpawnOnCustom = True
|
||||
|
||||
# Default: False
|
||||
CustomNpcData = True
|
||||
|
||||
|
||||
@@ -220,7 +220,6 @@ public class AdminSpawn implements IAdminCommandHandler
|
||||
L2World.getInstance().deleteVisibleNpcSpawns();
|
||||
// now respawn all
|
||||
NpcData.getInstance().load();
|
||||
SpawnTable.getInstance().load();
|
||||
DBSpawnManager.getInstance().load();
|
||||
QuestManager.getInstance().reloadAllScripts();
|
||||
AdminData.getInstance().broadcastMessageToGMs("NPC Respawn completed!");
|
||||
|
||||
Reference in New Issue
Block a user