Difference between revisions of "INSO07"
(→Additional Information) |
|||
| Line 1: | Line 1: | ||
| − | + | {{PageHeader|Server Packet|INSO07}} | |
{|align="center" | {|align="center" | ||
|- | |- | ||
Revision as of 14:50, 7 January 2008
Server Packet - 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 Struct
SHORT: 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 Struct
SHORT: 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
}
Sample Packet |
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
|