Difference between revisions of "DraftSlots (00000103)"

From SWGANH Wiki
Jump to: navigation, search
(Struct)
(Struct)
 
(15 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: PlaerID
+
||
INT: Unknown
+
{| class="wikitable"
LONG: crafttoolID
+
|{{long}}|PlayerID
LONG: SchematicID
+
|-
LONG: ItemID
+
|{{int}}|Slots
INT: datapadsize of the schem
+
|-
BYTE: Unknown
+
|{{long}}||crafttoolID
INT: number of slots the schem consists of
+
|-
{
+
|{{long}}||SchematicID
A_STRING: craft_item_ingredients_n -> string directory
+
|-
INT: Unknown
+
|{{long}}||ItemID
A_STRING: string to look up
+
|-
BYTE:          Unknown
+
|{{int}}||datapadsize of the schem
INT: counter
+
|-
{
+
|{{byte}}||?? limited use flag or loot flag?? 0 or 1
A_STRING: craft_item_ingredients_n -> string directory
+
|-
INT: Unknown
+
|{{int}}||slots count
A_STRING: string to look up (same as above)
+
|}
U_STRING:      what to feed the slot with
+
{{beginlist|slots|slots count}}
BYTE:          Unknown
+
:{| class="wikitable"
INT:    amount of resources needed
+
|{{a_string}}||craft_item_ingredients_n -> string directory
}
+
|-
A_STRING: Unknown
+
|{{int}}|string spacer (0)
}
+
|-
</pre>
+
|{{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 39: 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 51: 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.