Difference between revisions of "MISO03"

From SWGANH Wiki
Jump to: navigation, search
(Additional Information)
(Sample Packet)
 
(7 intermediate revisions by 2 users not shown)
Line 12: Line 12:
 
----
 
----
 
<pre>
 
<pre>
SHORT:          ObjectOpperandCount
+
SHORT:          Object Opperand Count
 
FLOAT:          Complexity
 
FLOAT:          Complexity
ASTRING:        STFName(Table)
+
ASTRING:        STF Name(Table)
INT:            NotUsed
+
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:          StartObjectID
+
LONG:          Start Object ID
INT:            StartPlanetCRC
+
INT:            Start Planet CRC
USTRING:        CreatorName
+
USTRING:        Creator Name
INT:            CreditsReward
+
INT:            Credits Reward
FLOAT:          DestinationCoordX
+
FLOAT:          Destination Coord X
FLOAT:          DestinationCoordZ
+
FLOAT:          Destination Coord Z
FLOAT:          DestinationCoordY
+
FLOAT:          Destination Coord Y
LONG:          DestinationObjectID
+
LONG:          Destination Object ID
INT:            DestinationPlanetCRC
+
INT:            Destination Planet CRC
INT:            TargetObjectIffCRC
+
INT:            Target Object Iff CRC
ASTRING:        MissionDescriptionSTF
+
ASTRING:        Mission Description STF
INT:            NotUsed
+
INT:            STF Spacer
ASTRING:        MissionDescription
+
ASTRING:        Mission Description
ASTRING:        MissionTitleSTF
+
ASTRING:        Mission TitleSTF
INT:            NotUsed
+
INT:            STF Spacer
ASTRING:        MissionTitle
+
ASTRING:        Mission Title
INT:            RepeatCounter
+
INT:            Repeat Counter
INT:            MissionTypeCRC
+
INT:            Mission Type CRC
ASTRING:        TargetName
+
ASTRING:        Target Name
 
INT:            ??
 
INT:            ??
FLOAT:          WaypointXCoord
+
FLOAT:          Waypoint X Coord
FLOAT:          WaypointZCoord
+
FLOAT:          Waypoint Z Coord
FLOAT:          WaypointYCoord
+
FLOAT:          Waypoint Y Coord
LONG:          WaypointTargetID
+
LONG:          Waypoint Target ID
INT:            WaypointPlanetCrc
+
INT:            Waypoint Planet Crc
USTRING:        WaypointName
+
USTRING:        Waypoint Name
LONG:          WaypointObjectID
+
LONG:          Waypoint Object ID
 
BYTE:          Color
 
BYTE:          Color
BYTE:          ActiveFlag
+
BYTE:          Active Flag
 
</pre>
 
</pre>
  
Line 64: Line 64:
 
     FLOAT:              Complexity
 
     FLOAT:              Complexity
 
   01:
 
   01:
     ASTRING:            STFName(Table)
+
     ASTRING:            STF Name(Table)
     INT:                NotUsed
+
     INT:                STF Spacer
     ASTRING:            STFName(ID)
+
     ASTRING:            STF Name(ID)
 
   02:
 
   02:
 
     USTRING:            CustomName
 
     USTRING:            CustomName
Line 89: Line 89:
 
     FLOAT:              DestinationCoordZ
 
     FLOAT:              DestinationCoordZ
 
     FLOAT:              DestinationCoordY
 
     FLOAT:              DestinationCoordY
     LONG:            
+
     LONG:               DestinationObjectID
DestinationObjectID
+
 
     INT:                DestinationPlanetCRC
 
     INT:                DestinationPlanetCRC
 
   0A:
 
   0A:
Line 96: 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 136: Line 135:
 
'''STFName''':
 
'''STFName''':
 
:STF file name
 
:STF file name
 +
 +
'''STF Spacer''':
 +
:Just a int32 of 0
  
 
'''CustomName''':
 
'''CustomName''':
Line 235: Line 237:
 
* You will need more than 8 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 254: Line 256:
 
<pre>
 
<pre>
 
05 00  
 
05 00  
0C 5F A7 68             // BaselinesMessage
+
0C 5F A7 68  
B3 85 A4 1C 17 00 00 00 // ID
+
6F 14 B8 30 42 00 00 00  
4F 53 49 4D 03           // OSIM 3
+
4F 53 49 4D 03 17 01 00 00 11 00  
C3 00 00 00  
+
00 00 80 3F // complexity
11 00 00 00
+
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                                         // 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  
 +
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 298: 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  
B4 85 A4 1C 17 00 00 00 // ID
+
70 14 B8 30 42 00 00 00  
01 00 25
+
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.

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