Added packet 0x43f's length to the packet len table and adjusted related code (followup to r13622).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13640 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
86c1cf7721
commit
500f9893a1
@ -4593,6 +4593,7 @@ int clif_status_change(struct block_list *bl,int type,int flag,unsigned int tick
|
|||||||
type == SI_READYTURN || type == SI_READYCOUNTER || type == SI_DODGE ||
|
type == SI_READYTURN || type == SI_READYCOUNTER || type == SI_DODGE ||
|
||||||
type == SI_DEVIL || type == SI_NIGHT || type == SI_INTRAVISION)
|
type == SI_DEVIL || type == SI_NIGHT || type == SI_INTRAVISION)
|
||||||
tick=0;
|
tick=0;
|
||||||
|
|
||||||
if( battle_config.display_status_timers && tick>0 )
|
if( battle_config.display_status_timers && tick>0 )
|
||||||
WBUFW(buf,0)=0x043f;
|
WBUFW(buf,0)=0x043f;
|
||||||
else
|
else
|
||||||
@ -4600,16 +4601,14 @@ int clif_status_change(struct block_list *bl,int type,int flag,unsigned int tick
|
|||||||
WBUFW(buf,2)=type;
|
WBUFW(buf,2)=type;
|
||||||
WBUFL(buf,4)=bl->id;
|
WBUFL(buf,4)=bl->id;
|
||||||
WBUFB(buf,8)=flag;
|
WBUFB(buf,8)=flag;
|
||||||
if( battle_config.display_status_timers && tick>0 ) {
|
if( battle_config.display_status_timers && tick>0 )
|
||||||
|
{
|
||||||
WBUFL(buf,9)=tick;
|
WBUFL(buf,9)=tick;
|
||||||
WBUFL(buf,13)=0;
|
WBUFL(buf,13)=0;
|
||||||
WBUFL(buf,17)=0;
|
WBUFL(buf,17)=0;
|
||||||
WBUFL(buf,21)=0;
|
WBUFL(buf,21)=0;
|
||||||
//for some reason, it isn't reading the packet length properly!
|
}
|
||||||
//clif_send(buf,packet_len(0x43f),bl,AREA);
|
clif_send(buf,packet_len(WBUFW(buf,0)),bl,AREA);
|
||||||
clif_send(buf,25,bl,AREA);
|
|
||||||
} else
|
|
||||||
clif_send(buf,packet_len(0x196),bl,AREA);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -13307,7 +13306,7 @@ static int packetdb_readdb(void)
|
|||||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25,
|
||||||
//#0x0440
|
//#0x0440
|
||||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user