Difference between revisions of "ResourceWeights (00000207)"

From SWGANH Wiki
Jump to: navigation, search
(Examples)
m (Protected "ResourceWeights (00000207)": Page is complete. [edit=sysop:move=sysop])
 
(38 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===
 
----
 
----
{| class="wikitable"
+
{| align="center"
 
|-
 
|-
|{{int}}||'''server assigned id for the schem'''
+
||
 +
{| class="wikitable" width=300
 +
|{{int}}|'''Server assigned ID for the schematic'''
 
|-
 
|-
|{{int}}||'''schematic crc'''
+
|{{int}}|'''Schematic CRC'''
 
|-
 
|-
|{{byte}}||'''counter resource weights '''
+
|{{byte}}|'''Counter Resource Weights '''
 
|-
 
|-
|{{byte}}||'''counter for Data '''
+
|{{byte}}|'''Counter for Data '''
 
|-
 
|-
|{{byte}}||'''Data'''
+
|{{byte}}|'''Data'''
 
|-
 
|-
|{{byte}}||'''counter assembly weights '''
+
|{{byte}}|'''Counter Assembly Weights '''
 
|-
 
|-
|{{byte}}||'''counter for Data '''
+
|{{byte}}|'''Counter for Data '''
 
|-
 
|-
|{{byte}}||'''Data'''
+
|{{byte}}|'''Data'''
|-
+
|}
 
+
 
|}
 
|}
  
Line 31: Line 32:
 
controllerID     = '''00000207'''
 
controllerID     = '''00000207'''
 
----
 
----
 +
the amount of datapairs send is equal 3 +
 +
amount of experimental properties
  
 
|valign=top|
 
|valign=top|
Line 39: Line 42:
 
||{{ObjControllerMessageTag}}
 
||{{ObjControllerMessageTag}}
 
|-
 
|-
||{{75%}}
+
||{{100%}}
 
|-
 
|-
 
|}
 
|}
  
 
+
===Comments===
 
+
 
+
===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 :
 
  
 +
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"
 
{| class="wikitable"
 
|-
 
|-
 
|01||'''Potency'''
 
|01||'''Potency'''
 
+
|-
 
|11||'''Cold Resistance'''
 
|11||'''Cold Resistance'''
 
+
|-
 
|21||'''Conductivity '''
 
|21||'''Conductivity '''
 
|-
 
|-
 
|31||'''Decay Resistance '''
 
|31||'''Decay Resistance '''
 
+
|-
 
|41||'''Heat Resistance'''
 
|41||'''Heat Resistance'''
 
+
|-
 
|51||'''Flavor '''
 
|51||'''Flavor '''
 
|-
 
|-
 
|61||'''Malleability '''
 
|61||'''Malleability '''
 
+
|-
 
|71||'''Potential Energy'''
 
|71||'''Potential Energy'''
 
+
|-
 
|81||'''Overall Quality '''
 
|81||'''Overall Quality '''
 
|-
 
|-
 
|91||'''Shock Resistance'''
 
|91||'''Shock Resistance'''
 
+
|-
 
|A1||'''Unit Toughness '''
 
|A1||'''Unit Toughness '''
 
+
|-
 
|B1||'''Bulk (???) '''
 
|B1||'''Bulk (???) '''
 
|-
 
|-
|??||'''Entangle Resistance'''
+
|}
 
+
|??||''''''
+
 
+
|??||''''''
+
 
+
 
|}
 
|}
  
Several resource attributes are added through multiple bytes. Initial the weighting will
+
Please not that there is no EntangleResistance. It has been removed from the game.
  
be distributed equally through all attributes.
+
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  
+
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.  
 
+
looked at so far only the last dataset of the assembly weights part was of importance.  
+
 
+
So to see a few examples :
+
 
+
{|
+
 
+
Original Quality 100 %
+
 
+
 
+
 
+
----
+
 
+
|}
+
 
|}
 
|}
  
 
==Examples==
 
==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
 
