Difference between revisions of "UpdatePvpStatusMessage"

From SWGANH Wiki
Jump to: navigation, search
(Sample Code)
(Struct)
Line 8: Line 8:
  
 
{| class="wikitable"
 
{| class="wikitable"
 +
|{{short}}||'''Operand_Count'''
 
|-
 
|-
|align="center" style="background:#6C86BF; color:white;"|'''SHORT'''||'''Operand_Count'''
+
|{{int}}||'''Opcode'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Opcode'''
+
|{{int}}||'''PVPStatus'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''PVPStatus'''
+
|{{int}}||'''Faction'''
|-
+
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Faction'''
+
|-
+
|align="center" style="background:#3C4565; color:white;"|'''LONG'''||'''ObjectID'''
+
 
|-
 
|-
 +
|{{long}}||'''ObjectID'''
 
|}
 
|}
  

Revision as of 10:16, 10 April 2007


Struct


SHORT Operand_Count
INT Opcode
INT PVPStatus
INT Faction
LONG ObjectID

Variable Descriptions


Opperand_Count = 4

Opcode = 08A1C126


  • PVPStatus:
A BITMASK with 6 elements:
1:	Attackable Flag
2:	Aggressive Flag (can attack you)
4:	Overt Flag
8:	TEF Flag
16:	Player Flag
32:	Enemy Flag 
64:	??
128:	??
256:	??(NGE Duel?)

Faction:	  HEX		CRC_STRING		DECIMAL
Neutral 	= 0		none			0
Rebel		= 0x16148850	SWGCRC("rebel")		370444368
Imperial	= 0xDB4ACC54	SWGCRC("imperial")	3679112276
  • Object_ID:
The object ID who's PVP Status is being updated.

Tags


S→C This packet originates on the server.

75% This packet has been partially reversed.


Sample Code

Insert Code Snippet Here...

Sample Packet

Insert Sample Packet Here...