From 91fd275c0b8243b47cf77500d3255695c39d55d6 Mon Sep 17 00:00:00 2001 From: LogicParrot Date: Tue, 9 Feb 2016 00:36:16 +0200 Subject: Improve world linkage error message --- src/World.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/World.cpp b/src/World.cpp index 0cb2615ef..3bfb7c730 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -558,8 +558,8 @@ void cWorld::Start(void) if (!BadWorlds.empty()) { const char * WorldName = m_WorldName.c_str(); - LOGERROR("\n######\nERROR: %s is linked to one or more invalid worlds: %s\nPlease edit %s/world.ini and fix this.\n######\n", - WorldName, BadWorlds.c_str(), WorldName); + LOGERROR("\n###### ERROR: %s is linked to the following nonexisting world/s:\n%s\n\nPlease edit %s/world.ini and fix this.\n\nNote that the server started enforcing proper world linkages recently. And people with older configs may naturally get this error. If you just want a working default config and don't mind losing this world, delete the folder \"%s\" and the server will receate one for you. Otherwise edit the world.ini file and fix the invalid linkages.\n######\n", + WorldName, BadWorlds.c_str(), WorldName, WorldName); cRoot::Get()->StopServer(); } -- cgit v1.2.3