summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsstrunks <nsstrunks@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-28 18:32:11 +0000
committernsstrunks <nsstrunks@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-28 18:32:11 +0000
commit2af60a5e2080bf4e6452a96893de2c7878f8f394 (patch)
tree005920876855b55dd3ecf3d9965f0b8ebd3de5f7
parentd3a2e8c86bc3689ddf538137d321454db3c59cb3 (diff)
downloadhercules-2af60a5e2080bf4e6452a96893de2c7878f8f394.tar.gz
hercules-2af60a5e2080bf4e6452a96893de2c7878f8f394.tar.bz2
hercules-2af60a5e2080bf4e6452a96893de2c7878f8f394.tar.xz
hercules-2af60a5e2080bf4e6452a96893de2c7878f8f394.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@839 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog.txt6
-rw-r--r--src/map/clif.c34
2 files changed, 18 insertions, 22 deletions
diff --git a/Changelog.txt b/Changelog.txt
index d0a0101c4..7d20b5cb4 100644
--- a/Changelog.txt
+++ b/Changelog.txt
@@ -1,10 +1,6 @@
-NOTE: Something after SVN 829 screwed up clif packet processing for older
- clients.. I am looking into it now
-
- --mouse
-
Date Added
12/28
+ * Fixed clif.c errors that prevent old clients from being used. [nsstrunks]
* Fixed @jobchange to not default to upper (SVN 837) [MouseJstr]
* Fixed a compile error in @mobsearch (SVN 836) [MouseJstr]
12/27
diff --git a/src/map/clif.c b/src/map/clif.c
index 72ac50339..28cc58fcf 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -10513,23 +10513,23 @@ int do_init_clif(void) {
memcpy(clif_parse_func_table[7], clif_parse_func_table[6], sizeof(clif_parse_func_table[0]));
// Init packet function calls for packet ver 15
memcpy(clif_parse_func_table[8], clif_parse_func_table[7], sizeof(clif_parse_func_table[0]));
- clif_parse_func_table[3][0x190] = clif_parse_UseItem;
- clif_parse_func_table[3][0x094] = clif_parse_MoveToKafra;
- clif_parse_func_table[3][0x09f] = clif_parse_ActionRequest;
- clif_parse_func_table[3][0x0a7] = clif_parse_WalkToXY;
- clif_parse_func_table[3][0x07e] = clif_parse_UseSkillToPos;
- clif_parse_func_table[3][0x116] = clif_parse_DropItem;
- clif_parse_func_table[3][0x08c] = clif_parse_GetCharNameRequest;
- clif_parse_func_table[3][0x085] = clif_parse_GlobalMessage;
- clif_parse_func_table[3][0x0f7] = clif_parse_SolveCharName;
- clif_parse_func_table[3][0x113] = clif_parse_UseSkillToPos;
- clif_parse_func_table[3][0x0f3] = clif_parse_ChangeDir;
- clif_parse_func_table[3][0x0f5] = clif_parse_WantToConnection;
- clif_parse_func_table[3][0x09b] = clif_parse_CloseKafra;
- clif_parse_func_table[3][0x0a2] = clif_parse_TakeItem;
- clif_parse_func_table[3][0x089] = clif_parse_TickSend;
- clif_parse_func_table[3][0x072] = clif_parse_UseSkillToId;
- clif_parse_func_table[3][0x193] = clif_parse_MoveFromKafra;
+ clif_parse_func_table[8][0x072] = clif_parse_UseSkillToId;
+ clif_parse_func_table[8][0x07e] = clif_parse_UseSkillToPos;
+ clif_parse_func_table[8][0x089] = clif_parse_TickSend;
+ clif_parse_func_table[8][0x085] = clif_parse_GlobalMessage;
+ clif_parse_func_table[8][0x08c] = clif_parse_GetCharNameRequest;
+ clif_parse_func_table[8][0x094] = clif_parse_MoveToKafra;
+ clif_parse_func_table[8][0x09b] = clif_parse_CloseKafra;
+ clif_parse_func_table[8][0x09f] = clif_parse_ActionRequest;
+ clif_parse_func_table[8][0x0a2] = clif_parse_TakeItem;
+ clif_parse_func_table[8][0x0a7] = clif_parse_WalkToXY;
+ clif_parse_func_table[8][0x0f3] = clif_parse_ChangeDir;
+ clif_parse_func_table[8][0x0f5] = clif_parse_WantToConnection;
+ clif_parse_func_table[8][0x0f7] = clif_parse_SolveCharName;
+ clif_parse_func_table[8][0x113] = clif_parse_UseSkillToPos;
+ clif_parse_func_table[8][0x116] = clif_parse_DropItem;
+ clif_parse_func_table[8][0x190] = clif_parse_UseItem;
+ clif_parse_func_table[8][0x193] = clif_parse_MoveFromKafra;
// size of packet version 5
memcpy(&packet_size_table[0], &packet_len_table, sizeof(packet_len_table));