ResourceWeights (00000207)

From SWGANH Wiki
Revision as of 12:51, 23 December 2007 by Snow (Talk | contribs) (Protected "ResourceWeights (00000207)": Page is complete. [edit=sysop:move=sysop])

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Object Controller - ResourceWeights (00000207)

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


Struct


INT Server assigned ID for the schematic
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


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

All the schematics have dummies they are just fill in spots for the elements in the .iffs that arent experimented on. So for these they need to be dummies, and they must be in the exact oder they are in the .iffs

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)