MISO03

From SWGANH Wiki
Revision as of 21:44, 15 June 2008 by Snow (Talk | contribs) (Deltas Struct)

Jump to: navigation, search

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:          ObjectOpperandCount
FLOAT:          Complexity
ASTRING:        STFName(Table)
INT:            NotUsed
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:            NotUsed
ASTRING:        MissionDescription
ASTRING:        MissionTitleSTF
INT:            NotUsed
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:                NotUsed
    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
}

Variable Descriptions


ObjectOpperandCount = 5


Complexity:

The Complexity of the mission

STFName:

STF file name

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 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.

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        // mission/mission_object
73 73 69 6F 6E 5F 6F 62 6A 65 63 74  // 
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