Difference between revisions of "MSCO06"
(New page: __NOTOC__ {|align="center" |- ||{{CREOArchitectureNAV}} |- |} <br> {| border="0" width="90%" cellpadding=6 |- |valign=top| ===BaseLine Struct=== ---- <pre> SHORT: ObjOpperandCount INT: ...) |
(→BaseLine Struct) |
||
(21 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{PageHeader|Baseline|MSCO 06}} | |
{|align="center" | {|align="center" | ||
|- | |- | ||
− | ||{{ | + | ||{{MSCOArchitectureNAV}} |
|- | |- | ||
|} | |} | ||
Line 13: | Line 13: | ||
<pre> | <pre> | ||
− | SHORT: | + | SHORT: OpperandCount |
− | INT: | + | INT: ServerID |
− | + | CSTRING: CustomizationString | |
− | + | ASTRING: CustomizationModel | |
− | + | INT: prototypeCRC | |
− | + | BYTE: ActiveFlag | |
− | + | BYTE: SlotCount | |
− | + | ||
− | ASTRING: | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | INT: | + | |
− | + | ||
− | BYTE: | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | BYTE: | + | |
</pre> | </pre> | ||
===Deltas Struct=== | ===Deltas Struct=== | ||
---- | ---- | ||
+ | There's one delta I'm aware of that is sent after a slot has been filled. | ||
+ | In NGE the var 6 (byte) is filled with the amount of filled slots. | ||
+ | In precu it is var 5 | ||
<pre> | <pre> | ||
Line 61: | Line 32: | ||
SHORT: UpdateType | SHORT: UpdateType | ||
{ | { | ||
− | 00: | + | 00: |
− | INT: | + | INT: ServerID |
01: | 01: | ||
− | + | CSTRING: CustomizationString | |
− | + | 02: | |
− | + | ASTRING: CustomizationModel | |
− | + | 03: | |
− | + | INT: prototypeCRC | |
− | + | 04: | |
− | + | BYTE: ActiveFlag | |
− | + | 05: | |
− | + | BYTE: SlotCount | |
− | + | ||
− | + | ||
− | 02: | + | |
− | + | ||
− | 03: | + | |
− | + | ||
− | 04: | + | |
− | + | ||
− | 05 | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | BYTE: | + | |
} | } | ||
</pre> | </pre> | ||
+ | |||
|valign=top| | |valign=top| | ||
Line 151: | Line 52: | ||
---- | ---- | ||
− | Obj_OperandCount = | + | Obj_OperandCount = 6 |
− | + | ||
− | + | CustomizationString: | |
− | + | The Customization string made from the customization values in the item customization phase. | |
− | + | Null on default. | |
− | + | ||
− | + | CustomizationModel: | |
− | + | The string of the object template iff ("directory/file.iff") used to customize the model | |
+ | appearence. NULL on default. | ||
− | + | prototypeCRC: | |
− | + | The CRC of the Item that is the prototype for this schematic. Model will be overwritten by | |
− | + | CustomizationModel. | |
− | + | ActiveFlag: | |
− | + | Set to 1 for schematics that are being crafted or are being run in a factory (that is set to active). | |
+ | 0 for idle in datapad or data container or inactive factory. | ||
− | + | SlotCount: | |
− | : | + | During Crafting: |
+ | Initialize to 0. | ||
+ | Incremented by 1 for each slot that is filled, and by 1 for each slot that is emptied. | ||
+ | It does not effect crafting stages. | ||
+ | Factories: | ||
+ | Inactive schematics have this set to 0. | ||
+ | Active schematics have this set to # of used slots. | ||
+ | Datapad: | ||
+ | Has these set to 0. | ||
− | + | ---- | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
===Tags=== | ===Tags=== | ||
Line 216: | Line 90: | ||
|- | |- | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
+ | ===Sample Packet(NGE)=== | ||
---- | ---- | ||
+ | <pre> | ||
+ | 05 00 | ||
+ | 0C 5F A7 68 // BaselinesMessage | ||
+ | 24 2A FA 04 0F 00 00 00 // ID | ||
+ | 4F 43 53 4D 06 // OCSM 6 | ||
+ | 18 00 00 00 | ||
+ | 07 00 6E 00 | ||
+ | 00 00 00 00 | ||
+ | 00 00 00 00 | ||
+ | 00 00 00 00 | ||
+ | 00 00 | ||
+ | 8B 3C 1D F1 | ||
+ | 00 00 19 | ||
+ | </pre> |
Latest revision as of 17:32, 11 September 2011
Baseline - MSCO 06
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: ServerID CSTRING: CustomizationString ASTRING: CustomizationModel INT: prototypeCRC BYTE: ActiveFlag BYTE: SlotCount Deltas StructThere's one delta I'm aware of that is sent after a slot has been filled. In NGE the var 6 (byte) is filled with the amount of filled slots. In precu it is var 5 SHORT: UpdateCount SHORT: UpdateType { 00: INT: ServerID 01: CSTRING: CustomizationString 02: ASTRING: CustomizationModel 03: INT: prototypeCRC 04: BYTE: ActiveFlag 05: BYTE: SlotCount } |
Variable DescriptionsObj_OperandCount = 6 CustomizationString: The Customization string made from the customization values in the item customization phase. Null on default. CustomizationModel: The string of the object template iff ("directory/file.iff") used to customize the model appearence. NULL on default. prototypeCRC: The CRC of the Item that is the prototype for this schematic. Model will be overwritten by CustomizationModel. ActiveFlag: Set to 1 for schematics that are being crafted or are being run in a factory (that is set to active). 0 for idle in datapad or data container or inactive factory. SlotCount: During Crafting: Initialize to 0. Incremented by 1 for each slot that is filled, and by 1 for each slot that is emptied. It does not effect crafting stages. Factories: Inactive schematics have this set to 0. Active schematics have this set to # of used slots. Datapad: Has these set to 0. Tags
|
Sample Packet(NGE)
05 00 0C 5F A7 68 // BaselinesMessage 24 2A FA 04 0F 00 00 00 // ID 4F 43 53 4D 06 // OCSM 6 18 00 00 00 07 00 6E 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 8B 3C 1D F1 00 00 19