diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-11-19 18:19:09 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-11-19 18:19:09 +0000 |
commit | 30c8d7704026aa450b64997c2996ee8d9d4f2cec (patch) | |
tree | dae267b2e016111da192de4dbf67679878e73409 /src/map/clif.h | |
parent | 620ea0643c3bcbfed5dd7c84e8d65fc8941997a7 (diff) | |
download | hercules-30c8d7704026aa450b64997c2996ee8d9d4f2cec.tar.gz hercules-30c8d7704026aa450b64997c2996ee8d9d4f2cec.tar.bz2 hercules-30c8d7704026aa450b64997c2996ee8d9d4f2cec.tar.xz hercules-30c8d7704026aa450b64997c2996ee8d9d4f2cec.zip |
- Applied the renewal client support patch from Diablo (eA forum topic 222623)
- Added support for strcharinfo(3) to retrieve the player's map
- Added script command "searchitem" for name item searches.
- Moved PACKETVER to src/common/mmo.h as it's needed by the char-server now
- Changed the status valX from int to long so that it won't break for pointer-storage in other architectures.
- Moved the change party leader code to party.c
- A few bugfixes or packet field completions based on my past experience messing around with my server.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14155 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.h')
-rw-r--r-- | src/map/clif.h | 32 |
1 files changed, 3 insertions, 29 deletions
diff --git a/src/map/clif.h b/src/map/clif.h index 43fd8b1f7..fd9bea645 100644 --- a/src/map/clif.h +++ b/src/map/clif.h @@ -26,36 +26,8 @@ struct guild; struct battleground_data; struct quest; #include <stdarg.h> - -// server->client protocol version -// 0 - pre-? -// 1 - ? - 0x196 -// 2 - ? - 0x78, 0x79 -// 3 - ? - 0x1c8, 0x1c9, 0x1de -// 4 - ? - 0x1d7, 0x1d8, 0x1d9, 0x1da -// 5 - 2003-12-18aSakexe+ - 0x1ee, 0x1ef, 0x1f0, ?0x1c4, 0x1c5? -// 6 - 2004-03-02aSakexe+ - 0x1f4, 0x1f5 -// 7 - 2005-04-11aSakexe+ - 0x229, 0x22a, 0x22b, 0x22c -// 20070521 - 2007-05-21aSakexe+ - 0x283 -// 20070821 - 2007-08-21aSakexe+ - 0x2c5 -// 20070918 - 2007-09-18aSakexe+ - 0x2d7, 0x2d9, 0x2da -// 20071106 - 2007-11-06aSakexe+ - 0x78, 0x7c, 0x22c -// 20081126 - 2008-11-26aSakexe+ - 0x1a2 -#ifndef PACKETVER - #define PACKETVER 20081126 -#endif -// backward compatible PACKETVER 8 and 9 -#if PACKETVER == 8 -#undef PACKETVER -#define PACKETVER 20070521 -#endif -#if PACKETVER == 9 -#undef PACKETVER -#define PACKETVER 20071106 -#endif - // packet DB -#define MAX_PACKET_DB 0x500 +#define MAX_PACKET_DB 0x800 #define MAX_PACKET_VER 25 struct s_packet_db { @@ -224,6 +196,7 @@ int clif_skillup(struct map_session_data *sd,int skill_num); int clif_skillcasting(struct block_list* bl,int src_id,int dst_id,int dst_x,int dst_y,int skill_num,int pl,int casttime); int clif_skillcastcancel(struct block_list* bl); int clif_skill_fail(struct map_session_data *sd,int skill_id,int type,int btype); +int clif_skill_cooldown(struct map_session_data *sd, int skillid, unsigned int tick); int clif_skill_damage(struct block_list *src,struct block_list *dst,unsigned int tick,int sdelay,int ddelay,int damage,int div,int skill_id,int skill_lv,int type); //int clif_skill_damage2(struct block_list *src,struct block_list *dst,unsigned int tick,int sdelay,int ddelay,int damage,int div,int skill_id,int skill_lv,int type); int clif_skill_nodamage(struct block_list *src,struct block_list *dst,int skill_id,int heal,int fail); @@ -437,6 +410,7 @@ void clif_quest_add(struct map_session_data * sd, struct quest * qd, int index); void clif_quest_delete(struct map_session_data * sd, int quest_id); void clif_quest_update_status(struct map_session_data * sd, int quest_id, bool active); void clif_quest_update_objective(struct map_session_data * sd, struct quest * qd, int index); +void clif_quest_show_event(struct map_session_data *sd, struct block_list *bl, short state, short color); int clif_send(const uint8* buf, int len, struct block_list* bl, enum send_target type); int do_final_clif(void); |