The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PACKET 0x11 - STATUS
Author Message
deco
Apprentice
*

Posts: 10
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2012
Reputation: 0



Post: #1
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
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
PACKET 0x11 - STATUS - deco - 02-06-2013 05:04 AM
RE: PACKET 0x11 - STATUS - Shaklaban - 02-06-2013, 05:18 AM
RE: PACKET 0x11 - STATUS - deco - 02-06-2013, 05:22 AM
RE: PACKET 0x11 - STATUS - Shaklaban - 02-06-2013, 05:48 AM
RE: PACKET 0x11 - STATUS - deco - 02-06-2013, 05:58 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)