Difference between revisions of "UpdateTransformMessage"
From SWGANH Wiki
(→Variable Descriptions) |
(→Sample Packet) |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 9: | Line 9: | ||
|| | || | ||
{| class="wikitable" | {| class="wikitable" | ||
| − | |{{short}}||''' | + | |{{short}}||'''Op Count''' |
|- | |- | ||
|{{int}}||'''Opcode''' | |{{int}}||'''Opcode''' | ||
| Line 23: | Line 23: | ||
|{{int}}||'''UpdateCounter''' | |{{int}}||'''UpdateCounter''' | ||
|- | |- | ||
| − | |{{byte}}||''' | + | |{{byte}}||'''Speed''' |
|- | |- | ||
|{{byte}}||'''Direction''' | |{{byte}}||'''Direction''' | ||
| Line 56: | Line 56: | ||
:Incremented by 1 each packet. | :Incremented by 1 each packet. | ||
| − | * ''' | + | * '''Speed''': |
| − | + | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Haven't seen it out side the range of 0..5 yet | Haven't seen it out side the range of 0..5 yet | ||
| Line 133: | Line 100: | ||
CB 2B // z | CB 2B // z | ||
03 03 00 00 // counter | 03 03 00 00 // counter | ||
| − | 00 // | + | 00 // Speed |
2F // direction | 2F // direction | ||
| + | |||
| + | 08 00 //opcount | ||
| + | 08 F8 24 1B // UpdateTransformMessage | ||
| + | D5 4F 90 19 17 00 00 00 // ID | ||
| + | FA CF // x -3073.5 | ||
| + | 7C 00 // y 31 | ||
| + | 11 2C // z 2820.25 | ||
| + | 6E 02 00 00 // update counter | ||
| + | 00 // speed | ||
| + | E7 // direction | ||
| + | </pre> | ||
| + | |||
| + | Below is an NGE Packet | ||
| + | <pre> | ||
| + | 0A 00 //opcount | ||
| + | 08 F8 24 1B // UpdateTransformMessage | ||
| + | F1 50 15 74 1E 00 00 00 // ID | ||
| + | 85 0D // x | ||
| + | 1D 00 // y | ||
| + | 87 34 // z | ||
| + | 02 00 00 00 // update Count | ||
| + | 00 // speed | ||
| + | 15 // rotation | ||
| + | 00 // rotation direction ?? | ||
| + | 00 | ||
</pre> | </pre> | ||
Latest revision as of 17:06, 5 January 2025
Server Packet - UpdateTransformMessage (1B24F808)
SWGANH Wiki is a repository of Star Wars Galaxies Developer information. This site is only meant to be used by SWGANH Developer team.
Struct
Variable DescriptionsOpperand_Count = 8 Opcode = 1B24F808
n = X / 4; if n > 8192 n = n - 16384; effective map range is -8192..8192 to convert the a float to position n = uint16(x * 4.0f + 0.5f);
:OLD--DATA--Found this to be the posture byte
- |
Tags
|
Sample Packet
08 00 // op count 08 F8 24 1B // UpdateTransformMessage EB 4F 90 19 17 00 00 00 // object ID AD CF // x 7C 00 // y CB 2B // z 03 03 00 00 // counter 00 // Speed 2F // direction 08 00 //opcount 08 F8 24 1B // UpdateTransformMessage D5 4F 90 19 17 00 00 00 // ID FA CF // x -3073.5 7C 00 // y 31 11 2C // z 2820.25 6E 02 00 00 // update counter 00 // speed E7 // direction
Below is an NGE Packet
0A 00 //opcount 08 F8 24 1B // UpdateTransformMessage F1 50 15 74 1E 00 00 00 // ID 85 0D // x 1D 00 // y 87 34 // z 02 00 00 00 // update Count 00 // speed 15 // rotation 00 // rotation direction ?? 00