summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/guildhandler.cpp5
-rw-r--r--src/net/eathena/packetsout.inc2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/eathena/guildhandler.cpp b/src/net/eathena/guildhandler.cpp
index 9d5e15f48..42c0bd951 100644
--- a/src/net/eathena/guildhandler.cpp
+++ b/src/net/eathena/guildhandler.cpp
@@ -70,6 +70,11 @@ void GuildHandler::invite(const std::string &name) const
outMsg.writeInt32(0, "unused");
outMsg.writeInt32(0, "unused");
}
+ else if (packetVersion >= 20120418)
+ {
+ createOutPacket(CMSG_GUILD_INVITE2);
+ outMsg.writeString(being->getName(), 24, "name");
+ }
}
void GuildHandler::invite(const Being *const being) const
diff --git a/src/net/eathena/packetsout.inc b/src/net/eathena/packetsout.inc
index 97f1c359d..2f09ab0a4 100644
--- a/src/net/eathena/packetsout.inc
+++ b/src/net/eathena/packetsout.inc
@@ -290,6 +290,7 @@ packet(CMSG_NPC_CASH_SHOP_CLOSE, 0x0000, 0, nullptr);
packet(CMSG_NPC_CASH_SHOP_OPEN, 0x0000, 0, nullptr);
packet(CMSG_NPC_CASH_SHOP_REQUEST_TAB, 0x0000, 0, nullptr);
packet(CMSG_NPC_CASH_SHOP_SCHEDULE, 0x0000, 0, nullptr);
+packet(CMSG_GUILD_INVITE2, 0x0000, 0, nullptr);
#else
// 20040713
if (packetVersion >= 20040713)
@@ -676,6 +677,7 @@ if (packetVersion >= 20120418)
packet(CMSG_FRIENDS_ADD_PLAYER, 0x023b, 26, clif->pFriendsListAdd);
packet(CMSG_MOVE_FROM_STORAGE, 0x0364, 8, clif->pMoveFromKafra);
packet(CMSG_HOMUNCULUS_MENU, 0x0361, 5, clif->pHomMenu);
+ packet(CMSG_GUILD_INVITE2, 0x0916, 26, clif->pGuildInvite2);
}
// 20120702