Difference between revisions of "CREO06"

From SWGANH Wiki
Jump to: navigation, search
(Variable Descriptions)
Line 62: Line 62:
 
{
 
{
 
   00:
 
   00:
     INT: ??(unknown purpose)
+
     INT: ??
 
   01:
 
   01:
 
     INT: CombatDefenderListSize
 
     INT: CombatDefenderListSize
Line 74: Line 74:
 
           SHORT:        DefenderObjIndex
 
           SHORT:        DefenderObjIndex
 
           LONG:         DefenderID
 
           LONG:         DefenderID
 +
        02:(change)
 +
          SHORT:        DefenderObjIndex
 +
          LONG:         DefenderID
 +
        03:(resetall)
 +
          SHORT:        NewListSize
 +
          {
 +
            LONG: DefenderID
 +
          }
 +
        04:(clearall)
 
       }
 
       }
 
     }
 
     }
Line 105: Line 114:
 
       BYTE: SubType
 
       BYTE: SubType
 
       {
 
       {
         00:
+
         00:(remove)
           SHORT: ??
+
           SHORT: HAMBarIndex
         01:
+
         01:(add)
           SHORT: CurrentHAMBar
+
           SHORT: HAMBarIndex
           INT:         CurrentHAMValue
+
           INT:         HAMValue
         02:
+
         02:(change)
           SHORT: CurrentHAMBar
+
           SHORT: HAMBarIndex
           INT:         CurrentHAMValue
+
           INT:         HAMValue
         03:
+
         03:(resetall)
           SHORT: ListSize
+
           SHORT: NewListSize
 
           {
 
           {
             INT: CurrentHAMValue
+
             INT: HAMValue
 
           }
 
           }
 +
        04:(clearall)
 
       }
 
       }
 
     }
 
     }
Line 126: Line 136:
 
       BYTE: SubType
 
       BYTE: SubType
 
       {
 
       {
         00:
+
         00:(remove)
           SHORT: ??
+
           SHORT: HAMBarIndex
         01:
+
         01:(add)
           SHORT: MaxHAMBar
+
           SHORT: HAMBarIndex
           INT:         MaxHAMValue
+
           INT:         HAMValue
         02:
+
         02:(change)
           SHORT: MaxHAMBar
+
           SHORT: HAMBarIndex
           INT:         MaxHAMValue
+
           INT:         HAMValue
         03:
+
         03:(resetall)
           SHORT: ListSize
+
           SHORT: NewListSize
 
           {
 
           {
             INT: MaxHAMValue
+
             INT: HAMValue
 
           }
 
           }
 +
        04:(clearall)
 
       }
 
       }
 
     }
 
     }
 
   0F:
 
   0F:
     ASTRING: SetObjectTemplateString
+
     INT: EquiptmentListSize
 +
    INT: UpdateCounter
 +
      BYTE: SubType
 +
      {
 +
        00:(remove)
 +
          SHORT: EquiptmentIndex
 +
        01:(add)
 +
          SHORT: EquiptmentIndex
 +
          CSTRING: CustomizationString
 +
          INT: ??(ContainmentLayer?)
 +
          LONG: ObjectID
 +
          INT: TemplateCRC
 +
        02:(change)
 +
          SHORT: EquiptmentIndex
 +
          CSTRING: CustomizationString
 +
          INT: ??(ContainmentLayer?)
 +
          LONG: ObjectID
 +
          INT: TemplateCRC
 +
        03:(resetall)
 +
          SHORT: NewListSize
 +
          {
 +
            CSTRING: CustomizationString
 +
            INT: ??(ContainmentLayer?)
 +
            LONG: ObjectID
 +
            INT: TemplateCRC
 +
          }
 +
        04:(clearall)
 +
      }
 
   10:
 
   10:
 +
    ASTRING: SetObjectTemplateString
 +
  11:
 
     BYTE: ??
 
     BYTE: ??
 
}
 
}

Revision as of 01:45, 9 April 2007

CREO Packet Type QuickNav
CREO01 - CREO03 - CREO04 - CREO06


BaseLine Struct


SHORT:		ObjOpperandCount
INT:		??
INT:		CombatDefenderListSize
INT:		UpdateCounter
{
 LONG:		DefenderID
}
SHORT:		DifficultyCon
ASTRING:	CurrentAnimation
ASTRING:	MoodAnimation
LONG:		WeaponID
LONG:		GroupID
LONG:		InviteSenderID
LONG:		InviteCounter(Incremental)
INT:		GuildID
LONG:		TargetID
BYTE:		MoodID
INT:		??(UnknownPurpose,Set with Entertainer)
INT:		PerformanceID
INT:		CurrentHAMListSize
INT:		UpdateCounter
{
 INT:		CurrentHAMValue
}
INT:		MaxHAMListSize
INT:		UpdateCounter
{
 INT:		MaxHAMValue
}
INT:		EquiptmentListSize
INT:		UpdateCounter
{
 CSTRING:	CustomizationString
 INT:		??(ContainmentLayer?)
 LONG:		ObjectID
 INT:		TemplateCRC
}
ASTRING:	SetObjectTemplateString
BYTE:		??

Deltas Struct


