Difference between revisions of "ResourceWeights (00000207)"

From SWGANH Wiki
Jump to: navigation, search
(Tags)
m (Protected "ResourceWeights (00000207)": Page is complete. [edit=sysop:move=sysop])
 
(85 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Object Controller|ResourceWeights (00000207)}}
  
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
Line 6: Line 6:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
<pre>
+
|-
INT:            server assigned id for the schem
+
||
 
+
{| class="wikitable" width=300
INT:            crc of the schematic
+
|{{int}}|'''Server assigned ID for the schematic'''
 
+
|-
BYTE:          counter resource weights
+
|{{int}}|'''Schematic CRC'''
{
+
|-
BYTE:          counter data pairs
+
|{{byte}}|'''Counter Resource Weights '''
{
+
|-
BYTE:          Data
+
|{{byte}}|'''Counter for Data '''
}
+
|-
}
+
|{{byte}}|'''Data'''
 
+
|-
BYTE:          counter assembly max weights
+
|{{byte}}|'''Counter Assembly Weights '''
{
+
|-
BYTE:          counter data pairs
+
|{{byte}}|'''Counter for Data '''
{
+
|-
BYTE:          Data
+
|{{byte}}|'''Data'''
}
+
|}
}
+
|}
 
+
 
+
</pre>
+
  
 
===Variable Descriptions===
 
===Variable Descriptions===
Line 35: Line 32:
 
controllerID     = '''00000207'''
 
controllerID     = '''00000207'''
 
----
 
----
 +
the amount of datapairs send is equal 3 +
 +
amount of experimental properties
  
 
|valign=top|
 
|valign=top|
Line 43: Line 42:
 
||{{ObjControllerMessageTag}}
 
||{{ObjControllerMessageTag}}
 
|-
 
|-
||{{75%}}
+
||{{100%}}
 
|-
 
|-
 
|}
 
|}
  
 +
