Difference between revisions of "GRUP06"

From SWGANH Wiki
Jump to: navigation, search
(New page: __NOTOC__ {|align="center" |- ||{{GRUPArchitectureNAV}} |- |} <br> {| border="0" width="90%" cellpadding=6 |- |valign=top| ===BaseLine Struct=== ---- <pre> SHORT: ObjOpperandCount INT: ...)
 
Line 43: Line 43:
 
   00:
 
   00:
 
     INT: ??
 
     INT: ??
   01://REVERSE
+
   01:
 
     INT: MemberList_Size
 
     INT: MemberList_Size
 
     INT: MemberList_UpdateCounter
 
     INT: MemberList_UpdateCounter
 
     {
 
     {
       LONG: MemberObjID
+
      BYTE: SubType
      ASTRING: MemberName
+
      {
 +
        00:(remove)
 +
          SHORT:       MemberObjIndex
 +
        01:(add)
 +
          SHORT:        MemberObjIndex
 +
          LONG: MemberObjID
 +
          ASTRING: MemberName
 +
        02:(change)
 +
          SHORT:        MemberObjIndex
 +
          LONG: MemberObjID
 +
          ASTRING: MemberName
 +
        03:(resetall)
 +
          SHORT: NewListSize
 +
          {
 +
    LONG: MemberObjID
 +
            ASTRING: MemberName
 +
          }
 +
        04:(clearall)
 +
      }
 
     }
 
     }
 
   02://REVERSE
 
   02://REVERSE
Line 54: Line 72:
 
     INT: ??ListUpdateCounter
 
     INT: ??ListUpdateCounter
 
     {
 
     {
       LONG: ??
+
       BYTE: SubType
      INT: ??
+
      {
 +
        00:(remove)
 +
          SHORT:        ??ObjIndex
 +
        01:(add)
 +
          SHORT:        ??ObjIndex
 +
          LONG: ??ObjectID
 +
          INT: ??
 +
        02:(change)
 +
          SHORT:        ??ObjIndex
 +
          LONG: ??ObjectID
 +
          INT: ??
 +
        03:(resetall)
 +
          SHORT: NewListSize
 +
          {
 +
            LONG: ??ObjectID
 +
            INT: ??
 +
          }
 +
        04:(clearall)
 +
      }
 
     }
 
     }
 
   03:
 
   03:

Revision as of 01:50, 9 April 2007

GRUP Packet Type QuickNav
GRUP01 - GRUP03 - GRUP06


BaseLine Struct


SHORT:		ObjOpperandCount
INT:		??
INT:		MemberList_Size
INT:		MemberList_UpdateCounter
{
 LONG:		MemberObjID
 ASTRING:	MemberName
}
INT:		??ListSize	
INT:		??ListUpdateCounter
{
 LONG:		??
 INT:		??
}
ASTRING:	??	
SHORT:		GroupCon/Difficulty
INT:		??
LONG:		LootMaster
INT:		LootRule

Deltas Struct


SHORT:			UpdateCount
SHORT:			UpdateType
{
  00:		
    INT:		??
  01:
    INT:		MemberList_Size
    INT:		MemberList_UpdateCounter
    {
      BYTE:		SubType
      {
        00:(remove)
          SHORT:        MemberObjIndex
        01:(add)
          SHORT:        MemberObjIndex
          LONG:		MemberObjID
          ASTRING:	MemberName
        02:(change)
          SHORT:        MemberObjIndex
          LONG:		MemberObjID
          ASTRING:	MemberName
        03:(resetall)
          SHORT:	NewListSize
          {
	    LONG:	MemberObjID
            ASTRING:	MemberName
          }
        04:(clearall)
      }
    }
  02://REVERSE
    INT:		??ListSize	
    INT:		??ListUpdateCounter
    {
      BYTE:		SubType
      {
        00:(remove)
          SHORT:        ??ObjIndex
        01:(add)
          SHORT:        ??ObjIndex
          LONG:		??ObjectID
          INT:		??
        02:(change)
          SHORT:        ??ObjIndex
          LONG:		??ObjectID
          INT:		??
        03:(resetall)
          SHORT:	NewListSize
          {
            LONG:	??ObjectID
            INT:	??
          }
        04:(clearall)
      }
    }
  03:
    ASTRING:		??
  04:		
    SHORT:		GroupCon/Difficulty
  05:
    INT:		??
  06:
    LONG:		LootMaster
  07:
    INT:		LootRule
}

Variable Descriptions


Obj_OperandCount = 8


  • MemberList:
A list of the members in the group. Contains their ObjectID along with an Ascii of their name.
  • GroupCon/Difficulty:
This variable relates to the players DifficultyCon and how difficult the group is percieved.
TODO: Research the relationship among this variable and the con colors.
  • LootMaster:
The ObjectID of the person in charge of loot, or the person designated as MasterLooter for LootRule[1].
  • LootRules:
Sets the various types of group looting.
0 - "FF" - Free For All
1 - "ML" - MasterLooter
2 - "LO" - Lottery
3 - "RN" - Random

Tags


75% This packet has been partially reversed.

S→C This packet originates on the server.

Notes


Variables Found to test later... FormationNameCrc LootRule LootMaster Members MemberShips GroupShipFormation AssignPlayerFormation

TODO: Reverse the JTL data and whatever else is left...

Figure out how DifficultyCon works between objects and groups.