From: Andrew C. <ac...@us...> - 2005-03-18 01:47:13
|
Update of /cvsroot/planeshift/planeshift/src/server In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13616/src/server Modified Files: chatmanager.cpp gem.cpp Log Message: Made names of report files on server a bit easier to understand ( by player name instead of id ) Index: chatmanager.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/server/chatmanager.cpp,v retrieving revision 1.130 retrieving revision 1.131 diff -C2 -d -r1.130 -r1.131 *** chatmanager.cpp 13 Mar 2005 09:34:32 -0000 1.130 --- chatmanager.cpp 18 Mar 2005 01:46:47 -0000 1.131 *************** *** 183,187 **** { SendTell(msg, client->GetName(), client, target); ! client->GetActor()->LogMessage("chat tell: ", msg.sText); } break; --- 183,189 ---- { SendTell(msg, client->GetName(), client, target); ! csString action; ! action.Format("chat tell (%s): ", (const char*)msg.sPerson); ! client->GetActor()->LogMessage(action.GetData(), msg.sText); } break; Index: gem.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/server/gem.cpp,v retrieving revision 1.218 retrieving revision 1.219 diff -C2 -d -r1.218 -r1.219 *** gem.cpp 16 Mar 2005 08:21:23 -0000 1.218 --- gem.cpp 18 Mar 2005 01:46:47 -0000 1.219 *************** *** 1734,1738 **** return; csString tmp; ! tmp.Format("/this/logs/player-%i.log", playerID); logging_chat_file = vfs->Open(tmp,VFS_FILE_WRITE); --- 1734,1740 ---- return; csString tmp; ! ! tmp.Format("/this/logs/report_chat_%s-%s.log", asker.GetData(), GetCharacterData()->GetCharName() ); ! logging_chat_file = vfs->Open(tmp,VFS_FILE_WRITE); |