Difference between revisions of "MISO03"

From SWGANH Wiki
Jump to: navigation, search
(Variable Descriptions)
(Sample Packet)
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Baseline|MISO03}}
 
+
 
{|align="center"
 
{|align="center"
 
|-  
 
|-  
Line 13: Line 12:
 
----
 
----
 
<pre>
 
<pre>
SHORT:          ObjectOpperandCount
+
SHORT:          Object Opperand Count
 
FLOAT:          Complexity
 
FLOAT:          Complexity
ASTRING:        STFName(Table)
+
ASTRING:        STF Name(Table)
INT:            ??
+
INT:            STF Spacer
ASTRING:        STFName(ID)
+
ASTRING:        STF Name(ID)
USTRING:        CustomName
+
USTRING:        Custom Name
 
INT:            Volume
 
INT:            Volume
INT:            GenericInt(NotUsed)
+
INT:            Generic Int(NotUsed)
INT:            DifficultyLevel
+
INT:            Difficulty Level
FLOAT:          StartCoordX
+
FLOAT:          Start Coord X
FLOAT:          StartCoordZ
+
FLOAT:          Start Coord Z
FLOAT:          StartCoordY
+
FLOAT:          Start Coord Y
LONG:        
+
LONG:           Start Object ID
StartObjectID
+
INT:            Start Planet CRC
INT:            StartPlanetCRC
+
USTRING:        Creator Name
USTRING:        CreatorName
+
INT:            Credits Reward
INT:            CreditsReward
+
FLOAT:          Destination Coord X
FLOAT:          DestinationCoordX
+
FLOAT:          Destination Coord Z
FLOAT:          DestinationCoordZ
+
FLOAT:          Destination Coord Y
FLOAT:          DestinationCoordY
+
LONG:          Destination Object ID
LONG:          DestinationObjectID
+
INT:            Destination Planet CRC
INT:            DestinationPlanetCRC
+
INT:            Target Object Iff CRC
INT:            TargetObjectIffCRC
+
ASTRING:        Mission Description STF
ASTRING:        MissionDescriptionSTF
+
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:            ??
 
INT:            ??
ASTRING:        MissionDescription
+
FLOAT:          Waypoint X Coord
ASTRING:        MissionTitleSTF
+
FLOAT:          Waypoint Z Coord
INT:            ??
+
FLOAT:          Waypoint Y Coord
ASTRING:        MissionTitle
+
LONG:          Waypoint Target ID
INT:            RepeatCounter
+
INT:            Waypoint Planet Crc
INT:            MissionTypeCRC
+
USTRING:        Waypoint Name
ASTRING:        TargetName
+
LONG:          Waypoint Object ID
INT:            ??
+
FLOAT:          WaypointXCoord
+
FLOAT:          WaypointZCoord
+
FLOAT:          WaypointYCoord
+
LONG:          WaypointTargetID
+
INT:            WaypointPlanetCrc
+
USTRING:        WaypointName
+
LONG:          WaypointObjectID
+
 
BYTE:          Color
 
BYTE:          Color
BYTE:          ActiveFlag
+
BYTE:          Active Flag
 
+
 
</pre>
 
</pre>
  
Line 67: Line 64:
 
     FLOAT:              Complexity
 
     FLOAT:              Complexity
 
   01:
 
   01:
     ASTRING:            STFName(Table)
+
     ASTRING:            STF Name(Table)
     INT:                ??
+
     INT:                STF Spacer
     ASTRING:            STFName(ID)
+
     ASTRING:            STF Name(ID)
 
   02:
 
   02:
 
     USTRING:            CustomName
 
     USTRING:            CustomName
Line 92: Line 89:
 
     FLOAT:              DestinationCoordZ
 
     FLOAT:              DestinationCoordZ
 
     FLOAT:              DestinationCoordY
 
     FLOAT:              DestinationCoordY
     LONG:            
+
     LONG:               DestinationObjectID
DestinationObjectID
+
 
     INT:                DestinationPlanetCRC
 
     INT:                DestinationPlanetCRC
 
   0A:
 
   0A:
Line 99: Line 95:
 
   0B:
 
   0B:
 
     ASTRING:            MissionDescriptionSTF
 
     ASTRING:            MissionDescriptionSTF
     INT:                ??
+
     INT:                STF Spacer
 
     ASTRING:            MissionDescription
 
     ASTRING:            MissionDescription
 
   0C:
 
   0C:
 
     ASTRING:            MissionTitleSTF
 
     ASTRING:            MissionTitleSTF
     INT:                ??
+
     INT:                STF Spacer
 
     ASTRING:            MissionTitle
 
     ASTRING:            MissionTitle
 
   0D:
 
   0D:
Line 126: Line 122:
 
</pre>
 
</pre>
  
===Sample Packet===
 
----
 
<pre>
 
05 00
 
0C 5F A7 68              // BaselinesMessage
 
B3 85 A4 1C 17 00 00 00  // ID
 
4F 53 49 4D 03          // OSIM 3
 
C3 00 00 00
 
11 00 00 00
 
80 3F
 
16 00                                          // String count
 
6D 69 73 73 69 6F 6E 2F 6D 69 73 73 69 6F 6E 5F 6F 62 6A 65 63 74  // mission/mission_object
 
00 00 00 00
 
0F 00                                          // String count
 
64 65 73 74 72 6F 79 5F 6D 69 73 73 69 6F 6E  // destroy_mission
 
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
 
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
 
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
 
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
 
B4 85 A4 1C 17 00 00 00  // ID
 
01 00 25
 
</pre>
 
 
|valign=top|
 
|valign=top|
  
Line 187: Line 131:
  
 
'''Complexity''':
 
'''Complexity''':
:The Complexity of the Object or Schematic to create an object.
+
:The Complexity of the mission
  
 
'''STFName''':
 
'''STFName''':
:The Name of the Object taken from an STF File Reference.
+
:STF file name
 +
 
 +
'''STF Spacer''':
 +
:Just a int32 of 0
  
 
'''CustomName''':
 
'''CustomName''':
:A custom specified name for the object. (User created).
+
:A custom name
  
 
'''Volume''':
 
'''Volume''':
:The volume of space the object takes up.
+
:Space the object takes up.
  
 
'''GenericInt''':
 
'''GenericInt''':
Line 202: Line 149:
  
 
'''DifficultyLevel''':
 
'''DifficultyLevel''':
:The Difficulty Level of the mission. Displayed in mission details.
+
:Difficulty Level of the mission.
  
 
'''StartCoord''':
 
'''StartCoord''':
:The starting/pickup coordinates of a delivery mission. (Can have it for destroy missions but its not needed).
+
:The starting/pickup coordinates of a delivery mission.  
 +
:(Can have it for destroy missions but its not needed).
  
 
'''StartObjectID''':
 
'''StartObjectID''':
:The objectID to be used as a location for the start coordinates. This feature does not work.
+
:The objectID to be used as a location for the  
 +
:start coordinates. This feature does not work.
  
 
'''StartPlanetCRC''':
 
'''StartPlanetCRC''':
:The PlanetCRC of the planet this starting location is at. See a planet CRC list.
+
:PlanetCRC of the planet this starting location is at.  
 +
:See a planet CRC list.
  
 
'''CreatorName''':
 
'''CreatorName''':
:The name of the creator of the mission. (Usually made up by the server, not significant, but can be =D ).
+
:The name of the creator of the mission.  
  
 
'''CreditsReward''':
 
'''CreditsReward''':
:The total amount of credits rewarded for the completion of this mission.
+
:amount of credits rewarded
  
 
'''DestinationCoord''':
 
'''DestinationCoord''':
:The destination coordinates of a mission. Synonymous to target coordinates.
+
:Destination coordinates of a mission.  
  
 
'''DestinationObjectID''':
 
'''DestinationObjectID''':
:The objectID to be used as a location for the start coordinates. This feature does not work. Use 0.
+
:The objectID to be used as a location for the  
 +
:start coordinates. This feature does not work. Use 0.
  
 
'''DestinationPlanetCRC''':
 
'''DestinationPlanetCRC''':
:The PlanetCRC of the planet the destination/target location is at. See a planet CRC list.
+
:PlanetCRC of the planet the destination/target location is at.
  
 
'''TargetObjectIffCRC''':
 
'''TargetObjectIffCRC''':
:The ObjectTemplateIFF CRC of the target object. Will display as the visual in the mission description.
+
:The ObjectTemplateIFF CRC of the target object.  
 +
:Will display as the visual in the mission description.
  
 
'''MissionDescription''':
 
'''MissionDescription''':
Line 243: Line 195:
 
'''MissionTypeCRC''':
 
'''MissionTypeCRC''':
 
:The CRC of the string of the tab to display this mission under on the terminal/ui. Possible options are:
 
:The CRC of the string of the tab to display this mission under on the terminal/ui. Possible options are:
::<pre>
+
<pre>
 
destroy
 
destroy
 
deliver
 
deliver
Line 264: Line 216:
  
 
'''WaypointPlanetCrc''':
 
'''WaypointPlanetCrc''':
:The Planet CRC of the target waypoint object attached with the mission. See a planet CRC list for options.
+
:Planet CRC of the target waypoint  
  
 
'''WaypointName''':
 
'''WaypointName''':
:The name to be displayed for the waypoint. This is usually the mission title using the @ STF : String referencer.
+
:The name for the waypoint.  
  
 
'''WaypointObjectID''':
 
'''WaypointObjectID''':
:This is the objectID of the waypoint object that is attached to the mission object.
+
:waypoint object  
:It is MissionObjectID+1 and is set in theinitial baseline for the mission object.
+
:MissionObjectID+1  
  
 
'''Color''':  
 
'''Color''':  
:This is the color of the waypoint to use.
+
:This is the color of the waypoint  
:Reference waypoint objects or player object waypoints for a list of options.
+
  
 
'''ActiveFlag''':
 
'''ActiveFlag''':
:This flag is set to 1 if the waypoint is active. 0 if it is inactive. It SHOULD be managed by the mission object and UI itself.
+
:1 if the waypoint is active. 0 if it is inactive.
 
+
  
 
===Additional Information===
 
===Additional Information===
 
----
 
----
  
* Missions consist of 10 ObjectID's tied to the Character. Deltas are resent on "Refresh" and new information is replaced in.
+
* 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 10 Objects Reserved if you want to increase the cap of max missions at one time.
+
* 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).
 
* 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 at once.
+
* 2 Max Missions may be in the bag / accepted at once.
 
* Soooo to increase this you need more base missions.
 
* Soooo to increase this you need more base missions.
 
* Make it dynamic in the server.
 
* Make it dynamic in the server.
Line 297: Line 247:
 
{| align="center"
 
{| align="center"
 
|-  
 
|-  
||{{0%}}
+
||{{75%}}
 
|-
 
|-
 
|}
 
|}
 
|}
 
|}
  
 +
===Sample Packet===
 
----
 
----
 +
<pre>
 +
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
 +
</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.

MISO Packet Type QuickNav
MISO03 - MISO06 - MISO08 - MISO09

BaseLine Struct


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

Deltas Struct


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
}

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:
destroy
deliver
bounty
assassin
crafting
entertainer
hunting
survey

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


75% This packet has been partially reversed.

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