+
==Examples==
+
  
 +
{| border="0" width="90%" cellpadding=6 align="center"
 +
|-
 +
|valign=top|
 
{| class="wikitable"
 
{| class="wikitable"
|-
+
|+ <font color="darkorange">'''OQ 100% / PE 0%'''</font>
|resource weights
+
! colspan="4" style="margin: 1em auto 1em auto" |'''resource weights'''
|assembly weights
+
! colspan="4" style="margin: 1em auto 1em auto" |'''assembly weights'''
 
+
|- align="center"
|-
+
||'''04'''||''' '''||''' '''||<font color="white">'''00'''</font>||'''04'''||''' '''||''' '''||
|
+
|-  align="center"
04  
+
||''' '''||'''01'''||'''81'''||''' '''||''' '''||'''01'''||'''81'''||''' '''
:01   81
+
|-  align="center"
:01   81
+
||''' '''||'''01'''||'''81'''||''' '''||''' '''||'''01'''||'''81'''||''' '''
:01   81
+
|-  align="center"
:01   81
+
||''' '''||'''01'''||'''81'''||''' '''||''' '''||'''01'''||'''81'''||''' '''
|
+
|-  align="center"
04
+
||''' '''||'''01'''||'''81'''||''' '''||''' '''||'''02'''||'''83'''||<font color="white">'''00'''</font>
:01   81
+
|-
:01   81
+
:01  81
+
:01   81
+
 
+
 
|}
 
|}
  
<br>
+
|valign=top|
|
+
OQ 50 % PE 50%
+
  
 
{| class="wikitable"
 
{| class="wikitable"
|-
+
|+<font color="darkorange">'''OQ 50% / PE 50%'''</font>
|resource weights
+
! colspan="4" style="margin: 1em auto 1em auto" |'''resource weights'''
|assembly weights
+
! colspan="4" style="margin: 1em auto 1em auto" |'''assembly weights'''
 
+
|- align="center"
|-
+
||'''04'''||''' '''||''' '''||<font color="white">'''00'''</font>||'''04'''||''' '''||''' '''||
|
+
|-  align="center"
04  
+
||''' '''||'''01'''||'''81'''||''' '''||''' '''||'''01'''||'''81'''||''' '''
:01   81
+
|-  align="center"
:01   81
+
||''' '''||'''01'''||'''81'''||''' '''||''' '''||'''01'''||'''81'''||''' '''
:01   81
+
|-  align="center"
:01   81
+
||''' '''||'''01'''||'''81'''||''' '''||''' '''||'''01'''||'''81'''||''' '''
|
+
|-  align="center"
04
+
||''' '''||'''01'''||'''81'''||''' '''||''' '''||'''02'''||'''81'''||'''71'''
:01   81
+
|-
:01   81
+
:01   81
+
:02   81 71
+
 
+
 
|}
 
|}
  
<br>
+
|valign=top|
|
+
 
+
OQ 66 % PE 33%
+
  
 
{| class="wikitable"
 
{| class="wikitable"
|-
+
|+<font color="darkorange">'''OQ 66% / PE 33%'''<font>
|resource weights
+
! colspan="4" style="margin: 1em auto 1em auto" |'''resource weights'''
|assembly weights
+
! colspan="4" style="margin: 1em auto 1em auto" |'''assembly weights'''
 
+
|- align="center"
|-
+
||'''04'''||''' '''||''' '''||<font color="white">'''00'''</font>||'''04'''||''' '''||''' '''||
|
+
|-  align="center"
04  
+
||''' '''||'''01'''||'''81'''||''' '''||''' '''||'''01'''||'''81'''||''' '''
:01   81
+
|-  align="center"
:01   81
+
||''' '''||'''01'''||'''81'''||''' '''||''' '''||'''01'''||'''81'''||''' '''
:01   81
+
|-  align="center"
:01   81
+
||''' '''||'''01'''||'''81'''||''' '''||''' '''||'''01'''||'''81'''||''' '''
|
+
|-  align="center"
04
+
||''' '''||'''01'''||'''81'''||''' '''||''' '''||'''02'''||'''82'''||'''71'''
:01   81
+
|-
:01   81
+
:01   81
+
:02   82 71
+
 
+
 
|}
 
|}
  
 
+
|valign=top|
|
+
<br>
+
and finally OQ 75% PE 25%
+
  
 
{| class="wikitable"
 
{| class="wikitable"
|-
+
|+<font color="darkorange">'''OQ 75% / PE 25%'''<font>
|resource weights
+
! colspan="4" style="margin: 1em auto 1em auto" |'''resource weights'''
|assembly 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"
 
|-
 
|-
|
+
||
04
+
{| class="wikitable"
:01  81
+
|+<font color="darkorange">'''Bofa treat'''<font>
:01  81
+
! colspan="4" style="margin: 1em auto 1em auto" |'''resource weights'''
:01  81
+
! colspan="4" style="margin: 1em auto 1em auto" |'''assembly weights'''
:01  81
+
|-  align="center"
|
+
||'''04'''||''' '''||''' '''||<font color="white">'''00'''</font>||'''04'''||''' '''||''' '''||
04  
+
|-  align="center"
:01  81
+
||''' '''||'''01'''||'''51'''||''' '''||''' '''||'''01'''||'''51'''||''' '''||''' not used'''
:01   81
+
|-  align="center"
:01   81
+
||''' '''||'''02'''||'''51'''||'''23 '''||''' '''||'''02'''||'''51'''||'''23 '''||''' not used'''
:02   83 71
+
|-  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)'''
 +
|-
 +
|}
 
|}
 
|}
 
 
<pre>
 
 
</pre>
 

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)