Difference between revisions of "UpdatePvpStatusMessage"

From SWGANH Wiki
Jump to: navigation, search
m (Protected "UpdatePvpStatusMessage": Page is complete. [edit=sysop:move=sysop])
(Variable Descriptions)
 
(3 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
 +
|-
 +
||
 
{| class="wikitable"
 
{| class="wikitable"
 
|{{short}}||'''Operand_Count'''
 
|{{short}}||'''Operand_Count'''
Line 17: Line 19:
 
|{{long}}||'''ObjectID'''
 
|{{long}}||'''ObjectID'''
 
|}
 
|}
 
+
|}
 
===Variable Descriptions===
 
===Variable Descriptions===
 
----
 
----
Line 35: Line 37:
 
16: Player Flag
 
16: Player Flag
 
32: Enemy Flag  
 
32: Enemy Flag  
64: ??
+
64: Change Faction Status (blink purple/blue)
128: ??
+
128: Blink Green...
 
256: ??(NGE Duel?)
 
256: ??(NGE Duel?)
 
</pre>
 
</pre>
Line 62: Line 64:
 
|-
 
|-
 
|}
 
|}
 
 
|}
 
|}
 
----
 
 
==Sample Code==
 
 
<pre>
 
Insert Code Snippet Here...
 
</pre>
 
  
 
==Sample Packet==
 
==Sample Packet==
  
 
<pre>
 
<pre>
Insert Sample Packet Here...
+
04 00 // Op Count
 +
26 C1 A1 08 // UpdatePvpStatusMessage
 +
02 00 00 00 // PVP status
 +
00 00 00 00 // Faction
 +
A1 56 90 19 17 00 00 00 // Object ID
 
</pre>
 
</pre>

Latest revision as of 14:03, 18 March 2011

Server Packet - UpdatePvpStatusMessage (08A1C126)

SWGANH Wiki is a repository of Star Wars Galaxies Developer information. This site is only meant to be used by SWGANH Developer team.

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:	Change Faction Status (blink purple/blue)
128:	Blink Green...
256:	??(NGE Duel?)
  • Faction:
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.

100% This packet has been completely reversed.

Sample Packet

04 00 // Op Count
26 C1 A1 08 // UpdatePvpStatusMessage
02 00 00 00 // PVP status
00 00 00 00 // Faction
A1 56 90 19 17 00 00 00 // Object ID