diff options
| -rw-r--r-- | sql/updates/2131_world.sql | 10 | ||||
| -rw-r--r-- | src/game/World.cpp | 4 |
2 files changed, 4 insertions, 10 deletions
diff --git a/sql/updates/2131_world.sql b/sql/updates/2131_world.sql index 0eec3a3d468..bbffbf095ff 100644 --- a/sql/updates/2131_world.sql +++ b/sql/updates/2131_world.sql @@ -3,20 +3,14 @@ INSERT INTO `command` VALUES ('gobject tempadd','2','Adds a temporary gameobject that is not saved to DB.'), ('npc tempadd','2','Adds temporary NPC, not saved to database.'); UPDATE `command` SET `name`="ahbotoption" WHERE `name`="ahbotoptions"; +DELETE FROM `command` WHERE `name` LIKE "ahbotoption %"; +DELETE FROM `command` WHERE `name` LIKE "ahbotoptions %"; DELETE FROM `command` WHERE `name` IN ('reload tickets'); DELETE FROM `command` WHERE `name` LIKE "path%"; DELETE FROM `command` WHERE `name` LIKE "wp%"; INSERT INTO `command` VALUES ('wp load',2,'Syntax: .wp load $pathid\nLoad pathid number for selected creature. Creature must have no waypoint data.'), ('wp event',2,'Syntax: .wp event $subcommand\nType .path event to see the list of possible subcommands or .help path event $subcommand to see info on subcommands.'), -('wp event add',2,'Syntax: .wp event add $subcommand\nAdd new waypoint action in DB.'), -('wp event mod',2,'Syntax: .wp mod $eventid $parameter $parameter_value\nModify parameter value for specified eventid.\nPossible parameters: pos_x, pos_y, pos_z, command, datalong, datalon2, dataint.'), -('wp event listid',2,'Syntax: .wp event listid $eventid\nShows specified eventid info.'), ('wp unload',2,'Syntax: .wp unload\nUnload path for selected creature.'), ('wp show',2,'Syntax: .wp show $option\nOptions:\non $pathid (or selected creature with loaded path) - Show path\noff - Hide path\ninfo $slected_waypoint - Show info for selected waypoint.'), ('wp mod ',2,'Syntax: .wp mod\nType .path mod to see the list of possible subcommands or .help path mod $subcommand to see info on subcommands.'), -('wp mod del',2,'Syntax: .wp mod del\nDelete selected waypoint.'), -('wp mod move',2,'Syntax: .wp mod move\nChange selected waypoint coordinates to your position.'), -('wp mod move_flag',2,'Syntax: .wp mod move_flag\nSet move/run flag.'), -('wp mod action',2,'Syntax: .wp mod action\nAssign action (waypoint script id) to selected waypoint.'), -('wp mod action_chance',2,'Syntax: .wp mod action_chance\nAssign chance.');
\ No newline at end of file diff --git a/src/game/World.cpp b/src/game/World.cpp index a7d835ca6f9..79f3c15201d 100644 --- a/src/game/World.cpp +++ b/src/game/World.cpp @@ -832,7 +832,7 @@ void World::LoadConfigSettings(bool reload) } // log db cleanup interval - m_configs[CONFIG_LOGDB_CLEARINTERVAL] = sConfig.GetIntDefault("LogDB.Opt.ClearInternval", 10); + m_configs[CONFIG_LOGDB_CLEARINTERVAL] = sConfig.GetIntDefault("LogDB.Opt.ClearInterval", 10); if(int32(m_configs[CONFIG_LOGDB_CLEARINTERVAL]) <= 0) { sLog.outError("LogDB.Opt.ClearInternval (%i) must be > 0, set to default 10.", m_configs[CONFIG_LOGDB_CLEARINTERVAL]); @@ -844,7 +844,7 @@ void World::LoadConfigSettings(bool reload) m_timers[WUPDATE_CLEANDB].Reset(); } m_configs[CONFIG_LOGDB_CLEARTIME] = sConfig.GetIntDefault("LogDB.Opt.ClearTime", 1209600); // 14 days default - sLog.outString("Will clear `logs` table of entries older than %i seconds every %u milliseconds.", + sLog.outString("Will clear `logs` table of entries older than %i seconds every %u minutes.", m_configs[CONFIG_LOGDB_CLEARTIME], m_configs[CONFIG_LOGDB_CLEARINTERVAL]); m_configs[CONFIG_SKILL_CHANCE_ORANGE] = sConfig.GetIntDefault("SkillChance.Orange",100); |
