* Fixed compilation errors.
* Tidy up jobmaster for easy debugging. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6686 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
64a604f58e
commit
6ae92d0a86
@ -3,6 +3,9 @@ Date Added
|
||||
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
|
||||
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
||||
|
||||
2006/05/22
|
||||
* Fixed compilation errors.
|
||||
Tidy up jobmaster for easy debugging. [Lance]
|
||||
2006/05/21
|
||||
* Part A of the Homunculus code.
|
||||
This only features the structures, status_* and clif_* (packets) and is
|
||||
|
@ -1371,11 +1371,11 @@ int clif_spawn(struct block_list *bl)
|
||||
int clif_homunack(struct map_session_data *sd)
|
||||
{
|
||||
struct homun_data *hd = sd->hd;
|
||||
unsigned char buf[64];
|
||||
|
||||
nullpo_retr(0, sd);
|
||||
nullpo_retr(0, sd->hd);
|
||||
|
||||
unsigned char buf[64];
|
||||
//memset(buf,0,packet_len_table[0x230]);
|
||||
memset(buf,0,12); //not yet set that stuff
|
||||
WBUFW(buf,0)=0x230;
|
||||
@ -1390,11 +1390,11 @@ int clif_homunack(struct map_session_data *sd)
|
||||
int clif_homuninfo(struct map_session_data *sd)
|
||||
{
|
||||
struct homun_data *hd = sd->hd;
|
||||
unsigned char buf[128];
|
||||
|
||||
nullpo_retr(0, sd);
|
||||
nullpo_retr(0, sd->hd);
|
||||
|
||||
unsigned char buf[128];
|
||||
memset(buf,0,71); //packet_len_table[0x22e]);
|
||||
WBUFW(buf,0)=0x22e;
|
||||
memcpy(WBUFP(buf,2),hd->name,NAME_LENGTH);
|
||||
@ -1418,13 +1418,14 @@ int clif_homuninfo(struct map_session_data *sd)
|
||||
WBUFW(buf,67)=hd->skillpts;
|
||||
WBUFW(buf,69)=0x21;
|
||||
clif_send(buf,/*packet_len_table[0x22e]*/71,&sd->bl,SELF);
|
||||
return 0;
|
||||
}
|
||||
|
||||
// like skillinfoblock, just for homunculi.
|
||||
int clif_homunskillinfoblock(struct map_session_data *sd)
|
||||
{
|
||||
int fd;
|
||||
int i,c,len=4,id, inf2;
|
||||
int i,c,len=4,id/*, inf2*/;
|
||||
|
||||
nullpo_retr(0, sd);
|
||||
nullpo_retr(0, sd->hd);
|
||||
|
Loading…
x
Reference in New Issue
Block a user