summaryrefslogtreecommitdiff
path: root/src/net/eathena/charserverhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-10 16:54:46 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-10 16:54:46 +0300
commit7d162145958fccfcc3ba32a7db3b8161cfe83fe2 (patch)
treed109f74483a9274bca46a41670cc5ec69b50876f /src/net/eathena/charserverhandler.cpp
parent8aad60beb37fb0f364b0d8ab5bbe66232eacb676 (diff)
downloadplus-7d162145958fccfcc3ba32a7db3b8161cfe83fe2.tar.gz
plus-7d162145958fccfcc3ba32a7db3b8161cfe83fe2.tar.bz2
plus-7d162145958fccfcc3ba32a7db3b8161cfe83fe2.tar.xz
plus-7d162145958fccfcc3ba32a7db3b8161cfe83fe2.zip
Mark all unimplimented packets with UNIMPLIMENTEDPACKET attribute.
Diffstat (limited to 'src/net/eathena/charserverhandler.cpp')
-rw-r--r--src/net/eathena/charserverhandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp
index ad137ab84..5096fb3aa 100644
--- a/src/net/eathena/charserverhandler.cpp
+++ b/src/net/eathena/charserverhandler.cpp
@@ -24,6 +24,7 @@
#include "client.h"
#include "configuration.h"
+#include "logger.h"
#include "settings.h"
#include "enums/being/attributes.h"
@@ -393,6 +394,7 @@ void CharServerHandler::processCharLogin(Net::MessageIn &msg)
void CharServerHandler::processCharLogin2(Net::MessageIn &msg)
{
+ // ignored
msg.readInt16("len");
msg.readUInt8("char slots");
msg.readUInt8("left slots");
@@ -607,6 +609,7 @@ void CharServerHandler::changeSlot(const int oldSlot, const int newSlot)
void CharServerHandler::processCharChangeSlot(Net::MessageIn &msg)
{
+ UNIMPLIMENTEDPACKET;
msg.readInt16("len");
msg.readInt16("flag"); // 0 - ok, 1 - error
msg.readInt16("unused");