deco
Apprentice
Posts: 10
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2012
Reputation: 0
|
PACKET 0x11 - STATUS
Hello ppl,
i was trying to send a packet 0x11. I want to show to client an irreal ARMOR value. I can't change the AR proprety of a char, so i wanna send this packet.
The problem is that when i send the packet, the only information that appear correct is the name (if i put 'False Nickname') it show a false nickname.
But str, int, dex, all items appears equal to zero.
My test packet... It would show str, int, dex = 10:
SENDPACKET 011 w58 d<dUID> <asc NickName> w0a w0a 0ff 01 01 w0a w0a w0a w0a w0a w0a w0a d0a w0a w0a w1000 00 01 w50 w50 w50 w50 w50 w50 w50 w50
Anyone has one idea?
Thanks
0x11 Packet
Last Modified on Friday, 19-May-2000
Stat window info (66 bytes)
• BYTE cmd
• BYTE[2] packet length (0x0042)
• BYTE[4] player id
• BYTE[30] playerName
• BYTE[2] currentHitpoints
• BYTE[2] maxHitpoints
• BYTE[1] name change flag (0xFF = allowed, 0 = not allowed)
• BYTE[1] flag (0x00 – Stats after this flag are invalid. 0x01 – Stats after this flag are valid)
• BYTE sex (0=male, 1=female)
• BYTE[2] str
• BYTE[2] dex
• BYTE[2] int
• BYTE[2] currentStamina
• BYTE[2] maxStamina
• BYTE[2] currentMana
• BYTE[2] maxMana
• BYTE[4] gold
• BYTE[2] armor class
• BYTE[2] weight
Note: Server Message
Note: For characters other than the player, currentHitpoints and maxHitpoints are not the actual values. MaxHitpoints is a fixed value, and currentHitpoints works like a percentage.
(This post was last modified: 02-06-2013 05:07 AM by deco.)
|
|
02-06-2013 05:04 AM |
|
|