summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.c5
-rw-r--r--src/map/clif.h1
-rw-r--r--src/map/packets.h10
3 files changed, 11 insertions, 5 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 63e72b3bb..4d2373f17 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -16279,6 +16279,10 @@ void clif_monster_hp_bar( struct mob_data* md, int fd ) {
WFIFOSET(fd,packet_len(0x977));
#endif
}
+/* [Ind/Hercules] placeholder for unsupported incoming packets (avoids server disconnecting client) */
+void __attribute__ ((unused)) clif_parse_dull(int fd,struct map_session_data *sd) {
+ return;
+}
/*==========================================
* Main client packet processing function
@@ -17137,4 +17141,5 @@ void clif_defaults(void) {
clif->pDebug = clif_parse_debug;
clif->pSkillSelectMenu = clif_parse_SkillSelectMenu;
clif->pMoveItem = clif_parse_MoveItem;
+ clif->pDull = clif_parse_dull;
}
diff --git a/src/map/clif.h b/src/map/clif.h
index 63d597b17..60a2868bf 100644
--- a/src/map/clif.h
+++ b/src/map/clif.h
@@ -1021,6 +1021,7 @@ struct clif_interface {
void (*pDebug) (int fd,struct map_session_data *sd);
void (*pSkillSelectMenu) (int fd, struct map_session_data *sd);
void (*pMoveItem) (int fd, struct map_session_data *sd);
+ void (*pDull) (int fd, struct map_session_data *sd);
} clif_s;
struct clif_interface *clif;
diff --git a/src/map/packets.h b/src/map/packets.h
index 05ccc08ca..3d0fd343d 100644
--- a/src/map/packets.h
+++ b/src/map/packets.h
@@ -1956,22 +1956,22 @@ packet(0x020d,-1);
packet(0x08EC,73);
packet(0x08ED,43);
packet(0x08EE,6);
- //packet(0x08EF,6,bookingignorereq,2);
+ packet(0x08EF,6,clif->pDull,2); //bookingignorereq
packet(0x08F0,6);
- //packet(0x08F1,6,bookingjoinpartyreq,2);
+ packet(0x08F1,6,clif->pDull,2); //bookingjoinpartyreq
packet(0x08F2,36);
packet(0x08F3,-1);
packet(0x08F4,6);
- //packet(0x08F5,-1,bookingsummonmember,2,4);
+ packet(0x08F5,-1,clif->pDull,2,4); //bookingsummonmember
packet(0x08F6,22);
packet(0x08F7,3);
packet(0x08F8,7);
packet(0x08F9,6);
packet(0x08FA,6);
- //packet(0x08FB,6,bookingcanceljoinparty,2);
+ packet(0x08FB,6,clif->pDull,2); //bookingcanceljoinparty
packet(0x0907,5,clif->pMoveItem,2,4);
packet(0x0908,5);
- //packet(0x08D7,28,battlegroundreg,2,4);
+ packet(0x08D7,28,clif->pDull,2,4); //battlegroundreg
packet(0x08CF,10);//Amulet spirits
packet(0x0977,14);//Monster HP Bar
#endif