Difference between revisions of "DraftSlots (00000103)"

From SWGANH Wiki
Jump to: navigation, search
(Variable Descriptions)
(Struct)
 
(16 intermediate revisions by 6 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Object Controller|DraftSlots (00000103)}}
 
+
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
 
|-
 
|-
Line 6: Line 5:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
<pre>
+
|-
LONG: PlayerID
+
||
LONG: SchematicID
+
{| class="wikitable"
LONG: ItemID
+
|{{long}}|PlayerID
INT: Unknown
+
|-
BYTE: Unknown
+
|{{int}}|Slots
INT: counter
+
|-
{
+
|{{long}}||crafttoolID
A_STRING: Unknown
+
|-
INT: Unknown
+
|{{long}}||SchematicID
A_STRING: Unknown
+
|-
BYTE:          Unknown
+
|{{long}}||ItemID
INT: counter
+
|-
{
+
|{{int}}||datapadsize of the schem
A_STRING: Unknown
+
|-
INT: Unknown
+
|{{byte}}||?? limited use flag or loot flag?? 0 or 1
A_STRING: Unknown
+
|-
U_STRING:      Unknown
+
|{{int}}||slots count
BYTE:           Unknown
+
|}
INT:     Unknown
+
{{beginlist|slots|slots count}}
}
+
:{| class="wikitable"
A_STRING: Unknown
+
|{{a_string}}||craft_item_ingredients_n -> string directory
}
+
|-
</pre>
+
|{{int}}|string spacer (0)
 +
|-
 +
|{{a_string}}|string to look up
 +
|-
 +
|{{byte}}||Optional
 +
|-
 +
|{{int}}||ingredients count
 +
|}
 +
:{{beginlist|ingredients|ingredients count}}
 +
::{| class="wikitable"
 +
|{{a_string}}||craft_item_ingredients_n -> string directory
 +
|-
 +
|{{int}}|string spacer (0)
 +
|-
 +
|{{a_string}}||string to look up (same as above)
 +
|-
 +
|{{u_string}}||what to feed the slot with
 +
|-
 +
|{{byte}}||relates to u_string
 +
|-
 +
|{{int}}||amount of resources needed
 +
|}
 +
:{{endlist|ingredients}}
 +
{{endlist|slots}}
 +
|}
  
 
===Variable Descriptions===
 
===Variable Descriptions===
Line 37: Line 60:
 
----
 
----
  
This Packet is send in order to open the second craftscreen after the schematic and item object have been created. If the objects are created correctly the 2nd craftscreen will open.
+
This Packet is sent in order to open the second crafting screen after the schematic and item object have been created. If the objects is created correctly the 2nd crafting screen will open.
  
 
For a sample packet see discussion
 
For a sample packet see discussion
  
 +
Note: The byte after the u_string will be replaced by uint8(2),uint16(1),uint32,uint32, if the slot represents a subcomponent.
 
|valign=top|
 
|valign=top|
  
Line 49: Line 73:
 
||{{ObjControllerMessageTag}}
 
||{{ObjControllerMessageTag}}
 
|-
 
|-
 +
||{{ServerPacket}}
 +
|-
 +
 
||{{75%}}
 
||{{75%}}
 
|-
 
|-
 
|}
 
|}
 
|}
 
|}

Latest revision as of 14:21, 19 September 2013

Object Controller - DraftSlots (00000103)

SWGANH Wiki is a repository of Star Wars Galaxies Developer information. This site is only meant to be used by SWGANH Developer team.

Struct


LONG PlayerID
INT Slots
LONG crafttoolID
LONG SchematicID
LONG ItemID
INT datapadsize of the schem
BYTE ?? limited use flag or loot flag?? 0 or 1
INT slots count

<slots count=slots count>

A_STRING craft_item_ingredients_n -> string directory
INT string spacer (0)
A_STRING string to look up
BYTE Optional
INT ingredients count
<ingredients count=ingredients count>
A_STRING craft_item_ingredients_n -> string directory
INT string spacer (0)
A_STRING string to look up (same as above)
U_STRING what to feed the slot with
BYTE relates to u_string
INT amount of resources needed
<ingredients/>

<slots/>

Variable Descriptions


controllerID = 00000103


This Packet is sent in order to open the second crafting screen after the schematic and item object have been created. If the objects is created correctly the 2nd crafting screen will open.

For a sample packet see discussion

Note: The byte after the u_string will be replaced by uint8(2),uint16(1),uint32,uint32, if the slot represents a subcomponent.

Tags


OCM This header is part of the ObjControllerMessage.

S→C This packet originates on the server.

75% This packet has been partially reversed.