Difference between revisions of "GRUP06"

From SWGANH Wiki
Jump to: navigation, search
Line 104: Line 104:
 
     INT: LootRule
 
     INT: LootRule
 
}
 
}
 +
</pre>
 +
 +
===Sample Packet===
 +
----
 +
 +
<pre>
 
</pre>
 
</pre>
 
|valign=top|
 
|valign=top|

Revision as of 14:01, 4 August 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
}

Sample Packet



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.