ResourceWeights (00000207)

From SWGANH Wiki
Revision as of 21:54, 23 March 2007 by Snow (Talk | contribs) (Comments)

Jump to: navigation, search


Struct


INT server assigned id for the schem
INT schematic crc
BYTE counter resource weights
BYTE counter for Data
BYTE Data
BYTE counter assembly weights
BYTE counter for Data
BYTE Data

Variable Descriptions


controllerID = 00000207


Tags


OCM This header is part of the ObjControllerMessage.

75% This packet has been partially reversed.



Comments


Now that gave me some serious headaches kudos to htx for figuring it out. The main problem has been the number of resource weights/assembly weights pairs. For the gas tool for example 4 pairs are needed.

The data bytes determine the attributes for the displayed experimentation properties and their weighting. The following properties have been found so far :


01 Potency
11 Cold Resistance
21 Conductivity
31 Decay Resistance
41 Heat Resistance
51 Flavor
61 Malleability
71 Potential Energy
81 Overall Quality
91 Shock Resistance
A1 Unit Toughness
B1 Bulk (???)
?? Entangle Resistance
?? '
?? '

Several resource attributes are added through multiple bytes. Initial the weighting will be distributed equally through all attributes.

The weighting is happening through setting / unsetting bit 1 and two. In the examples I have looked at so far only the last dataset of the assembly weights part was of importance.


Examples

OQ 100% PE 0%
resource weights assembly weights
04
01 81
01 81
01 81
01 81
04
01 81
01 81
01 81
01 81
OQ 50% PE 50%
resource weights assembly weights
04
01 81
01 81
01 81
01 81
04
01 81
01 81
01 81
02 81 71
OQ 66% PE 33%
resource weights assembly weights
04
01 81
01 81
01 81
01 81
04
01 81
01 81
01 81
02 82 71
OQ 75% PE 25%
resource weights assembly weights
04
01 81
01 81
01 81
01 81
04
01 81
01 81
01 81
02 83 71