summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/clif.c24
2 files changed, 23 insertions, 3 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 56bdfb2b1..ee5ed0d2d 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -3,6 +3,8 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
+09/05/19
+ * Added missing packet 0x2c9 and fixed 0x2da's length error. [Inkfish]
09/05/18
* Item-bonuses now use the official default durations for status changes [Playtester]
* status calc code cleanup [ultramage]
diff --git a/src/map/clif.c b/src/map/clif.c
index ee3e24c5f..13014d7f0 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -5509,6 +5509,23 @@ int clif_party_info(struct party_data* p, struct map_session_data *sd)
return 0;
}
+
+/*==========================================
+ * The player's 'party invite' state, sent during login
+ * R 02c9 <flag>.B
+ *------------------------------------------*/
+void clif_partyinvitationstate(struct map_session_data* sd)
+{
+ int fd;
+ nullpo_retv(sd);
+ fd = sd->fd;
+
+ WFIFOHEAD(fd, packet_len(0x2c9));
+ WFIFOW(fd, 0) = 0x2c9;
+ WFIFOB(fd, 2) = 0; // not implemented
+ WFIFOSET(fd, packet_len(0x2c9));
+}
+
/*==========================================
* p[eBU
*------------------------------------------*/
@@ -7582,7 +7599,7 @@ void clif_equipcheckbox(struct map_session_data* sd)
WFIFOHEAD(fd, packet_len(0x2da));
WFIFOW(fd, 0) = 0x2da;
- WFIFOW(fd, 2) = (sd->status.show_equip ? 1 : 0);
+ WFIFOB(fd, 2) = (sd->status.show_equip ? 1 : 0);
WFIFOSET(fd, packet_len(0x2da));
}
@@ -8101,6 +8118,7 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd)
}
#if PACKETVER >= 20070918
+ clif_partyinvitationstate(sd);
clif_equipcheckbox(sd);
#endif
@@ -13314,8 +13332,8 @@ static int packetdb_readdb(void)
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,191, 0, 0, 0, 0, 0, 0,
//#0x02C0
- 0, 0, 0, 0, 0, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 6, -1, 10, 10, 0, 0, -1, 32, 6, 0,
+ 0, 0, 0, 0, 0, 30, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 6, -1, 10, 10, 3, 0, -1, 32, 6, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
//#0x0300