ResourceWeights (00000207)

From SWGANH Wiki
Revision as of 15:48, 11 June 2007 by Schmunzel (Talk | contribs) (Struct)

Jump to: navigation, search


Struct


|style="background:#B3C0DE; color:white;" width="80px" align="center"|BYTE
INT Server assigned ID for the schematic
INT Schematic CRC
BYTE Counter Resource Weights
Counter for Data
BYTE Data
BYTE Counter Assembly Weights
BYTE Counter for Data
BYTE Data

Variable Descriptions


controllerID = 00000207


the amount of datapairs send is equal 3 + amount of experimental properties

Tags


OCM This header is part of the ObjControllerMessage.

100% This packet has been completely 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 (???)

Please not that there is no EntangleResistance. It has been removed from the game.

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 00 04
01 81 01 81
01 81 01 81
01 81 01 81
01 81 02 83 00
OQ 50% / PE 50%
resource weights assembly weights
04 00 04
01 81 01 81
01 81 01 81
01 81 01 81
01 81 02 81 71
OQ 66% / PE 33%
resource weights assembly weights
04 00 04
01 81 01 81
01 81 01 81
01 81 01 81
01 81 02 82 71
OQ 75% / PE 25%
resource weights assembly weights
04 00 04
01 81 01 81
01 81 01 81
01 81 01 81
01 81 02 83 71


Bofa treat
resource weights assembly weights
04 00 04
01 51 01 51 not used
02 51 23 02 51 23 not used
02 51 23 02 51 23 not used
02 51 23 02 83 71 (2)
02 51 23 02 83 71 (3)
02 21 21 02 83 71 (1)
02 21 21 02 83 71 (4)