MISO03

From SWGANH Wiki
Revision as of 23:59, 28 November 2007 by Snow (Talk | contribs) (Tags)

Jump to: navigation, search


MISO Packet Type QuickNav
MISO03 - MISO06 - MISO08 - MISO09

BaseLine Struct


SHORT:          ObjectOpperandCount
FLOAT:          Complexity
ASTRING:        STFName(Table)
INT:            ??
ASTRING:        STFName(ID)
USTRING:        CustomName
INT:            Volume
INT:            GenericInt(NotUsed)
INT:            DifficultyLevel
FLOAT:          StartCoordX
FLOAT:          StartCoordZ
FLOAT:          StartCoordY
LONG:          
 StartObjectID
INT:            StartPlanetCRC
USTRING:        CreatorName
INT:            CreditsReward
FLOAT:          DestinationCoordX
FLOAT:          DestinationCoordZ
FLOAT:          DestinationCoordY
LONG:           DestinationObjectID
INT:            DestinationPlanetCRC
INT:            TargetObjectIffCRC
ASTRING:        MissionDescriptionSTF
INT:            ??
ASTRING:        MissionDescription
ASTRING:        MissionTitleSTF
INT:            ??
ASTRING:        MissionTitle
INT:            RepeatCounter
INT:            MissionTypeCRC
ASTRING:        TargetName
INT:            ??
FLOAT:          WaypointXCoord
FLOAT:          WaypointZCoord
FLOAT:          WaypointYCoord
LONG:           WaypointTargetID
INT:            WaypointPlanetCrc
USTRING:        WaypointName
LONG:           WaypointObjectID
BYTE:           Color
BYTE:           ActiveFlag

Deltas Struct


SHORT:                  UpdateCount
SHORT:                  UpdateType
{
  00:
    FLOAT:              Complexity
  01:
    ASTRING:            STFName(Table)
    INT:                ??
    ASTRING:            STFName(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:                ??
    ASTRING:            MissionDescription
  0C:
    ASTRING:            MissionTitleSTF
    INT:                ??
    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
}

Sample Packet


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

Variable Descriptions


ObjectOpperandCount = 5


Complexity:

The Complexity of the Object or Schematic to create an object.

STFName:

The Name of the Object taken from an STF File Reference.

CustomName:

A custom specified name for the object. (User created).

Volume:

The volume of space the object takes up.

GenericInt:

Not Used In Missions.

DifficultyLevel:

The Difficulty Level of the mission. Displayed in mission details.

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:

The PlanetCRC of the planet this starting location is at. See a planet CRC list.

CreatorName:

The name of the creator of the mission. (Usually made up by the server, not significant, but can be =D ).

CreditsReward:

The total amount of credits rewarded for the completion of this mission.

DestinationCoord:

The destination coordinates of a mission. Synonymous to target coordinates.

DestinationObjectID:

The objectID to be used as a location for the start coordinates. This feature does not work. Use 0.

DestinationPlanetCRC:

The PlanetCRC of the planet the destination/target location is at. See a planet CRC list.

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:

The Planet CRC of the target waypoint object attached with the mission. See a planet CRC list for options.

WaypointName:

The name to be displayed for the waypoint. This is usually the mission title using the @ STF : String referencer.

WaypointObjectID:

This is the objectID of the waypoint object that is attached to the mission object.
It is MissionObjectID+1 and is set in theinitial baseline for the mission object.

Color:

This is the color of the waypoint to use.
Reference waypoint objects or player object waypoints for a list of options.

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.


Additional Information


  • Missions consist of 10 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.
  • 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.
  • 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.