summaryrefslogtreecommitdiff
path: root/src/emap/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-05 19:53:45 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-05 19:53:45 +0300
commit767fc78589716529874626d6adecbec9e0515680 (patch)
tree2d237d881b3d3ddc04bd7ff263e8e90069ce9d8c /src/emap/packets_struct.h
parent3c0f83c3da4c57587baba441a2eece59b1b7c1e1 (diff)
downloadevol-hercules-767fc78589716529874626d6adecbec9e0515680.tar.gz
evol-hercules-767fc78589716529874626d6adecbec9e0515680.tar.bz2
evol-hercules-767fc78589716529874626d6adecbec9e0515680.tar.xz
evol-hercules-767fc78589716529874626d6adecbec9e0515680.zip
Reimpliment packet 0x914 for old clients.
Diffstat (limited to 'src/emap/packets_struct.h')
-rw-r--r--src/emap/packets_struct.h67
1 files changed, 67 insertions, 0 deletions
diff --git a/src/emap/packets_struct.h b/src/emap/packets_struct.h
index 901b135..9a030ce 100644
--- a/src/emap/packets_struct.h
+++ b/src/emap/packets_struct.h
@@ -155,4 +155,71 @@ struct packet_spawn_unit_old {
#endif
} __attribute__((packed));
+struct packet_unit_walking_old {
+ short PacketType;
+#if PACKETVER >= 20091103
+ short PacketLength;
+#endif
+#if PACKETVER > 20071106
+ unsigned char objecttype;
+#endif
+//#if PACKETVER >= 20131223
+// unsigned int AID;
+//#endif
+ unsigned int GID;
+ short speed;
+ short bodyState;
+ short healthState;
+#if PACKETVER < 7
+ short effectState;
+#else
+ int effectState;
+#endif
+ short job;
+ short head;
+#if PACKETVER < 7
+ short weapon;
+#else
+ int weapon;
+#endif
+ short accessory;
+ unsigned int moveStartTime;
+#if PACKETVER < 7
+ short shield;
+#endif
+ short accessory2;
+ short accessory3;
+ short headpalette;
+ short bodypalette;
+ short headDir;
+#if PACKETVER >= 20101124
+ short robe;
+#endif
+ unsigned int GUID;
+ short GEmblemVer;
+ short honor;
+#if PACKETVER > 7
+ int virtue;
+#else
+ short virtue;
+#endif
+ uint8 isPKModeON;
+ unsigned char sex;
+ unsigned char MoveData[6];
+ unsigned char xSize;
+ unsigned char ySize;
+ short clevel;
+#if PACKETVER >= 20080102
+ short font;
+#endif
+#if PACKETVER >= 20120221
+ int maxHP;
+ int HP;
+ unsigned char isBoss;
+#endif
+#if PACKETVER >= 20150513
+ short body;
+#endif
+} __attribute__((packed));
+
#endif /* EVOL_MAP_PACKETS_STRUCT_H */