Table of Contents

Status Bar Info (0x11)

Moongate Packet Classes

  • PlayerStatusPacket (Outgoing, Variable, length -1) from src/Moongate.Network.Packets/Outgoing/Entity/PlayerStatusPacket.cs

Current Moongate Behavior

Moongate currently has packet classes for this opcode.

Packet Build

Type Field
BYTE[1] 0x11
BYTE[2] Length
BYTE[4] Player Serial
BYTE[30] Player Name
BYTE[2] Current Hit Points (see notes)
BYTE[2] Max Hit Points (see notes)
BYTE[1] Name Change Flag (see notes)
BYTE[1] Status Flag (see notes)
BYTE[1] Sex+Race (see notes)
BYTE[2] Strength
BYTE[2] Dexterity
BYTE[2] Intelligence
BYTE[2] Current Stamina
BYTE[2] Max Stamina
BYTE[2] Current Mana
BYTE[2] Max Mana
BYTE[4] Gold In Pack
BYTE[2] Armor Rating (see notes)
BYTE[2] Weight

If (flag 5 or higher)

Type Field
BYTE[2] Max Weight
BYTE[1] Race (see notes)

If (flag 3 or higher )

Type Field
BYTE[2] Stats Cap
BYTE[1] Followers (Pets)
BYTE[1] Followers Max Possible (Pets)

If (flag 4 or higher)

Type Field
BYTE[2] Fire Resist (see notes)
BYTE[2] Cold Resist (see notes)
BYTE[2] Poison Resist (see notes)
BYTE[2] Energy Resist (see notes)
BYTE[2] Luck
BYTE[2] Damage Minimum
BYTE[2] Damage Maximum
BYTE[4] Tithing points (Paladin Books)

If (flag 6 or higher)

Type Field
BYTE[2] Hit Chance Increase
BYTE[2] Swing Speed Increase
BYTE[2] Damage Chance Increase
BYTE[2] Lower Reagent Cost
BYTE[2] Hit Points Regeneration
BYTE[2] Stamina Regeneration
BYTE[2] Mana Regeneration
BYTE[2] Reflect Physical Damage
BYTE[2] Enhance Potions
BYTE[2] Defense Chance Increase
BYTE[2] Spell Damage Increase
BYTE[2] Faster Cast Recovery
BYTE[2] Faster Casting
BYTE[2] Lower Mana Cost
BYTE[2] Strength Increase
BYTE[2] Dexterity Increase
BYTE[2] Intelligence Increase
BYTE[2] Hit Points Increase
BYTE[2] Stamina Increase
BYTE[2] Mana Increase
BYTE[2] Maximum Hit Points Increase
BYTE[2] Maximum Stamina Increase
BYTE[2] Maximum Mana Increase

Subcommand Build

N/A

Notes

For characters other than the player, Current Hitpoints and Max Hitpoints are not the actual values. Max Hitpoints is a fixed value, and Current Hitpoints works like a percentage. This is to assist in blocking injection style tools from seeing real hitpoint values.

Name Change Flag

  • 1: Allowed to Change In StatusBar (like with pets)

  • 0: Not allowed

Status Flag

  • 0x00: no more data following (end of packet here).

  • 0x01: T2A Extended Info

  • 0x03: UOR Extended Info

  • 0x04: AOS Extended Info (4.0+)

  • 0x05: UOML Extended Info (5.0+)

  • 0x06: UOKR Extended Info (UOKR+)

Sex + Race

  • 0: Male Human

  • 1: Female Human

  • 2: Male Elf

  • 3: Female Elf

Armor Rating

Armor Rating depends on client settings. If client has AOS Resistances enabled, this should be the Physical Resist instead of older AR Rating.

UOML+ Race Flag

  • 1: Human

  • 2: Elf

  • 3: Gargoyle

Resistances

Resistances can be negatives. Easiest method for handling this correctly is, if a negative is to be sent is: 0x10000+amount