summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-10 16:36:52 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-10 16:36:52 +0300
commitb3f38fd1cac82b68fb057db5cf6c6e80e0cdfd90 (patch)
tree07a2236398d464bc81ed38beb2e1b675a92fcdf6 /src/net/ea
parent3131f766339fa58875bce8257f6127136c217a30 (diff)
downloadplus-b3f38fd1cac82b68fb057db5cf6c6e80e0cdfd90.tar.gz
plus-b3f38fd1cac82b68fb057db5cf6c6e80e0cdfd90.tar.bz2
plus-b3f38fd1cac82b68fb057db5cf6c6e80e0cdfd90.tar.xz
plus-b3f38fd1cac82b68fb057db5cf6c6e80e0cdfd90.zip
For unknown packet field values show packet id and field value.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/beingrecv.cpp2
-rw-r--r--src/net/ea/chatrecv.cpp2
-rw-r--r--src/net/ea/npcrecv.cpp2
-rw-r--r--src/net/ea/partyrecv.cpp4
-rw-r--r--src/net/ea/playerrecv.cpp2
5 files changed, 6 insertions, 6 deletions
diff --git a/src/net/ea/beingrecv.cpp b/src/net/ea/beingrecv.cpp
index 364236a08..aa84b0143 100644
--- a/src/net/ea/beingrecv.cpp
+++ b/src/net/ea/beingrecv.cpp
@@ -261,7 +261,7 @@ void BeingRecv::processBeingAction(Net::MessageIn &msg)
case AttackType::TOUCH_SKILL:
case AttackType::MISS:
case AttackType::SKILLMISS:
- UNIMPLIMENTEDPACKET;
+ UNIMPLIMENTEDPACKETFIELD(CAST_S32(type));
break;
}
BLOCK_END("BeingRecv::processBeingAction")
diff --git a/src/net/ea/chatrecv.cpp b/src/net/ea/chatrecv.cpp
index 9a49e6f94..4e4695cf6 100644
--- a/src/net/ea/chatrecv.cpp
+++ b/src/net/ea/chatrecv.cpp
@@ -117,7 +117,7 @@ void ChatRecv::processWhisperResponseContinue(Net::MessageIn &msg,
}
break;
default:
- UNIMPLIMENTEDPACKET;
+ UNIMPLIMENTEDPACKETFIELD(type);
break;
}
BLOCK_END("ChatRecv::processWhisperResponse")
diff --git a/src/net/ea/npcrecv.cpp b/src/net/ea/npcrecv.cpp
index 89bacfd2d..ad3a6da10 100644
--- a/src/net/ea/npcrecv.cpp
+++ b/src/net/ea/npcrecv.cpp
@@ -212,7 +212,7 @@ void NpcRecv::processNpcCommand(Net::MessageIn &msg)
break;
}
default:
- UNIMPLIMENTEDPACKET;
+ UNIMPLIMENTEDPACKETFIELD(cmd);
break;
}
}
diff --git a/src/net/ea/partyrecv.cpp b/src/net/ea/partyrecv.cpp
index c3c87c145..6d7146ab5 100644
--- a/src/net/ea/partyrecv.cpp
+++ b/src/net/ea/partyrecv.cpp
@@ -86,7 +86,7 @@ void PartyRecv::processPartySettingsContinue(Net::MessageIn &msg,
break;
default:
case PartyShare::UNKNOWN:
- UNIMPLIMENTEDPACKET;
+ UNIMPLIMENTEDPACKETFIELD(CAST_S32(exp));
break;
}
@@ -112,7 +112,7 @@ void PartyRecv::processPartySettingsContinue(Net::MessageIn &msg,
break;
default:
case PartyShare::UNKNOWN:
- UNIMPLIMENTEDPACKET;
+ UNIMPLIMENTEDPACKETFIELD(CAST_S32(item));
break;
}
}
diff --git a/src/net/ea/playerrecv.cpp b/src/net/ea/playerrecv.cpp
index a739ece3a..466c73063 100644
--- a/src/net/ea/playerrecv.cpp
+++ b/src/net/ea/playerrecv.cpp
@@ -209,7 +209,7 @@ void PlayerRecv::processPlayerArrowMessage(Net::MessageIn &msg)
// arrows equiped
break;
default:
- UNIMPLIMENTEDPACKET;
+ UNIMPLIMENTEDPACKETFIELD(type);
break;
}
BLOCK_END("PlayerRecv::processPlayerArrowMessage")