Difference between revisions of "PlayerEmote (0000012E)"

From SWGANH Wiki
Jump to: navigation, search
(New page: __NOTOC__ {| border="0" width="90%" cellpadding=6 |- |valign=top| ===Struct=== ---- {| class="wikitable" |- |{{long}}|'''Source ID''' |- |{{long}}|'''Reciever ID''' |- |{{short}}|'''emot...)
 
Line 11: Line 11:
 
|{{long}}|'''Source ID'''
 
|{{long}}|'''Source ID'''
 
|-
 
|-
|{{long}}|'''Reciever ID'''
+
|{{long}}|'''Receiver ID'''
 
|-
 
|-
 
|{{short}}|'''emote ID'''
 
|{{short}}|'''emote ID'''
Line 24: Line 24:
 
controllerID     = '''0000012E'''
 
controllerID     = '''0000012E'''
 
----
 
----
 +
*NOTE: The first ID in the OBJ needs to be the ID of the object receiving the packet (recipID).
 +
* Source ID = ID of the player performing the more
 +
* Receiver ID = ID of the player the emote is being performed upon
 +
* Emote ID = # associated with the desired emote
  
* Send emote??
 
  
 
|valign=top|
 
|valign=top|
Line 39: Line 42:
  
 
|}
 
|}
 +
 +
 +
 +
===Example Code===
 +
    packet << (uint16)5;
 +
    packet.opcode2(ObjController);
 +
    packet << (uint32)0xB;
 +
    packet << (uint32)0x012E;
 +
    packet << (uint64)recip;          //recipient
 +
    packet << (uint32)0;              //unkown
 +
    packet << (uint64)sender->ObjID;  //source
 +
    packet << (uint64)sender->Target;  //This is normally the target...
 +
    packet << emoteId;                //ID
 +
    packet << (uint8)0;
 +
    packet << (uint16)0x0300;

Revision as of 00:50, 1 April 2007


Struct


LONG Source ID
LONG Receiver ID
SHORT emote ID
BYTE ??
SHORT ??

Variable Descriptions


controllerID = 0000012E


  • NOTE: The first ID in the OBJ needs to be the ID of the object receiving the packet (recipID).
  • Source ID = ID of the player performing the more
  • Receiver ID = ID of the player the emote is being performed upon
  • Emote ID = # associated with the desired emote


Tags


OCM This header is part of the ObjControllerMessage.

75% This packet has been partially reversed.


Example Code

   packet << (uint16)5;
   packet.opcode2(ObjController);
   packet << (uint32)0xB;
   packet << (uint32)0x012E;
   packet << (uint64)recip;           //recipient
   packet << (uint32)0;               //unkown
   packet << (uint64)sender->ObjID;   //source
   packet << (uint64)sender->Target;  //This is normally the target...
   packet << emoteId;                 //ID
   packet << (uint8)0;
   packet << (uint16)0x0300;