summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-05 11:43:20 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-05 11:43:20 +0000
commit8ec1c47aed09c90343949d57c92760ba84738a46 (patch)
tree8e00a7c53171347a5e110b19482c38bf4ebc8683 /src
parent1bbd86388b5396a4c3ef9f1d34e2c6113955c92b (diff)
downloadhercules-8ec1c47aed09c90343949d57c92760ba84738a46.tar.gz
hercules-8ec1c47aed09c90343949d57c92760ba84738a46.tar.bz2
hercules-8ec1c47aed09c90343949d57c92760ba84738a46.tar.xz
hercules-8ec1c47aed09c90343949d57c92760ba84738a46.zip
- Found the position of emblem_id in packet 1b6, commented out the old fix while it's in trial period.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9409 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index b419fdae6..97b66d539 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -5992,6 +5992,7 @@ int clif_party_option(struct party_data *p,struct map_session_data *sd,int flag)
if(sd==NULL)
return 0;
WBUFW(buf,0)=0x101;
+ // WBUFL(buf,2) // that's how the client reads it, still need to check it's uses [FlavioJS]
WBUFW(buf,2)=((flag&0x01)?2:p->party.exp);
WBUFW(buf,4)=0; //NOTE: We don't know yet what this is for, it is NOT for item share rules, though. [Skotlex]
if(flag==0)
@@ -6830,7 +6831,7 @@ int clif_guild_basicinfo(struct map_session_data *sd)
WFIFOL(fd,30)=0; // Tax Points
WFIFOL(fd,34)=0; // Tendency: (left) Vulgar [-100,100] Famed (right)
WFIFOL(fd,38)=0; // Tendency: (down) Wicked [-100,100] Righteous (up)
- WFIFOL(fd,42)=0; //## Unknown... // l”H
+ WFIFOL(fd,42)=g->emblem_id;
memcpy(WFIFOP(fd,46),g->name, NAME_LENGTH);
memcpy(WFIFOP(fd,70),g->master, NAME_LENGTH);
@@ -6845,7 +6846,8 @@ int clif_guild_basicinfo(struct map_session_data *sd)
strncpy((char*)WFIFOP(fd,94),msg_txt(299),20);
WFIFOSET(fd,packet_len_table[WFIFOW(fd,0)]);
- clif_guild_emblem(sd,g); // Guild emblem vanish fix [Valaris]
+ // Found the appropriate packet field, testing for a trial period. [FlavioJS]
+ //clif_guild_emblem(sd,g); // Guild emblem vanish fix [Valaris]
return 0;
}