Difference between revisions of "INSO07"
(New page: __NOTOC__ {|align="center" |- ||{{INSOArchitectureNAV}} |- |} <br> {| border="0" width="90%" cellpadding=6 |- |valign=top| ===BaseLine Struct=== ---- <pre> SHORT: ObjectOpperandC...) |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{PageHeader|Baseline|INSO07}} | |
{|align="center" | {|align="center" | ||
|- | |- | ||
Line 198: | Line 198: | ||
</pre> | </pre> | ||
− | |||
− | |||
− | |||
− | |||
|valign=top| | |valign=top| | ||
Line 208: | Line 204: | ||
ObjectOpperandCount = 16 | ObjectOpperandCount = 16 | ||
− | ResourcePoolUpdateFlag: | + | |
− | Set to 1 if the ResourcePools are being updated (To reflect in UI). | + | '''ResourcePoolUpdateFlag''': |
− | GlobalResourceID: | + | :Set to 1 if the ResourcePools are being updated (To reflect in UI). |
− | The Resource ID that correlates to a specific unique resource (and not the container object). All containers/items/etc reference it globally rather than duplicate | + | '''GlobalResourceID''': |
− | information per container and such. | + | :The Resource ID that correlates to a specific unique resource (and not the container object). All containers/items/etc reference it globally rather than duplicate information per container and such. Think of it as the ResourceID as the ID for a unique Resource Type (instead of the container). |
− | Think of it as the ResourceID as the ID for a unique Resource Type (instead of the container). | + | '''ResourceName''': |
− | ResourceName: | + | :The Unique Name for the resource available for extraction. |
− | The Unique Name for the resource available for extraction. | + | '''ResourceType''': |
− | ResourceType: | + | :The heiarchy/tree/class of the resources available for extraction. |
− | The heiarchy/tree/class of the resources available for extraction. | + | '''SelectedGlobalResourceID''': |
− | SelectedGlobalResourceID: | + | :The GlobalResourceID currently being harvested. |
− | The GlobalResourceID currently being harvested. | + | '''ActiveFlag''': |
− | ActiveFlag: | + | :Set to 1 to show installation as "Activated". |
− | Set | + | '''ExtractionRateMaxDisplayed''': |
− | + | :The max possible extraction rate displayed (as an integer). | |
− | ExtractionRateMaxDisplayed: | + | '''ExtractionRateMax''': |
− | The max possible extraction rate displayed (as an integer). | + | :The max possible extraction rate on this machine. |
− | ExtractionRateMax: | + | '''CurrentExtractionRate''': |
− | The max possible extraction rate on this machine. | + | :The current percentage efficiency of extraction. |
− | CurrentExtractionRate: | + | '''CurrentHopperSize''': |
− | The current percentage efficiency of extraction. | + | :The current amount of resources in the hopper. |
− | CurrentHopperSize: | + | '''HopperSizeMax''': |
− | The current amount of resources in the hopper. | + | :The maximum number of resources that can fit into the hopper. |
− | HopperSizeMax: | + | '''HopperUpdateFlag''': |
− | The maximum number of resources that can fit into the hopper. | + | :Set to 1 to update Hopper Contents UI. |
− | HopperUpdateFlag: | + | '''HopperContents''': |
− | Set to 1 to update Hopper Contents UI. | + | :A list of resources/quantity in the hopper. |
− | HopperContents: | + | '''ResourceQuantity''': |
− | A list of resources/quantity in the hopper. | + | :The amount of resource inside the hopper. |
− | ResourceQuantity: | + | '''Condition''': |
− | The amount of resource inside the hopper. | + | :The percentage condition the installation is in. |
− | Condition: | + | |
− | The percentage condition the installation is in. | + | |
− | + | ||
---- | ---- | ||
+ | |||
= Additional Information = | = Additional Information = | ||
− | Needs | + | |
− | to allow handling of a 07. | + | Needs [[ResourceHarvesterActivatePageMessage]] Opcode to allow handling of a 07. |
+ | |||
Then send on the request | Then send on the request | ||
− | - | + | ::- [[HarvesterResourceData (000000EA)]] ObjectController |
− | - | + | ::- [[INSO07]] Baseline |
− | To successfully finish | + | :To successfully finish "Downloading" Data. |
− | + | ||
− | Note: If the data doesnt finish "downloading", you probably need to send | + | <font color="red">'''Note'''</font>: ''If the data doesnt finish "downloading", you probably need to send a blank baseline and a full Delta Message, or just a Delta Message with the BYTE flags as 1's (or zeros) . Something to toy with still...'' |
− | a blank baseline and a full Delta Message, or just a Delta Message with the | + | |
− | BYTE flags as 1's (or zeros) . Something to toy with still... | + | |
---- | ---- | ||
Line 267: | Line 260: | ||
---- | ---- | ||
+ | ===Sample Packet=== | ||
+ | ---- | ||
+ | <pre> | ||
+ | </pre> |
Latest revision as of 10:58, 8 January 2008
Baseline - INSO07
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: ObjectOpperandCount BYTE: ResourcePoolUpdateFlag INT: ResourcePoolIDs INT: UpdateCounter { LONG: GlobalResourceID } INT: ResourcePoolIDs INT: UpdateCounter { LONG: GlobalResourceID } INT: ResourcePoolNames INT: UpdateCounter { ASTRING: ResourceName } INT: ResourcePoolTypes INT: UpdateCounter { ASTRING: ResourceType } LONG: SelectedGlobalResourceID BYTE: ActiveFlag INT: ExtractionRateMaxDisplayed FLOAT: ExtractionRateMax FLOAT: CurrentExtractionRate FLOAT: CurrentHopperSize INT: HopperSizeMax BYTE: HopperUpdateFlag INT: HopperContentsSize INT: UpdateCounter { LONG: GlobalResourceID FLOAT: ResourceQuantity } BYTE: Condition Deltas StructSHORT: UpdateCount SHORT: UpdateType { 00: BYTE: ResourcePoolUpdateFlag 01: INT: ResourcePoolIDs INT: UpdateCounter { BYTE: SubType { 00:(remove) SHORT: Index 01:(add) SHORT: Index LONG: GlobalResourceID 02:(change) SHORT: Index LONG: GlobalResourceID 03:(resetall) SHORT: NewListSize { LONG: GlobalResourceID } 04:(clearall) } } 02: INT: ResourcePoolIDs INT: UpdateCounter { BYTE: SubType { 00:(remove) SHORT: Index 01:(add) SHORT: Index LONG: GlobalResourceID 02:(change) SHORT: Index LONG: GlobalResourceID 03:(resetall) SHORT: NewListSize { LONG: GlobalResourceID } 04:(clearall) } } 03: INT: ResourcePoolNames INT: UpdateCounter { BYTE: SubType { 00:(remove) SHORT: Index 01:(add) SHORT: Index ASTRING: ResourceName 02:(change) SHORT: Index ASTRING: ResourceName 03:(resetall) SHORT: NewListSize { ASTRING: ResourceName } 04:(clearall) } } 04: INT: ResourcePoolTypes INT: UpdateCounter { BYTE: SubType { 00:(remove) SHORT: Index 01:(add) SHORT: Index ASTRING: ResourceType 02:(change) SHORT: Index ASTRING: ResourceType 03:(resetall) SHORT: NewListSize { ASTRING: ResourceType } 04:(clearall) } } 05: LONG: SelectedGlobalResourceID 06: BYTE: ActiveFlag 07: INT: ExtractionRateMaxDisplayed 08: FLOAT: ExtractionRateMax 09: FLOAT: CurrentExtractionRate 0A: FLOAT: CurrentHopperSize 0B: INT: HopperSizeMax 0C: BYTE: HopperUpdateFlag 0D: INT: HopperContentsSize INT: UpdateCounter { BYTE: SubType { 00:(remove) SHORT: Index 01:(add) SHORT: Index LONG: GlobalResourceID FLOAT: ResourceQuantity 02:(change) SHORT: Index LONG: GlobalResourceID FLOAT: ResourceQuantity 03:(resetall) SHORT: NewListSize { LONG: GlobalResourceID FLOAT: ResourceQuantity } 04:(clearall) } } 0E: BYTE: Condition } |
Variable DescriptionsObjectOpperandCount = 16 ResourcePoolUpdateFlag:
GlobalResourceID:
ResourceName:
ResourceType:
SelectedGlobalResourceID:
ActiveFlag:
ExtractionRateMaxDisplayed:
ExtractionRateMax:
CurrentExtractionRate:
CurrentHopperSize:
HopperSizeMax:
HopperUpdateFlag:
HopperContents:
ResourceQuantity:
Condition:
Additional InformationNeeds ResourceHarvesterActivatePageMessage Opcode to allow handling of a 07. Then send on the request
Note: If the data doesnt finish "downloading", you probably need to send a blank baseline and a full Delta Message, or just a Delta Message with the BYTE flags as 1's (or zeros) . Something to toy with still... Tags
|