diff options
-rw-r--r-- | source/WorldStorage.cpp | 4 | ||||
-rw-r--r-- | source/cPlayer.cpp | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/source/WorldStorage.cpp b/source/WorldStorage.cpp index 16439d162..c9ca69659 100644 --- a/source/WorldStorage.cpp +++ b/source/WorldStorage.cpp @@ -231,7 +231,9 @@ void cWorldStorage::InitSchemas(void) } // for itr - m_Schemas[]
// Unknown schema selected, let the admin know:
- LOGWARNING("Unknown storage schema name \"%s\". Using default. Available schemas:", m_StorageSchemaName.c_str());
+ LOGWARNING("Unknown storage schema name \"%s\". Using default (\"%s\"). Available schemas:",
+ m_StorageSchemaName.c_str(), m_SaveSchema->GetName().c_str()
+ );
for (cWSSchemaList::iterator itr = m_Schemas.begin(); itr != m_Schemas.end(); ++itr)
{
LOGWARNING("\t\"%s\"", (*itr)->GetName().c_str());
diff --git a/source/cPlayer.cpp b/source/cPlayer.cpp index 961145d6e..87db2d19d 100644 --- a/source/cPlayer.cpp +++ b/source/cPlayer.cpp @@ -682,7 +682,9 @@ void cPlayer::ResolveGroups() cGroup* CurrentGroup = *ToIterate.begin();
if( AllGroups.find( CurrentGroup ) != AllGroups.end() )
{
- LOGERROR("ERROR: Player %s is in the same group multiple times (%s). FIX IT!", m_PlayerName.c_str(), CurrentGroup->GetName().c_str() );
+ LOGWARNING("ERROR: Player \"%s\" is in the group multiple times (\"%s\"). Please fix your settings in users.ini!",
+ m_PlayerName.c_str(), CurrentGroup->GetName().c_str()
+ );
}
else
{
|