===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:
 +
 +
{| align="center"
 +
|-
 +
||
 +
{| class="wikitable"
 +
|-
 +
|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
 +
 +
{| border="0" width="90%" cellpadding=6 align="center"
 +
|-
 +
|valign=top|
 +
{| class="wikitable"
 +
|+ <font color="darkorange">'''OQ 100% / PE 0%'''</font>
 +
! colspan="4" style="margin: 1em auto 1em auto" |'''resource weights'''
 +
! colspan="4" style="margin: 1em auto 1em auto" |'''assembly weights'''
 +
|-  align="center"
 +
||'''04'''||''' '''||''' '''||<font color="white">'''00'''</font>||'''04'''||''' '''||''' '''||
 +
|-  align="center"
 +
||''' '''||'''01'''||'''81'''||''' '''||''' '''||'''01'''||'''81'''||''' '''
 +
|-  align="center"
 +
||''' '''||'''01'''||'''81'''||''' '''||''' '''||'''01'''||'''81'''||''' '''
 +
|-  align="center"
 +
||''' '''||'''01'''||'''81'''||''' '''||''' '''||'''01'''||'''81'''||''' '''
 +
|-  align="center"
 +
||''' '''||'''01'''||'''81'''||''' '''||''' '''||'''02'''||'''83'''||<font color="white">'''00'''</font>
 +
|-
 +
|}
 +
 +
|valign=top|
 +
 +
{| class="wikitable"
 +
|+<font color="darkorange">'''OQ 50% / PE 50%'''</font>
 +
! colspan="4" style="margin: 1em auto 1em auto" |'''resource weights'''
 +
! colspan="4" style="margin: 1em auto 1em auto" |'''assembly weights'''
 +
|-  align="center"
 +
||'''04'''||''' '''||''' '''||<font color="white">'''00'''</font>||'''04'''||''' '''||''' '''||
 +
|-  align="center"
 +
||''' '''||'''01'''||'''81'''||''' '''||''' '''||'''01'''||'''81'''||''' '''
 +
|-  align="center"
 +
||''' '''||'''01'''||'''81'''||''' '''||''' '''||'''01'''||'''81'''||''' '''
 +
|-  align="center"
 +
||''' '''||'''01'''||'''81'''||''' '''||''' '''||'''01'''||'''81'''||''' '''
 +
|-  align="center"
 +
||''' '''||'''01'''||'''81'''||''' '''||''' '''||'''02'''||'''81'''||'''71'''
 +
|-
 +
|}
 +
 +
|valign=top|
 +
 +
{| class="wikitable"
 +
|+<font color="darkorange">'''OQ 66% / PE 33%'''<font>
 +
! colspan="4" style="margin: 1em auto 1em auto" |'''resource weights'''
 +
! colspan="4" style="margin: 1em auto 1em auto" |'''assembly weights'''
 +
|-  align="center"
 +
||'''04'''||''' '''||''' '''||<font color="white">'''00'''</font>||'''04'''||''' '''||''' '''||
 +
|-  align="center"
 +
||''' '''||'''01'''||'''81'''||''' '''||''' '''||'''01'''||'''81'''||''' '''
 +
|-  align="center"
 +
||''' '''||'''01'''||'''81'''||''' '''||''' '''||'''01'''||'''81'''||''' '''
 +
|-  align="center"
 +
||''' '''||'''01'''||'''81'''||''' '''||''' '''||'''01'''||'''81'''||''' '''
 +
|-  align="center"
 +
||''' '''||'''01'''||'''81'''||''' '''||''' '''||'''02'''||'''82'''||'''71'''
 +
|-
 +
|}
 +
 +
|valign=top|
 +
 +
{| class="wikitable"
 +
|+<font color="darkorange">'''OQ 75% / PE 25%'''<font>
 +
! colspan="4" style="margin: 1em auto 1em auto" |'''resource weights'''
 +
! colspan="4" style="margin: 1em auto 1em auto" |'''assembly weights'''
 +
|-  align="center"
 +
||'''04'''||''' '''||''' '''||<font color="white">'''00'''</font>||'''04'''||''' '''||''' '''||
 +
|-  align="center"
 +
||''' '''||'''01'''||'''81'''||''' '''||''' '''||'''01'''||'''81'''||''' '''
 +
|-  align="center"
 +
||''' '''||'''01'''||'''81'''||''' '''||''' '''||'''01'''||'''81'''||''' '''
 +
|-  align="center"
 +
||''' '''||'''01'''||'''81'''||''' '''||''' '''||'''01'''||'''81'''||''' '''
 +
|-  align="center"
 +
||''' '''||'''01'''||'''81'''||''' '''||''' '''||'''02'''||'''83'''||'''71'''
 +
|-
 +
|}
 +
|}
 +
 +
{| align="center"
 +
|-
 +
||
 +
{| class="wikitable"
 +
|+<font color="darkorange">'''Bofa treat'''<font>
 +
! colspan="4" style="margin: 1em auto 1em auto" |'''resource weights'''
 +
! colspan="4" style="margin: 1em auto 1em auto" |'''assembly weights'''
 +
|-  align="center"
 +
||'''04'''||''' '''||''' '''||<font color="white">'''00'''</font>||'''04'''||''' '''||''' '''||
 +
|-  align="center"
 +
||''' '''||'''01'''||'''51'''||''' '''||''' '''||'''01'''||'''51'''||''' '''||''' not used'''
 +
|-  align="center"
 +
||''' '''||'''02'''||'''51'''||'''23 '''||''' '''||'''02'''||'''51'''||'''23 '''||''' not used'''
 +
|-  align="center"
 +
||''' '''||'''02'''||'''51'''||'''23 '''||''' '''||'''02'''||'''51'''||'''23 '''||''' not used'''
 +
|-  align="center"
 +
||''' '''||'''02'''||'''51'''||'''23 '''||''' '''||'''02'''||'''83'''||'''71'''||''' (2)'''
 +
|-  align="center"
 +
||''' '''||'''02'''||'''51'''||'''23 '''||''' '''||'''02'''||'''83'''||'''71'''||''' (3)'''
 +
|-  align="center"
 +
||''' '''||'''02'''||'''21'''||'''21 '''||''' '''||'''02'''||'''83'''||'''71'''||''' (1)'''
 +
|-  align="center"
 +
||''' '''||'''02'''||'''21'''||'''21 '''||''' '''||'''02'''||'''83'''||'''71'''||''' (4)'''
 +
|-
 +
|}
 
|}
 
|}

Latest revision as of 12:51, 23 December 2007

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)