Difference between revisions of "GRUP06"

From SWGANH Wiki
Jump to: navigation, search
(Sample Packet)
(Baseline Packet)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{PageHeader|Server Packet|GRUP06}}
+
{{PageHeader|Baseline|GRUP06}}
 
{|align="center"
 
{|align="center"
 
|-  
 
|-  
Line 157: Line 157:
  
  
===Sample Packet===
+
===Baseline Packet===
 
----
 
----
  
Line 173: Line 173:
 
00 00 00 00  
 
00 00 00 00  
 
00 00  
 
00 00  
02 00 00 00  
+
02 00 00 00 // Member List Size
02 00 00 00  
+
02 00 00 00 // Member List Update Counter
 
B8 A1 AF 61 0C 00 00 00 // Patrizia's character ID
 
B8 A1 AF 61 0C 00 00 00 // Patrizia's character ID
 
12 00                                                // string count
 
12 00                                                // string count
Line 181: Line 181:
 
0B 00                                  // string count
 
0B 00                                  // string count
 
52 6F 75 73 65 20 44 61 65 6C 61        // Rouse.Daela
 
52 6F 75 73 65 20 44 61 65 6C 61        // Rouse.Daela
02 00 00 00  
+
02 00 00 00 // Ship List Size
02 00 00 00  
+
02 00 00 00 // Ship List Update Counter
00 00 00 00  
+
00 00 00 00 00 00 00 00 // Ship ID 1
00 00 00 00  
+
00 00 00 00 // Ship Position for formation
00 00 00 00  
+
00 00 00 00 00 00 00 00 // Ship ID 2
00 00 00 00  
+
01 00 00 00 // Ship Position for formation
00 00 00 00
+
00 00 // Unknown Short
01 00 00 00  
+
00 00  
+
 
05 00  // con dificulty????
 
05 00  // con dificulty????
 
00 00 00 00  
 
00 00 00 00  
Line 195: Line 193:
 
00 00 00 00 // loot rule
 
00 00 00 00 // loot rule
 
0E  
 
0E  
 +
</pre>
  
 +
===Delta Packet===
 +
----
  
 +
<pre>
 
05 00  
 
05 00  
 
53 21 86 12            // DeltasMessage
 
53 21 86 12            // DeltasMessage

Latest revision as of 13:14, 10 July 2023

Baseline - GRUP06

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

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.


Baseline Packet


05 00 
0C 5F A7 68             // BaselineMessage
65 EE 47 95 25 00 00 00 // Group ID
50 55 52 47 06          // PURG 6
8A 00 00 00 
09 00 43 00 
00 00 
0F 00                          // string count
73 74 72 69 6E 67 5F 69 64 5F  // string_id_
74 61 62 6C 65                 // table
00 00 00 00 
00 00 
02 00 00 00 // Member List Size
02 00 00 00 // Member List Update Counter
B8 A1 AF 61 0C 00 00 00 // Patrizia's character ID
12 00                                                 // string count
50 61 74 72 69 7A 69 61 20 46 6C 79 72 75 6E 6E 65 72 // Patrizia.Flyrunner
8A 97 9A 8F 25 00 00 00 // Rouse's Character ID
0B 00                                   // string count
52 6F 75 73 65 20 44 61 65 6C 61        // Rouse.Daela
02 00 00 00 // Ship List Size
02 00 00 00 // Ship List Update Counter
00 00 00 00 00 00 00 00 // Ship ID 1
00 00 00 00 // Ship Position for formation
00 00 00 00 00 00 00 00 // Ship ID 2
01 00 00 00 // Ship Position for formation
00 00 // Unknown Short
05 00  // con dificulty????
00 00 00 00 
B8 A1 AF 61 0C 00 00 00 // Patrizia's character ID  Group leader
00 00 00 00 // loot rule
0E 

Delta Packet


05 00 
53 21 86 12             // DeltasMessage
65 EE 47 95 25 00 00 00 // group ID
50 55 52 47 06          // PURG 6
79 00 00 00 
04 00 02 00 
02 00 00 00 
02 00 00 00 
01 00 00 
B8 A1 AF 61 0C 00 00 00   // Patrizia's character ID
12 00                                                  // string count
50 61 74 72 69 7A 69 61 20 46 6C 79 72 75 6E 6E 65 72  // Patrizia.Flyrunner
01 01 00 
8A 97 9A 8F 25 00 00 00   //  Rouse's Character ID
0B 00                                 // string count
52 6F 75 73 65 20 44 61 65 6C 61      // Rouse.Daela
03 00 
02 00 00 00 
02 00 00 00 
01 00 00 00 
00 00 00 00 
00 00 00 00 
00 00 00 01 
01 00 00 00 
00 00 00 00 
00 00 
01 00 00 00 
05 00 05 00 
07 00       
B8 A1 AF 61 0C 00 00 00  // Patrizia's character ID
23 

05 00 
53 21 86 12              // DeltasMessage
B8 A1 AF 61 0C 00 00 00  // Patrizia's character ID
4F 45 52 43 06           // OERC 6
0C 00 00 00 
01 00 08 00 
65 EE 47 95 25 00 00 00  // group id
23 

05 00 
53 21 86 12              // DeltasMessage
8A 97 9A 8F 25 00 00 00  // Rouse's Character ID
4F 45 52 43 06           // OERC 6  
0C 00 00 00 
01 00 08 00 
65 EE 47 95 25 00 00 00  // group id
00 E0