summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2009-05-19 15:58:58 +0100
committerDavid Athay <ko2fan@gmail.com>2009-05-19 15:58:58 +0100
commite975b11e1885457295a51778d8337b097549228d (patch)
tree09f340afb43894c87f38a0b198392305f67d6ee0 /src/net
parent3dd404ee8a02958089bf2c6901fb877d2fae760e (diff)
downloadmana-client-e975b11e1885457295a51778d8337b097549228d.tar.gz
mana-client-e975b11e1885457295a51778d8337b097549228d.tar.bz2
mana-client-e975b11e1885457295a51778d8337b097549228d.tar.xz
mana-client-e975b11e1885457295a51778d8337b097549228d.zip
Fixed targeting and warn on attack-range not being found in itemdb.
Tried to make the client continue attacking (it does not need to send attack packets, but just continue playing attack animation and sounds). Now logs a warning when a weapon is found without an attack-range (I keep finding weapons with an attack-range of 0 which makes it hard to target monsters).
Diffstat (limited to 'src/net')
-rw-r--r--src/net/tmwserv/protocol.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/net/tmwserv/protocol.h b/src/net/tmwserv/protocol.h
index 0f2a1b0d..6124263a 100644
--- a/src/net/tmwserv/protocol.h
+++ b/src/net/tmwserv/protocol.h
@@ -162,9 +162,11 @@ enum {
CPMSG_GUILD_QUIT_RESPONSE = 0x0361, // B error
PCMSG_GUILD_PROMOTE_MEMBER = 0x0365, // W guild, S name, B rights
CPMSG_GUILD_PROMOTE_MEMBER_RESPONSE = 0x0366, // B error
+ PCMSG_GUILD_KICK_MEMBER = 0x0370, // W guild, S name
+ CPMSG_GUILD_KICK_MEMBER_RESPONSE = 0x0371, // B error
- CPMSG_GUILD_INVITED = 0x0370, // S char name, S guild name, W id
- CPMSG_GUILD_REJOIN = 0x0371, // S name, W guild, W rights, W channel, S announce
+ CPMSG_GUILD_INVITED = 0x0388, // S char name, S guild name, W id
+ CPMSG_GUILD_REJOIN = 0x0389, // S name, W guild, W rights, W channel, S announce
// Party
PCMSG_PARTY_INVITE = 0x03A0, // S name