Difference between revisions of "CREO01"
From SWGANH Wiki
(→Deltas Struct) |
(→Variable Descriptions) |
||
| (23 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{PageHeader|Baseline|CREO01}} | |
| − | + | {|align="center" | |
| + | |- | ||
| + | ||{{CREOArchitectureNAV}} | ||
| + | |- | ||
| + | |} | ||
| + | <br> | ||
{| border="0" width="90%" cellpadding=6 | {| border="0" width="90%" cellpadding=6 | ||
|- | |- | ||
| Line 6: | Line 11: | ||
===BaseLine Struct=== | ===BaseLine Struct=== | ||
---- | ---- | ||
| + | {| align="center" | ||
| + | |- | ||
| + | || | ||
| + | {| class="wikitable" | ||
| + | |- | ||
| + | |{{short}}||'''Op Count''' | ||
| + | |- | ||
| + | |{{int}}||'''Baseline Opcode''' | ||
| + | |- | ||
| + | |{{long}}||'''Container ID''' | ||
| + | |- | ||
| + | |{{int}}||'''OERC''' | ||
| + | |- | ||
| + | |{{byte}}||'''1''' | ||
| + | |- | ||
| + | |{{short}}|{{unknown}} | ||
| + | |- | ||
| + | |{{int}}||'''Bank Credits''' | ||
| + | |- | ||
| + | |{{int}}||'''Cash Credits''' | ||
| + | |- | ||
| + | |{{int}}||'''Base HAM Mod List Size''' | ||
| + | |- | ||
| + | |{{int}}||'''Update Counter''' | ||
| + | |- | ||
| + | |{{int}}||'''Base HAM Mod Value''' | ||
| + | |- | ||
| + | |{{int}}||'''Skills List Size''' | ||
| + | |- | ||
| + | |{{int}}||'''Update Counter''' | ||
| + | |- | ||
| + | |{{a_string}}||'''Skill Name''' | ||
| + | |} | ||
| + | |} | ||
<pre> | <pre> | ||
| − | SHORT: | + | SHORT: ObjOpperandCount |
INT: BankCredits | INT: BankCredits | ||
INT: CashCredits | INT: CashCredits | ||
| − | INT: | + | INT: BaseHAMModListSize |
INT: UpdateCounter | INT: UpdateCounter | ||
{ | { | ||
| − | INT: | + | INT: BaseHAMModValue |
} | } | ||
| − | INT: | + | INT: SkillsListSize |
INT: UpdateCounter | INT: UpdateCounter | ||
{ | { | ||
| Line 27: | Line 66: | ||
<pre> | <pre> | ||
| − | SHORT: | + | SHORT: UpdateCount |
| − | SHORT: | + | SHORT: UpdateType |
{ | { | ||
| − | 00: | + | 00: |
| − | INT: | + | INT: BankCredits |
| − | 01: | + | 01: |
| − | INT: | + | INT: CashCredits |
| − | 02: | + | 02: |
| − | INT: | + | INT: BaseHAMValueListSize |
| − | INT: | + | INT: UpdateCounter |
{ | { | ||
| − | BYTE: | + | BYTE: SubType |
{ | { | ||
| − | 00: | + | 00:(remove) |
| − | SHORT: | + | SHORT: HAMBarIndex |
| − | 01: | + | 01:(add) |
| − | SHORT: | + | SHORT: HAMBarIndex |
| − | INT: | + | INT: BaseHAMValue |
| − | 02: | + | 02:(change) |
| − | SHORT: | + | SHORT: HAMBarIndex |
| − | INT: | + | INT: BaseHAMValue |
| − | 03: | + | 03:(resetall) |
| − | SHORT: | + | SHORT: |
| + | NewListSize | ||
{ | { | ||
| − | INT: | + | INT: BaseHAMValue |
} | } | ||
| − | + | 04:(clearall) | |
| − | } | + | } |
| + | } | ||
03: | 03: | ||
| − | INT: | + | INT: SkillsListSize |
| − | INT: | + | INT: UpdateCounter |
{ | { | ||
| − | BYTE: | + | BYTE: SubType |
{ | { | ||
| − | 00: | + | 00:(remove) |
| − | A_STRING: | + | A_STRING: SkillName |
| − | 01: | + | 01:(add) |
| − | A_STRING: | + | A_STRING: SkillName |
| + | 02:(clearall) | ||
} | } | ||
} | } | ||
} | } | ||
</pre> | </pre> | ||
| + | |||
|valign=top| | |valign=top| | ||
| Line 80: | Line 123: | ||
:Ammount of Credits displayed as in your bank. | :Ammount of Credits displayed as in your bank. | ||
| − | '''CashCredits''': | + | * '''CashCredits''': |
:Ammount of Credits displayedas cash in your inventory. | :Ammount of Credits displayedas cash in your inventory. | ||
| − | ''' | + | * '''Base HAMMod_Value''': |
| − | :The Integer value of | + | :The Integer value of base HAM size. Follows the HAM order. |
| − | '''SkillName''': | + | * '''SkillName''': |
:The name of the skillbox to add. See datatables/skills.iff for list. | :The name of the skillbox to add. See datatables/skills.iff for list. | ||
| Line 93: | Line 136: | ||
{| align="center" | {| align="center" | ||
|- | |- | ||
| − | ||{{ | + | ||{{100%}} |
|- | |- | ||
|} | |} | ||
| + | |||
| + | ===HAM List=== | ||
| + | ---- | ||
| + | HAM stands for Health Action Mind, | ||
| + | the 3 pools a character has. | ||
| + | |||
| + | Below is a list of the pools names, | ||
| + | and what they do. | ||
| + | |||
| + | This order is used throughout all packets. | ||
| + | |||
| + | *<font color=green>'''Health'''</font> (Pool Value) | ||
| + | ::''Strength'' (Action Deductive) | ||
| + | ::''Constitution'' (Regen Rate) | ||
| + | *<font color=red>'''Action'''</font> (Pool Value) | ||
| + | ::''Quickness'' (Action Deductive) | ||
| + | ::''Stamina'' (Regen Rate) | ||
| + | *<font color=blue>'''Mind'''</font> (Pool Value) | ||
| + | ::''Focus'' (Action Deductive) | ||
| + | ::''Willpower'' (Regen Rate) | ||
|} | |} | ||
| + | ===Sample Packet=== | ||
---- | ---- | ||
| + | |||
| + | <pre> | ||
| + | 05 00 | ||
| + | 53 21 86 12 // DeltasMessage | ||
| + | D2 CD 31 6E 0C 00 00 00 // character id | ||
| + | 4F 45 52 43 01 // OERC 1 | ||
| + | 0E 00 00 00 | ||
| + | 02 00 | ||
| + | 01 00 00 00 | ||
| + | 00 00 00 00 | ||
| + | 82 86 0F 00 // 1017474 credits | ||
| + | </pre> | ||
Latest revision as of 11:46, 6 January 2010
Baseline - CREO01
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: ObjOpperandCount
INT: BankCredits
INT: CashCredits
INT: BaseHAMModListSize
INT: UpdateCounter
{
INT: BaseHAMModValue
}
INT: SkillsListSize
INT: UpdateCounter
{
A_STRING: SkillName
}
Deltas Struct
SHORT: UpdateCount
SHORT: UpdateType
{
00:
INT: BankCredits
01:
INT: CashCredits
02:
INT: BaseHAMValueListSize
INT: UpdateCounter
{
BYTE: SubType
{
00:(remove)
SHORT: HAMBarIndex
01:(add)
SHORT: HAMBarIndex
INT: BaseHAMValue
02:(change)
SHORT: HAMBarIndex
INT: BaseHAMValue
03:(resetall)
SHORT:
NewListSize
{
INT: BaseHAMValue
}
04:(clearall)
}
}
03:
INT: SkillsListSize
INT: UpdateCounter
{
BYTE: SubType
{
00:(remove)
A_STRING: SkillName
01:(add)
A_STRING: SkillName
02:(clearall)
}
}
}
|
Variable DescriptionsObj_OperandCount = 4
Tags
HAM ListHAM stands for Health Action Mind, the 3 pools a character has. Below is a list of the pools names, and what they do. This order is used throughout all packets.
|
Sample Packet
05 00 53 21 86 12 // DeltasMessage D2 CD 31 6E 0C 00 00 00 // character id 4F 45 52 43 01 // OERC 1 0E 00 00 00 02 00 01 00 00 00 00 00 00 00 82 86 0F 00 // 1017474 credits