Difference between revisions of "StatMigrationTargetsMessage"

From SWGANH Wiki
Jump to: navigation, search
(Struct)
(Variable Descriptions)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Server Packet|StatMigrationTargetsMessage (EFAC38C4)}}
 
+
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
 
|-
 
|-
Line 6: Line 5:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
 +
|-
 +
||
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 34: Line 35:
 
|-
 
|-
 
|}
 
|}
 
+
|}
 
===Variable Descriptions===
 
===Variable Descriptions===
 
----
 
----
Line 42: Line 43:
 
Opcode     = '''EFAC38C4'''
 
Opcode     = '''EFAC38C4'''
 
----
 
----
 
* Unknown shorts
 
:These effect the target value, and remaining points of the window.
 
:They are '''ALL SIGNED SHORTS'''.
 
:The first two, affect health, the next two, constitution etc until the last 10
 
:The last 10 also effect the numbers, but they start over, the first affects health, the second con, etc.
 
:So the variables effecting each value are the two shorts in the first set, then one short in the second set.
 
:I think this has something to do with, target value, total points, and remaining points.
 
:Also, the values in the client from these shorts appear to be '''shifted left 8 bits''', I have no idea why.
 
  
 
* General notes on stat migration
 
* General notes on stat migration
: This packet will open the window no-matter what, yet it will not be correct.
+
: The client sends this packet to the server to open this window [http://wiki2.swganh.org/index.php/Requeststatmigrationdata_%287AFCA539%29 RequestStatsMigration]
: You must click on the stat migration button once before each time you send this packet, if you don't, the window will have the wrong numbers, none of the sliders/buttons will work, and the only way to close it is to press the stat migration button.
+
: Screenshot of the windows forced open by just sending the packet to open it  
: It is still completely unknown how you get the client to request for this packet.
+
:{| align="center"
 +
|-
 +
||[[Image:ScreenShot0026.jpg|thumb|Stats Screen]]
 +
|-
 +
|}
  
 
[[Species Info|Stat info based on species]]
 
[[Species Info|Stat info based on species]]
  
 
|valign=top|
 
|valign=top|
 +
 
===Tags===
 
===Tags===
 
----
 
----
Line 66: Line 63:
 
||{{ServerPacket}}
 
||{{ServerPacket}}
 
|-
 
|-
||{{25%}}
+
||{{100%}}
 
|-
 
|-
 
|}
 
|}
 
 
|}
 
|}
  
----
+
==Sample Packet==
 
+
'''This is a constructed packet based on meanmom's crack'''
==Sample Code==
+
----
+
 
+
 
<pre>
 
<pre>
Insert Code Snippet Here...
+
09 00 // Op Count
</pre>
+
C4 38 AC EF // StatMigrationTargetsMessage
 +
01 00 00 00 // Health
 +
01 00 00 00 // Strength
 +
01 00 00 00 // Constitution
 +
01 00 00 00 // Action
 +
01 00 00 00 // Quickness
 +
01 00 00 00 // Stamina
 +
01 00 00 00 // Mind
 +
01 00 00 00 // Focus
 +
01 00 00 00 // Willpower
 +
01 00 00 00 // Points Left to Migrate
 +
==================================================
 +
Wookiee starting Ham for Artisan
  
==Sample Packet==
+
09 00 // Op Count
 +
C4 38 AC EF // StatMigrationTargetsMessage
 +
B6 03 00 00 // 950
 +
8A 02 00 00 // 650
 +
C2 01 00 00 // 450
 +
E8 03 00 00 // 1000
 +
F4 01 00 00 // 500
 +
F4 01 00 00 // 500
 +
E8 03 00 00 // 1000
 +
26 02 00 00 // 550
 +
58 02 00 00 // 600
 +
00 00 00 00 // Points Left to Migrate
  
<pre>
 
Insert Sample Packet Here...
 
 
</pre>
 
</pre>

Latest revision as of 22:50, 10 May 2008

Server Packet - StatMigrationTargetsMessage (EFAC38C4)

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

Struct


SHORT Operand
INT Opcode
INT Health Target
INT Strength Target
INT Constitution Target
INT Action Target
INT Quickness Target
INT Stamina Target
INT Mind Target
INT Focus Target
INT Willpower Target
INT Points Remaining

Variable Descriptions


Opperand_Count = 9

Opcode = EFAC38C4


  • General notes on stat migration
The client sends this packet to the server to open this window RequestStatsMigration
Screenshot of the windows forced open by just sending the packet to open it
Stats Screen

Stat info based on species

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.

Sample Packet

This is a constructed packet based on meanmom's crack

09 00 // Op Count
C4 38 AC EF // StatMigrationTargetsMessage
01 00 00 00 // Health
01 00 00 00 // Strength
01 00 00 00 // Constitution
01 00 00 00 // Action
01 00 00 00 // Quickness
01 00 00 00 // Stamina
01 00 00 00 // Mind
01 00 00 00 // Focus
01 00 00 00 // Willpower
01 00 00 00 // Points Left to Migrate
==================================================
Wookiee starting Ham for Artisan

09 00 // Op Count
C4 38 AC EF // StatMigrationTargetsMessage
B6 03 00 00 // 950
8A 02 00 00 // 650
C2 01 00 00 // 450
E8 03 00 00 // 1000
F4 01 00 00 // 500
F4 01 00 00 // 500
E8 03 00 00 // 1000
26 02 00 00 // 550
58 02 00 00 // 600
00 00 00 00 // Points Left to Migrate