Buildable state with converting hex packet dumps

This commit is contained in:
Akkadius
2015-01-18 03:53:35 -06:00
parent 14bac9f8c0
commit 83906af9b6
8 changed files with 19 additions and 10 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ bool LauncherLink::Process() {
ServerPacket *pack = 0;
while((pack = tcpc->PopPacket())) {
_hex(WORLD__ZONE_TRACE,pack->pBuffer,pack->size);
Log.Hex(Logs::Netcode, pack->pBuffer, pack->size);
if (!authenticated) {
if (WorldConfig::get()->SharedKey.length() > 0) {
if (pack->opcode == ServerOP_ZAAuth && pack->size == 16) {
+1 -1
View File
@@ -97,7 +97,7 @@ bool LoginServer::Process() {
while((pack = tcpc->PopPacket()))
{
Log.Out(Logs::Detail, Logs::World_Server,"Recevied ServerPacket from LS OpCode 0x04x",pack->opcode);
_hex(WORLD__LS_TRACE,pack->pBuffer,pack->size);
Log.Hex(Logs::Netcode, pack->pBuffer, pack->size);
switch(pack->opcode) {
case 0:
+1 -1
View File
@@ -177,7 +177,7 @@ bool ZoneServer::Process() {
}
ServerPacket *pack = 0;
while((pack = tcpc->PopPacket())) {
_hex(WORLD__ZONE_TRACE,pack->pBuffer,pack->size);
Log.Hex(Logs::Netcode, pack->pBuffer, pack->size);
if (!authenticated) {
if (WorldConfig::get()->SharedKey.length() > 0) {
if (pack->opcode == ServerOP_ZAAuth && pack->size == 16) {