Difference between revisions of "PLAY08"
From SWGANH Wiki
(→Deltas Struct) |
(→Deltas Struct) |
||
Line 80: | Line 80: | ||
ASTRING: XPType | ASTRING: XPType | ||
INT: XPValue | INT: XPValue | ||
− | 02:( | + | 02:(update) |
ASTRING: XPType | ASTRING: XPType | ||
INT: XPValue | INT: XPValue | ||
Line 115: | Line 115: | ||
BYTE: Color | BYTE: Color | ||
BYTE: ActiveFlag | BYTE: ActiveFlag | ||
− | 02:( | + | 02:(update) |
LONG: WaypointObjectID | LONG: WaypointObjectID | ||
INT: CellID | INT: CellID |
Latest revision as of 07:59, 11 September 2011
Baseline - PLAY08
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: OpperandCount INT: XPListSize INT: XPListUpdateCounter { BYTE: DeltaByte(00) ASTRING: XPType INT: XPValue } INT: WaypointListSize INT: WaypointListUpdateCounter { BYTE: DeltaByte(00) LONG: WaypointObjectID INT: CellID FLOAT: XCoord FLOAT: ZCoord FLOAT: YCoord LONG: LocationNetworkId INT: PlanetCRC USTRING: WaypointName LONG: WaypointObjectID BYTE: Color BYTE: ActiveFlag } INT: CurrentForcePower INT: MaxForcePower INT: CurrentFSQuestList INT: UpdateCounter { BYTE: CurrentFSQuestMask } INT: CompletedFSQuestList INT: UpdateCounter { BYTE: CompletedFSQuestMask } INT: QuestJournalList INT: UpdateCounter { BYTE: DeltaByte(00) INT: QuestCRC LONG: OwnerID SHORT: ActiveStepBitmask SHORT: CompletedStepBitmask BYTE: CompletedFlag INT: QuestCounter } Deltas StructSHORT: UpdateCount SHORT: UpdateType { 00: INT: XPListSize INT: XPListUpdateCounter { BYTE: SubType { 00:(add) ASTRING: XPType INT: XPValue 01:(remove) ASTRING: XPType INT: XPValue 02:(update) ASTRING: XPType INT: XPValue } } 01: INT: WaypointListSize INT: WaypointListUpdateCounter { BYTE: SubType { 00:(add) LONG: WaypointObjectID INT: CellID FLOAT: XCoord FLOAT: ZCoord FLOAT: YCoord LONG: NetworkLocationID INT: PlanetCRC USTRING: WaypointName LONG: WaypointObjectID BYTE: Color BYTE: ActiveFlag 01:(remove) LONG: WaypointObjectID INT: CellID FLOAT: XCoord FLOAT: ZCoord FLOAT: YCoord LONG: NetworkLocationID INT: PlanetCRC USTRING: WaypointName LONG: WaypointObjectID BYTE: Color BYTE: ActiveFlag 02:(update) LONG: WaypointObjectID INT: CellID FLOAT: XCoord FLOAT: ZCoord FLOAT: YCoord LONG: NetworkLocationID INT: PlanetCRC USTRING: WaypointName LONG: WaypointObjectID BYTE: Color BYTE: ActiveFlag } } 02: INT: CurrentForcePower 03: INT: MaxForcePower 04: INT: CurrentFSQuestList INT: UpdateCounter { BYTE: CurrentFSQuestMask } 05: INT: CompletedFSQuestList INT: UpdateCounter { BYTE: CompletedFSQuestMask } 06: INT: QuestJournalList INT: UpdateCounter { BYTE: DeltaByte(00) INT: QuestCRC LONG: OwnerID SHORT: ActiveStepBitmask SHORT: CompletedStepBitmask BYTE: CompletedFlag INT: QuestCounter } } |
Variable DescriptionsOpperandCount = 7 XPList:
WaypointList:
ActiveFlag:
Color:
ForcePower:
FSQuestList:
QuestList:
QuestCRC:
OwnerID:
QuestCounter:
CompletedFlag:
QuestStepBitmask:
example: 4 bit mask 0001 - Active, bit1 - first part 0000 - Complete, nothing is done (finish part 1) 0010 - Active bit2 - part 2 is active 0001 - Complete, bit1 - part1 is done (finish part 2) 0100 - Active bit3 - part 3 is active 0011 - Complete, bit1,bit2 - part 1 and 2 are done.(finish part 3) 0000 - Active - none, you are done 0111 - Complete, bit1,bit2,bit3 part 1 2 3 are done. CompleteFlag = 1. Tags
|
Sample Packet
07 00 //================================XPList 03 00 00 00 //ListSize 00 00 00 00 //UpdateCounter 00 //Delta Padding 01 - remove, 00 - set, 02 - set (not intended to be used.. same as 00) 0E 00 // string count 63 6F 6D 62 61 74 5F 67 65 6E 65 72 61 6C // combat_general 64 00 00 00 //Value (Ammount of XP) 00 // Delta Padding 05 00 // string count 73 63 6F 75 74 // scout A3 1C 00 00 // amount of xp 7331 00 // Delta Padding 0C 00 // sting count 75 6E 6F 62 74 61 69 6E 61 62 6C 65 // unobtainable 39 05 00 00 // amount of xp 1337 //=============================Waypoint List 01 00 00 00 // List Size 00 00 00 00 // Update Counter 00 // Delta Padding AA BB 66 99 0A 00 00 00 // (waypoint object ID) 00 00 00 00 // ??(JTL?) 26 78 32 C3 // (FLOAT:X CORD) 00 00 E0 41 // (FLOAT:Z CORD) 6B 87 97 C5 // (FLOAT:Y CORD) 00 00 00 00 // ??(JTL?) 00 00 00 00 // ??(JTL?) 58 B5 D7 AF // PlanetCRC 13 00 00 00 // u-string count 53 00 57 00 47 00 45 00 6D 00 75 00 27 00 73 00 20 00 46 00 69 00 72 00 73 00 74 00 20 00 53 00 74 00 65 00 70 00 // S W G E m u ' s F i r s t S t e p AA BB 66 99 0A 00 00 00 //(Waypoint Object ID. again.) 01 //(BYTE: Color) (1 - blue, 2 - green, 3 - orange, 4 - yellow, 5 -purple/red, 6- white, 7 -JTL) 01 // (BYTE: activated flag) 00 00 00 00 // Current Force 00 00 00 00 // Max Force 05 00 00 00 // CurrentFSQuestMask 00 00 00 00 00 00 00 00 00 05 00 00 00 // CompletedFSQuestMask 00 00 00 00 00 00 00 00 00 01 00 00 00 // RegularQuestJournal 00 00 00 00 00 //Unused in ASM.. Might be leftover for a delta or something that they botched. 92 9B 44 C5 // QuestCRC 15 A8 0A 56 03 00 00 00 // Owner/Character ID? Not Used either really. 04 00 // ActiveBitMask For which parts of the quest you have 01 00 // CompletedBitMask For which parts of the quest you completed 00 // CompletedFlag For completing the entire quest and its parts 01 00 00 00 // ? no idea, some sort of counter, default value gets incremented with each // new quest. Individual Quest Counter?
thats 9 times the same waypoint ?????? 05 00 53 21 86 12 F1 05 EC 1E 34 00 00 00 59 41 ..S.?.?.?.4...YA 4C 50 08 3F 03 00 00 01 00 01 00 09 00 00 00 09 LP.?............ 00 00 00 00 AB 7A 57 BB 36 00 00 00 00 00 00 00 ....?zW?6....... BA F7 36 45 22 DC E3 41 17 8B B2 C5 00 00 00 00 ??6E.??A.???.... 00 00 00 00 21 91 27 57 14 00 00 00 40 00 67 00 [email protected]. 72 00 6F 00 75 00 70 00 3A 00 67 00 72 00 6F 00 r.o.u.p.:.g.r.o. 75 00 70 00 77 00 61 00 79 00 70 00 6F 00 69 00 u.p.w.a.y.p.o.i. 6E 00 74 00 AB 7A 57 BB 36 00 00 00 04 01 02 AB n.t.?zW?6......? 7A 57 BB 36 00 00 00 00 00 00 00 BA F7 36 45 22 zW?6.......??6E. DC E3 41 17 8B B2 C5 00 00 00 00 00 00 00 00 21 ??A.???......... 91 27 57 14 00 00 00 40 00 67 00 72 00 6F 00 75 [email protected] 00 70 00 3A 00 67 00 72 00 6F 00 75 00 70 00 77 .p.:.g.r.o.u.p.w 00 61 00 79 00 70 00 6F 00 69 00 6E 00 74 00 AB .a.y.p.o.i.n.t.? 7A 57 BB 36 00 00 00 04 01 02 AB 7A 57 BB 36 00 zW?6......?zW?6. 00 00 00 00 00 00 BA F7 36 45 22 DC E3 41 17 8B ......??6E.??A.? B2 C5 00 00 00 00 00 00 00 00 21 91 27 57 14 00 ??.........?.W.. 00 00 40 00 67 00 72 00 6F 00 75 00 70 00 3A 00 [email protected].:. 67 00 72 00 6F 00 75 00 70 00 77 00 61 00 79 00 g.r.o.u.p.w.a.y. 70 00 6F 00 69 00 6E 00 74 00 AB 7A 57 BB 36 00 p.o.i.n.t.?zW?6. 00 00 04 01 02 AB 7A 57 BB 36 00 00 00 00 00 00 .....?zW?6...... 00 BA F7 36 45 22 DC E3 41 17 8B B2 C5 00 00 00 .??6E.??A.???... 00 00 00 00 00 21 91 27 57 14 00 00 00 40 00 67 [email protected] 00 72 00 6F 00 75 00 70 00 3A 00 67 00 72 00 6F .r.o.u.p.:.g.r.o 00 75 00 70 00 77 00 61 00 79 00 70 00 6F 00 69 .u.p.w.a.y.p.o.i 00 6E 00 74 00 AB 7A 57 BB 36 00 00 00 04 01 02 .n.t.?zW?6...... AB 7A 57 BB 36 00 00 00 00 00 00 00 BA F7 36 45 ?zW?6.......??6E 22 DC E3 41 17 8B B2 C5 00 00 00 00 00 00 00 00 .??A.???........ 21 91 27 57 14 00 00 00 40 00 67 00 72 00 6F 00 [email protected]. 75 00 70 00 3A 00 67 00 72 00 6F 00 75 00 70 00 u.p.:.g.r.o.u.p. 77 00 61 00 79 00 70 00 6F 00 69 00 6E 00 74 00 w.a.y.p.o.i.n.t. AB 7A 57 BB 36 00 00 00 04 01 02 AB 7A 57 BB 36 ?zW?6......?zW?6 00 00 00 00 00 00 00 BA F7 36 45 22 DC E3 41 17 .......??6E.??A. 8B B2 C5 00 00 00 00 00 00 00 00 21 91 27 57 14 ???.........?.W. 00 00 00 40 00 67 00 72 00 6F 00 75 00 70 00 3A [email protected].: 00 67 00 72 00 6F 00 75 00 70 00 77 00 61 00 79 .g.r.o.u.p.w.a.y 00 70 00 6F 00 69 00 6E 00 74 00 AB 7A 57 BB 36 .p.o.i.n.t.?zW?6 00 00 00 04 01 02 AB 7A 57 BB 36 00 00 00 00 00 ......?zW?6..... 00 00 BA F7 36 45 22 DC E3 41 17 8B B2 C5 00 00 ..??6E.??A.???.. 00 00 00 00 00 00 21 91 27 57 14 00 00 00 40 00 .......?.W....@. 67 00 72 00 6F 00 75 00 70 00 3A 00 67 00 72 00 g.r.o.u.p.:.g.r. 6F 00 75 00 70 00 77 00 61 00 79 00 70 00 6F 00 o.u.p.w.a.y.p.o. 69 00 6E 00 74 00 AB 7A 57 BB 36 00 00 00 04 01 i.n.t.?zW?6..... 02 AB 7A 57 BB 36 00 00 00 00 00 00 00 BA F7 36 .?zW?6.......??6 45 22 DC E3 41 17 8B B2 C5 00 00 00 00 00 00 00 E.??A.???....... 00 21 91 27 57 14 00 00 00 40 00 67 00 72 00 6F [email protected] 00 75 00 70 00 3A 00 67 00 72 00 6F 00 75 00 70 .u.p.:.g.r.o.u.p 00 77 00 61 00 79 00 70 00 6F 00 69 00 6E 00 74 .w.a.y.p.o.i.n.t 00 AB 7A 57 BB 36 00 00 00 04 01 02 AB 7A 57 BB .?zW?6......?zW? 36 00 00 00 00 00 00 00 BA F7 36 45 22 DC E3 41 6.......??6E.??A 17 8B B2 C5 00 00 00 00 00 00 00 00 21 91 27 57 .???.........?.W 14 00 00 00 40 00 67 00 72 00 6F 00 75 00 70 00 [email protected]. 3A 00 67 00 72 00 6F 00 75 00 70 00 77 00 61 00 :.g.r.o.u.p.w.a. 79 00 70 00 6F 00 69 00 6E 00 74 00 AB 7A 57 BB y.p.o.i.n.t.?zW? 36 00 00 00 04 01 00 00 00 00 6.........