Send the actual level of the person you're trading with rather than limiting it by the max_lv/aura_lv settings.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14451 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
Paradox924X 2010-11-08 22:21:03 +00:00
parent 00ed934470
commit 527041fb58
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
Date Added Date Added
2010/11/08
* Send the actual level of the person you're trading with rather than limiting it by the max_lv/aura_lv settings. [Paradox924X]
2010/11/07 2010/11/07
* 'Exp gained' packets are now sent regardless of @showexp. @showexp can be enabled regardless of PACKETVER. [Gepard] * 'Exp gained' packets are now sent regardless of @showexp. @showexp can be enabled regardless of PACKETVER. [Gepard]
* Applied clif_equiplist fix by Ai4rei to prevent client crash when equipment is broken/repaired and PACKETVER >= 20100629. Follow-up to r14368. (bugreport:4459) [Gepard] * Applied clif_equiplist fix by Ai4rei to prevent client crash when equipment is broken/repaired and PACKETVER >= 20100629. Follow-up to r14368. (bugreport:4459) [Gepard]

View File

@ -3458,7 +3458,7 @@ void clif_traderequest(struct map_session_data* sd, const char* name)
WFIFOW(fd,0) = 0x1f4; WFIFOW(fd,0) = 0x1f4;
safestrncpy((char*)WFIFOP(fd,2), name, NAME_LENGTH); safestrncpy((char*)WFIFOP(fd,2), name, NAME_LENGTH);
WFIFOL(fd,26) = tsd->status.char_id; WFIFOL(fd,26) = tsd->status.char_id;
WFIFOW(fd,30) = clif_setlevel(tsd->status.base_level); WFIFOW(fd,30) = tsd->status.base_level;
WFIFOSET(fd,packet_len(0x1f4)); WFIFOSET(fd,packet_len(0x1f4));
#endif #endif
} }
@ -3491,7 +3491,7 @@ void clif_tradestart(struct map_session_data* sd, uint8 type)
WFIFOW(fd,0) = 0x1f5; WFIFOW(fd,0) = 0x1f5;
WFIFOB(fd,2) = type; WFIFOB(fd,2) = type;
WFIFOL(fd,3) = tsd->status.char_id; WFIFOL(fd,3) = tsd->status.char_id;
WFIFOW(fd,7) = clif_setlevel(tsd->status.base_level); WFIFOW(fd,7) = tsd->status.base_level;
WFIFOSET(fd,packet_len(0x1f5)); WFIFOSET(fd,packet_len(0x1f5));
#endif #endif
} }