Pārlūkot izejas kodu

Another follow up 3d9c6e7
*Fixed #489, Added 'missing' packets for 2014-10-22

icxbb-xx 10 gadi atpakaļ
vecāks
revīzija
a6118425d9
2 mainītis faili ar 5 papildinājumiem un 2 dzēšanām
  1. 1 0
      db/packet_db.txt
  2. 4 2
      src/map/clif.c

+ 1 - 0
db/packet_db.txt

@@ -2420,6 +2420,7 @@ packet_keys: 0x290551EA,0x2B952C75,0x2D67669B // [YomRawr]
 0x0a0c,56
 0x0a0d,-1
 0x0a13,26
+0x0A18,14			// HEADER_ZC_ACCEPT_ENTER3
 0x0a24,66
 
 //Add new packets here

+ 4 - 2
src/map/clif.c

@@ -649,8 +649,10 @@ void clif_authok(struct map_session_data *sd)
 {
 #if PACKETVER < 20080102
 	const int cmd = 0x73;
-#else
+#elif PACKETVER < 20141022
 	const int cmd = 0x2eb;
+#else
+	const int cmd = 0xa18;
 #endif
 	int fd = sd->fd;
 
@@ -18423,7 +18425,7 @@ void packetdb_readdb(bool reload)
 #else
 	  269,  0,  0,  2,  6, 48,  6,  9, 26, 45, 47, 47, 56, -1,  0,  0,
 #endif
-		0,  0,  0, 26,  0,  0,  0,  0,  0,  2, 23,  2, -1,  2,  3,  2,
+		0,  0,  0, 26,  0,  0,  0,  0,  14,  2, 23,  2, -1,  2,  3,  2,
 	   21,  3,  5,  0, 66,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
  		0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
 	};