Difference between revisions of "MISO03"
From SWGANH Wiki
(→Sample Packet) |
(→Sample Packet) |
||
(19 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{PageHeader|Baseline|MISO03}} | |
− | + | ||
{|align="center" | {|align="center" | ||
|- | |- | ||
Line 13: | Line 12: | ||
---- | ---- | ||
<pre> | <pre> | ||
− | + | SHORT: Object Opperand Count | |
+ | FLOAT: Complexity | ||
+ | ASTRING: STF Name(Table) | ||
+ | INT: STF Spacer | ||
+ | ASTRING: STF Name(ID) | ||
+ | USTRING: Custom Name | ||
+ | INT: Volume | ||
+ | INT: Generic Int(NotUsed) | ||
+ | INT: Difficulty Level | ||
+ | FLOAT: Start Coord X | ||
+ | FLOAT: Start Coord Z | ||
+ | FLOAT: Start Coord Y | ||
+ | LONG: Start Object ID | ||
+ | INT: Start Planet CRC | ||
+ | USTRING: Creator Name | ||
+ | INT: Credits Reward | ||
+ | FLOAT: Destination Coord X | ||
+ | FLOAT: Destination Coord Z | ||
+ | FLOAT: Destination Coord Y | ||
+ | LONG: Destination Object ID | ||
+ | INT: Destination Planet CRC | ||
+ | INT: Target Object Iff CRC | ||
+ | ASTRING: Mission Description STF | ||
+ | INT: STF Spacer | ||
+ | ASTRING: Mission Description | ||
+ | ASTRING: Mission TitleSTF | ||
+ | INT: STF Spacer | ||
+ | ASTRING: Mission Title | ||
+ | INT: Repeat Counter | ||
+ | INT: Mission Type CRC | ||
+ | ASTRING: Target Name | ||
+ | INT: ?? | ||
+ | FLOAT: Waypoint X Coord | ||
+ | FLOAT: Waypoint Z Coord | ||
+ | FLOAT: Waypoint Y Coord | ||
+ | LONG: Waypoint Target ID | ||
+ | INT: Waypoint Planet Crc | ||
+ | USTRING: Waypoint Name | ||
+ | LONG: Waypoint Object ID | ||
+ | BYTE: Color | ||
+ | BYTE: Active Flag | ||
</pre> | </pre> | ||
Line 19: | Line 58: | ||
---- | ---- | ||
<pre> | <pre> | ||
+ | SHORT: UpdateCount | ||
+ | SHORT: UpdateType | ||
+ | { | ||
+ | 00: | ||
+ | FLOAT: Complexity | ||
+ | 01: | ||
+ | ASTRING: STF Name(Table) | ||
+ | INT: STF Spacer | ||
+ | ASTRING: STF Name(ID) | ||
+ | 02: | ||
+ | USTRING: CustomName | ||
+ | 03: | ||
+ | INT: Volume | ||
+ | 04: | ||
+ | INT: GenericInt(NotUsed) | ||
+ | 05: | ||
+ | INT: DifficultyLevel | ||
+ | 06: | ||
+ | FLOAT: StartCoordX | ||
+ | FLOAT: StartCoordZ | ||
+ | FLOAT: StartCoordY | ||
+ | LONG: StartObjectID | ||
+ | INT: StartPlanetCRC | ||
+ | 07: | ||
+ | USTRING: CreatorName | ||
+ | 08: | ||
+ | INT: CreditsReward | ||
+ | 09: | ||
+ | FLOAT: DestinationCoordX | ||
+ | FLOAT: DestinationCoordZ | ||
+ | FLOAT: DestinationCoordY | ||
+ | LONG: DestinationObjectID | ||
+ | INT: DestinationPlanetCRC | ||
+ | 0A: | ||
+ | INT: TargetObjectIffCRC | ||
+ | 0B: | ||
+ | ASTRING: MissionDescriptionSTF | ||
+ | INT: STF Spacer | ||
+ | ASTRING: MissionDescription | ||
+ | 0C: | ||
+ | ASTRING: MissionTitleSTF | ||
+ | INT: STF Spacer | ||
+ | ASTRING: MissionTitle | ||
+ | 0D: | ||
+ | INT: RepeatCounter | ||
+ | 0E: | ||
+ | INT: MissionTypeCRC | ||
+ | 0F: | ||
+ | ASTRING: TargetName | ||
+ | 10: | ||
+ | INT: ?? | ||
+ | FLOAT: WaypointXCoord | ||
+ | FLOAT: WaypointZCoord | ||
+ | FLOAT: WaypointYCoord | ||
+ | LONG: WaypointTargetID | ||
+ | INT: WaypointPlanetCrc | ||
+ | USTRING: WaypointName | ||
+ | LONG: WaypointObjectID | ||
+ | BYTE: Color | ||
+ | BYTE: ActiveFlag | ||
+ | } | ||
+ | |||
</pre> | </pre> | ||
+ | |||
+ | |valign=top| | ||
+ | |||
+ | ===Variable Descriptions=== | ||
+ | ---- | ||
+ | |||
+ | ObjectOpperandCount = 5 | ||
+ | ---- | ||
+ | |||
+ | '''Complexity''': | ||
+ | :The Complexity of the mission | ||
+ | |||
+ | '''STFName''': | ||
+ | :STF file name | ||
+ | |||
+ | '''STF Spacer''': | ||
+ | :Just a int32 of 0 | ||
+ | |||
+ | '''CustomName''': | ||
+ | :A custom name | ||
+ | |||
+ | '''Volume''': | ||
+ | :Space the object takes up. | ||
+ | |||
+ | '''GenericInt''': | ||
+ | :Not Used In Missions. | ||
+ | |||
+ | '''DifficultyLevel''': | ||
+ | :Difficulty Level of the mission. | ||
+ | |||
+ | '''StartCoord''': | ||
+ | :The starting/pickup coordinates of a delivery mission. | ||
+ | :(Can have it for destroy missions but its not needed). | ||
+ | |||
+ | '''StartObjectID''': | ||
+ | :The objectID to be used as a location for the | ||
+ | :start coordinates. This feature does not work. | ||
+ | |||
+ | '''StartPlanetCRC''': | ||
+ | :PlanetCRC of the planet this starting location is at. | ||
+ | :See a planet CRC list. | ||
+ | |||
+ | '''CreatorName''': | ||
+ | :The name of the creator of the mission. | ||
+ | |||
+ | '''CreditsReward''': | ||
+ | :amount of credits rewarded | ||
+ | |||
+ | '''DestinationCoord''': | ||
+ | :Destination coordinates of a mission. | ||
+ | |||
+ | '''DestinationObjectID''': | ||
+ | :The objectID to be used as a location for the | ||
+ | :start coordinates. This feature does not work. Use 0. | ||
+ | |||
+ | '''DestinationPlanetCRC''': | ||
+ | :PlanetCRC of the planet the destination/target location is at. | ||
+ | |||
+ | '''TargetObjectIffCRC''': | ||
+ | :The ObjectTemplateIFF CRC of the target object. | ||
+ | :Will display as the visual in the mission description. | ||
+ | |||
+ | '''MissionDescription''': | ||
+ | :The STF of the mission description displayed in the details. | ||
+ | |||
+ | '''MissionTitle''': | ||
+ | :The STF of the mission title displayed in the mission list and details (and is used as the waypoint name). | ||
+ | |||
+ | '''RepeatCounter''': | ||
+ | :This counter increments every time a specific mission number is re-used. ie. m33t, when used again, will have this for 2. | ||
+ | :This counter also allows you to "redisplay" (remember the missions only display on a delta that CHANGES the object) by changing it, and nothing else, you can get it to redisplay the mission similar to an update counter. | ||
+ | |||
+ | '''MissionTypeCRC''': | ||
+ | :The CRC of the string of the tab to display this mission under on the terminal/ui. Possible options are: | ||
+ | <pre> | ||
+ | destroy | ||
+ | deliver | ||
+ | bounty | ||
+ | assassin | ||
+ | crafting | ||
+ | entertainer | ||
+ | hunting | ||
+ | survey | ||
+ | </pre> | ||
+ | |||
+ | '''TargetName''': | ||
+ | :The name of the target/destination object. | ||
+ | |||
+ | '''WaypointCoord''': | ||
+ | :The coordinates of the target waypoint object attached with the mission. | ||
+ | |||
+ | '''WaypointTargetID''': | ||
+ | :The ObjectID of the target object. This option does not work. Use 0. | ||
+ | |||
+ | '''WaypointPlanetCrc''': | ||
+ | :Planet CRC of the target waypoint | ||
+ | |||
+ | '''WaypointName''': | ||
+ | :The name for the waypoint. | ||
+ | |||
+ | '''WaypointObjectID''': | ||
+ | :waypoint object | ||
+ | :MissionObjectID+1 | ||
+ | |||
+ | '''Color''': | ||
+ | :This is the color of the waypoint | ||
+ | |||
+ | '''ActiveFlag''': | ||
+ | :1 if the waypoint is active. 0 if it is inactive. | ||
+ | |||
+ | ===Additional Information=== | ||
+ | ---- | ||
+ | |||
+ | * Missions consist of 8 ObjectID's tied to the Character. Deltas are resent on "Refresh" and new information is replaced in. | ||
+ | * You will need more than 8 Objects Reserved if you want to increase the cap of max missions at one time. | ||
+ | * 8 Missions displayed on terminal per refresh. (for 2 tabs per terminal at most. 4 on each tab). | ||
+ | * 2 Max Missions may be in the bag / accepted at once. | ||
+ | * Soooo to increase this you need more base missions. | ||
+ | * Make it dynamic in the server. | ||
+ | * It is possible to just change the Repeat Count and reuse old data (thus saving bandwidth). | ||
+ | * Potentially Optimize Randomization process for bandwidth reduction, maybe allow users to change randomization tolerance. | ||
+ | |||
+ | ===Tags=== | ||
+ | ---- | ||
+ | {| align="center" | ||
+ | |- | ||
+ | ||{{75%}} | ||
+ | |- | ||
+ | |} | ||
+ | |} | ||
===Sample Packet=== | ===Sample Packet=== | ||
Line 25: | Line 256: | ||
<pre> | <pre> | ||
05 00 | 05 00 | ||
− | 0C 5F A7 68 | + | 0C 5F A7 68 |
− | + | 6F 14 B8 30 42 00 00 00 | |
− | 4F 53 49 4D 03 | + | 4F 53 49 4D 03 17 01 00 00 11 00 |
− | + | 00 00 80 3F // complexity | |
− | + | 16 00 | |
− | 80 3F | + | 6D 69 73 73 69 6F 6E 2F 6D 69 73 73 69 6F 6E 5F 6F 62 6A 65 63 74 |
− | 16 00 | + | |
− | 6D 69 73 73 69 6F 6E 2F 6D 69 73 73 69 6F 6E 5F 6F 62 6A 65 63 74 | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
00 00 00 00 | 00 00 00 00 | ||
+ | 0F 00 | ||
+ | 64 65 73 74 72 6F 79 5F 6D 69 73 73 69 6F 6E | ||
00 00 00 00 | 00 00 00 00 | ||
00 00 00 00 | 00 00 00 00 | ||
00 00 00 00 | 00 00 00 00 | ||
+ | 01 00 00 00 // Volume | ||
+ | 63 C6 F0 44 // start x | ||
+ | 00 00 00 00 // start Y | ||
+ | 2E FB 16 45 // Start Z | ||
+ | 00 00 00 00 00 00 00 00 | ||
+ | 58 B5 D7 AF // Planet CRC | ||
+ | 03 00 00 00 | ||
+ | 41 00 67 00 69 00 | ||
+ | 38 00 00 00 | ||
+ | FC 25 A6 44 // x | ||
+ | 00 00 00 00 // y | ||
+ | FE AF 26 45 // Z | ||
+ | 00 00 00 00 00 00 00 00 | ||
+ | 58 B5 D7 AF | ||
+ | AB DB 91 E1 | ||
+ | 24 00 | ||
+ | 6D 69 73 73 69 6F 6E 2F 6D 69 73 73 69 6F 6E 5F 64 65 6C 69 76 65 72 5F 6E 65 75 74 72 61 6C 5F 65 61 73 79 | ||
00 00 00 00 | 00 00 00 00 | ||
+ | 03 00 | ||
+ | 6D 38 64 24 00 6D 69 73 73 69 6F 6E 2F 6D 69 73 73 69 6F 6E 5F 64 65 6C 69 76 65 72 5F 6E 65 75 74 72 61 6C 5F 65 61 73 79 | ||
00 00 00 00 | 00 00 00 00 | ||
+ | 03 00 | ||
+ | 6D 38 74 | ||
+ | AC 06 00 00 | ||
+ | C6 7E C2 E5 | ||
00 00 00 00 | 00 00 00 00 | ||
00 00 00 00 | 00 00 00 00 | ||
Line 68: | Line 298: | ||
00 00 00 00 | 00 00 00 00 | ||
00 00 00 00 | 00 00 00 00 | ||
+ | 00 00 00 00 00 00 00 00 | ||
00 00 00 00 | 00 00 00 00 | ||
00 00 | 00 00 | ||
− | + | 70 14 B8 30 42 00 00 00 | |
− | 01 00 | + | 01 |
+ | 00 | ||
</pre> | </pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 13:06, 29 July 2009
Baseline - MISO03
SWGANH Wiki is a repository of Star Wars Galaxies Developer information. This site is only meant to be used by SWGANH Developer team.
|
BaseLine StructSHORT: Object Opperand Count FLOAT: Complexity ASTRING: STF Name(Table) INT: STF Spacer ASTRING: STF Name(ID) USTRING: Custom Name INT: Volume INT: Generic Int(NotUsed) INT: Difficulty Level FLOAT: Start Coord X FLOAT: Start Coord Z FLOAT: Start Coord Y LONG: Start Object ID INT: Start Planet CRC USTRING: Creator Name INT: Credits Reward FLOAT: Destination Coord X FLOAT: Destination Coord Z FLOAT: Destination Coord Y LONG: Destination Object ID INT: Destination Planet CRC INT: Target Object Iff CRC ASTRING: Mission Description STF INT: STF Spacer ASTRING: Mission Description ASTRING: Mission TitleSTF INT: STF Spacer ASTRING: Mission Title INT: Repeat Counter INT: Mission Type CRC ASTRING: Target Name INT: ?? FLOAT: Waypoint X Coord FLOAT: Waypoint Z Coord FLOAT: Waypoint Y Coord LONG: Waypoint Target ID INT: Waypoint Planet Crc USTRING: Waypoint Name LONG: Waypoint Object ID BYTE: Color BYTE: Active Flag Deltas StructSHORT: UpdateCount SHORT: UpdateType { 00: FLOAT: Complexity 01: ASTRING: STF Name(Table) INT: STF Spacer ASTRING: STF Name(ID) 02: USTRING: CustomName 03: INT: Volume 04: INT: GenericInt(NotUsed) 05: INT: DifficultyLevel 06: FLOAT: StartCoordX FLOAT: StartCoordZ FLOAT: StartCoordY LONG: StartObjectID INT: StartPlanetCRC 07: USTRING: CreatorName 08: INT: CreditsReward 09: FLOAT: DestinationCoordX FLOAT: DestinationCoordZ FLOAT: DestinationCoordY LONG: DestinationObjectID INT: DestinationPlanetCRC 0A: INT: TargetObjectIffCRC 0B: ASTRING: MissionDescriptionSTF INT: STF Spacer ASTRING: MissionDescription 0C: ASTRING: MissionTitleSTF INT: STF Spacer ASTRING: MissionTitle 0D: INT: RepeatCounter 0E: INT: MissionTypeCRC 0F: ASTRING: TargetName 10: INT: ?? FLOAT: WaypointXCoord FLOAT: WaypointZCoord FLOAT: WaypointYCoord LONG: WaypointTargetID INT: WaypointPlanetCrc USTRING: WaypointName LONG: WaypointObjectID BYTE: Color BYTE: ActiveFlag } |
Variable DescriptionsObjectOpperandCount = 5 Complexity:
STFName:
STF Spacer:
CustomName:
Volume:
GenericInt:
DifficultyLevel:
StartCoord:
StartObjectID:
StartPlanetCRC:
CreatorName:
CreditsReward:
DestinationCoord:
DestinationObjectID:
DestinationPlanetCRC:
TargetObjectIffCRC:
MissionDescription:
MissionTitle:
RepeatCounter:
MissionTypeCRC:
destroy deliver bounty assassin crafting entertainer hunting survey TargetName:
WaypointCoord:
WaypointTargetID:
WaypointPlanetCrc:
WaypointName:
WaypointObjectID:
Color:
ActiveFlag:
Additional Information
Tags
|
Sample Packet
05 00 0C 5F A7 68 6F 14 B8 30 42 00 00 00 4F 53 49 4D 03 17 01 00 00 11 00 00 00 80 3F // complexity 16 00 6D 69 73 73 69 6F 6E 2F 6D 69 73 73 69 6F 6E 5F 6F 62 6A 65 63 74 00 00 00 00 0F 00 64 65 73 74 72 6F 79 5F 6D 69 73 73 69 6F 6E 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 // Volume 63 C6 F0 44 // start x 00 00 00 00 // start Y 2E FB 16 45 // Start Z 00 00 00 00 00 00 00 00 58 B5 D7 AF // Planet CRC 03 00 00 00 41 00 67 00 69 00 38 00 00 00 FC 25 A6 44 // x 00 00 00 00 // y FE AF 26 45 // Z 00 00 00 00 00 00 00 00 58 B5 D7 AF AB DB 91 E1 24 00 6D 69 73 73 69 6F 6E 2F 6D 69 73 73 69 6F 6E 5F 64 65 6C 69 76 65 72 5F 6E 65 75 74 72 61 6C 5F 65 61 73 79 00 00 00 00 03 00 6D 38 64 24 00 6D 69 73 73 69 6F 6E 2F 6D 69 73 73 69 6F 6E 5F 64 65 6C 69 76 65 72 5F 6E 65 75 74 72 61 6C 5F 65 61 73 79 00 00 00 00 03 00 6D 38 74 AC 06 00 00 C6 7E C2 E5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70 14 B8 30 42 00 00 00 01 00