Index: CharacterHandler.cpp
===================================================================
--- CharacterHandler.cpp (revision 5370)
+++ CharacterHandler.cpp (working copy)
@@ -450,6 +450,14 @@
data.put(0, linecount);
SendPacket( &data );
+ //layer* pName=pCurrChar->GetName();
+ //sWorld.SendWorldText("Welcome %u Join the World",Player->GetName()); //世界加入新人公告
+ std::string str = "Welcome Join the World";
+ args = Player->GetName();
+ str += args;
+ sWorld.SendWorldText(str.c_str(), NULL);
DEBUG_LOG( "WORLD: Sent motd (SMSG_MOTD)" );
}
|