git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@839 54d463be-8e91-2dee-dedb-b68131a5f0ec

This commit is contained in:
nsstrunks 2004-12-28 18:32:11 +00:00
parent ecfc36dc6e
commit 4671c48d69
2 changed files with 18 additions and 22 deletions

View File

@ -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

View File

@ -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));