summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-04 21:33:48 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-04 21:33:48 +0000
commit40a90a4138eb0b497d73c9aca1e5a8ce65693568 (patch)
treef489f30260e67e3cfa4d5f0d9c576126ec67cf6c /src/map/clif.c
parenta572e4193823083637917790094c5e38e3f3f389 (diff)
downloadhercules-40a90a4138eb0b497d73c9aca1e5a8ce65693568.tar.gz
hercules-40a90a4138eb0b497d73c9aca1e5a8ce65693568.tar.bz2
hercules-40a90a4138eb0b497d73c9aca1e5a8ce65693568.tar.xz
hercules-40a90a4138eb0b497d73c9aca1e5a8ce65693568.zip
- Cleaned @whogm. It will display the name of all gms online. If their GM level is above your own, it will only display their name, otherwise level, position, and party/guild info is displayed. GM's using gm-hide will not appear on this list.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10158 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 4844f0ac5..366fdbec9 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -941,18 +941,28 @@ static int clif_set0078(struct block_list *bl, struct view_data *vd, unsigned ch
}
WBUFW(buf,14)=vd->class_;
WBUFW(buf,16)=vd->hair_style; //Required for pets.
+ //18W: Weapon
WBUFW(buf,20)=vd->head_bottom; //Pet armor
if (bl->type == BL_NPC && vd->class_ == FLAG_CLASS)
{ //The hell, why flags work like this?
WBUFL(buf,22)=emblem_id;
WBUFL(buf,26)=guild_id;
}
+ //22W: shield
+ //24W: Head top
+ //26W: Head mid
+ //28W: Hair color
+ //30W: Clothes color
WBUFW(buf,32)=dir;
WBUFL(buf,34)=guild_id;
WBUFL(buf,38)=emblem_id;
+ //42W: Manner
+ //44B: Karma
+ //45B: Sex
WBUFPOS(buf,46,bl->x,bl->y,dir);
WBUFB(buf,49)=5;
WBUFB(buf,50)=5;
+ //51BL Sit/Stand
WBUFW(buf,52)=clif_setlevel(lv);
return packet_len(0x78);
}