- The picklog will now record negative values for items sold to npcs.

- Added inmediate position and hp-bar update when a character joins a party.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7934 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex 2006-07-28 03:28:13 +00:00
parent 8f5f5ce14c
commit 1b23809655
3 changed files with 7 additions and 1 deletions

View File

@ -4,6 +4,10 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/07/27 2006/07/27
* The picklog will now record negative values for items sold to npcs.
[Skotlex]
* Added inmediate position and hp-bar update when a character joins a
party. [Skotlex]
* Added missing SC information to NPC_CHANGEUNDEAD [Skotlex] * Added missing SC information to NPC_CHANGEUNDEAD [Skotlex]
* Added config setting party_update_interval so you can specify how often * Added config setting party_update_interval so you can specify how often
the party-mate minidots should be updated (defaults to 1 sec). [Skotlex] the party-mate minidots should be updated (defaults to 1 sec). [Skotlex]

View File

@ -1302,7 +1302,7 @@ int npc_selllist(struct map_session_data *sd,int n,unsigned short *item_list)
} }
if(log_config.pick) //Logs items, Sold to NPC (S)hop [Lupus] if(log_config.pick) //Logs items, Sold to NPC (S)hop [Lupus]
log_pick(sd, "S", 0, nameid, qty, &sd->status.inventory[idx]); log_pick(sd, "S", 0, nameid, -qty, &sd->status.inventory[idx]);
if(nd) { if(nd) {
pc_setreg(sd,add_str("@sold_nameid")+(i<<24),(int)sd->status.inventory[idx].nameid); pc_setreg(sd,add_str("@sold_nameid")+(i<<24),(int)sd->status.inventory[idx].nameid);

View File

@ -341,6 +341,8 @@ int party_member_added(int party_id,int account_id,int char_id, int flag)
sd->status.party_id=party_id; sd->status.party_id=party_id;
party_check_conflict(sd); party_check_conflict(sd);
clif_party_join_info(&p->party,sd); clif_party_join_info(&p->party,sd);
clif_party_hp(sd);
clif_party_xy(sd);
clif_charnameupdate(sd); //Update char name's display [Skotlex] clif_charnameupdate(sd); //Update char name's display [Skotlex]
} }