SHORT:			UpdateCount
SHORT:			UpdateType
{
  00:		
    INT:		??
  01:
    INT:		CombatDefenderListSize
    INT:		UpdateCounter
    {
      BYTE:		SubType
      {
        00:(remove)
          SHORT:	DefenderObjIndex
        01:(add)
          SHORT:        DefenderObjIndex
          LONG:	        DefenderID
        02:(change)
          SHORT:        DefenderObjIndex
          LONG:	        DefenderID
        03:(resetall)
          SHORT:        NewListSize
          {
            LONG:	DefenderID
          }
        04:(clearall)
      }
    }
  02:		
    SHORT:		DifficultyCon
  03:		
    A_STRING:		CurrentAnimation
  04:		
    A_STRING:		MoodAnimation
  05:		
    LONG:		WeaponID
  06:		
    LONG:		GroupID
  07:		
    LONG:		InviteSenderID
    LONG:		InviteCounter(incremental)
  08:		
    INT:		GuildID
  09:		
    LONG:		TargetID
  0A:		
    BYTE:		MoodID
  0B:		
    INT:		??(unknown purpose, set with entertainer)
  0C:		
    INT:	        PerformanceID
  0D:
    INT:		CurrentHAMListSize
    INT:		UpdateCounter
    {
      BYTE:		SubType
      {
        00:(remove)
          SHORT:	HAMBarIndex
        01:(add)
          SHORT:	HAMBarIndex
          INT:	        HAMValue
        02:(change)
          SHORT:	HAMBarIndex
          INT:	        HAMValue
        03:(resetall)
          SHORT:	NewListSize
          {
            INT:	HAMValue
          }
        04:(clearall)
      }
    }
  0E:  
    INT:		MaxHAMListSize
    INT:		UpdateCounter
    {
      BYTE:		SubType
      {
        00:(remove)
          SHORT:	HAMBarIndex
        01:(add)
          SHORT:	HAMBarIndex
          INT:	        HAMValue
        02:(change)
          SHORT:	HAMBarIndex
          INT:	        HAMValue
        03:(resetall)
          SHORT:	NewListSize
          {
            INT:	HAMValue
          }
        04:(clearall)
      }
    }
  0F:
    INT:		EquiptmentListSize
    INT:		UpdateCounter
      BYTE:		SubType
      {
        00:(remove)
          SHORT:	EquiptmentIndex
        01:(add)
          SHORT:	EquiptmentIndex
          CSTRING:	CustomizationString
          INT:		??(ContainmentLayer?)
          LONG:		ObjectID
          INT:		TemplateCRC
        02:(change)
          SHORT:	EquiptmentIndex
          CSTRING:	CustomizationString
          INT:		??(ContainmentLayer?)
          LONG:		ObjectID
          INT:		TemplateCRC
        03:(resetall)
          SHORT:	NewListSize
          {
            CSTRING:	CustomizationString
            INT:	??(ContainmentLayer?)
            LONG:	ObjectID
            INT:	TemplateCRC
          }
        04:(clearall)
      }
  10:
    ASTRING:		SetObjectTemplateString
  11:
    BYTE:		??
}

Variable Descriptions


Obj_OperandCount = 16


  • CombatDefender:
This list stores a list of all the objects you are in combat with.
It also initiates default combat animation used between combat animations.
(it keeps the consistancy of combat going).
  • DefenderObjIndex:
This is the index value of the defenderID in the list. IE. Position in the list.
4 Objects. List is 00 01 02 03
Remove 3rd Object. Index = 02.
  • DifficultyCon:
This is the ID number of what color difficulty CON to display for the target.
  • CurrentAnimation:
This is a string of what animation this object is doing.
Set for entertainer, as well as misc types of animation.
  • MoodAnimation:
This is a string for what type of facial/mood animation to set on the object.
  • WeaponID:
The ObjectID of the currently equipped weapon.
  • GroupID:
The ObjectID of the GROUP Object if this object is in a group.
  • InviteSenderID:
This is the ID of the Object that sent a group invite to you.
  • InviteCounter:
This is a counter or an InviteID to differentiate invites and allow multiple invites.
SWG seems to have only allowed 1 invite at a time (Counter set to 0).
But by changing the counter we got multiple Invites sent.
  • GuildID:
The ID number from the GUILD Object that corresponds to your GUILD Tag.
  • TargetID:
The Object ID number of the current Object in your target.
  • MoodID:
The numeric ID number for your current Mood used in text and /mood.
  • PerformanceID:
The ID number of what song+instrument/dance is being done by this object.
For entertainers, obviously.
  • CurrentHAM:
A list of the 9 values for how much HAM is current in the pool.
  • MaxHAM:
A list of the 9 values for how much HAM the pool can hold.
  • EquiptmentList:
A list of Objects that are equipped on this Object. (Weapons, Clothes, Inventory/Bank etc).
  • SetObjectTemplateString:
This is a string of a CRC Template found in the object/ folder. It can be used to turn
your object into another object for events, fun, CSR stuffs!

Tags


75% This packet has been partially reversed.

To Do


  • List PerformanceID
  • List MoodID
  • List Difficulty Cons Color
  • List Regular Animation Types
  • List Mood Animation Types
  • Test Defender List again
  • Test Invite Counter again