Streamline UCS

This commit is contained in:
Akkadius
2019-09-02 01:39:52 -05:00
parent bfd0752c4d
commit ccbbadc5ee
10 changed files with 124 additions and 124 deletions
+3 -3
View File
@@ -61,7 +61,7 @@ void WorldServer::ProcessMessage(uint16 opcode, EQ::Net::Packet &p)
ServerPacket tpack(opcode, p);
ServerPacket *pack = &tpack;
Log(Logs::Detail, Logs::UCSServer, "Received Opcode: %4X", opcode);
LogInfo("Received Opcode: {:#04x}", opcode);
switch (opcode)
{
@@ -82,7 +82,7 @@ void WorldServer::ProcessMessage(uint16 opcode, EQ::Net::Packet &p)
std::string Message = Buffer;
Log(Logs::Detail, Logs::UCSServer, "Player: %s, Sent Message: %s", From, Message.c_str());
LogInfo("Player: [{}], Sent Message: [{}]", From, Message.c_str());
Client *c = g_Clientlist->FindCharacter(From);
@@ -93,7 +93,7 @@ void WorldServer::ProcessMessage(uint16 opcode, EQ::Net::Packet &p)
if (!c)
{
Log(Logs::Detail, Logs::UCSServer, "Client not found.");
LogInfo("Client not found");
break;
}