Difference between revisions of "DraftSlots (00000103)"

From SWGANH Wiki
Jump to: navigation, search
(Tags)
(Struct)
 
(7 intermediate revisions by 3 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"
 +
|-
 +
||
 
{| class="wikitable"
 
{| class="wikitable"
 
|{{long}}|PlayerID
 
|{{long}}|PlayerID
 
|-
 
|-
|{{int}}|{{unknown}}
+
|{{int}}|Slots
 
|-
 
|-
 
|{{long}}||crafttoolID
 
|{{long}}||crafttoolID
Line 20: Line 21:
 
|{{int}}||datapadsize of the schem
 
|{{int}}||datapadsize of the schem
 
|-
 
|-
|{{byte}}|{{unknown}}
+
|{{byte}}||?? limited use flag or loot flag?? 0 or 1
 
|-
 
|-
 
|{{int}}||slots count
 
|{{int}}||slots count
Line 28: Line 29:
 
|{{a_string}}||craft_item_ingredients_n -> string directory
 
|{{a_string}}||craft_item_ingredients_n -> string directory
 
|-
 
|-
|{{int}}|{{unknown}}
+
|{{int}}|string spacer (0)
 
|-
 
|-
 
|{{a_string}}|string to look up
 
|{{a_string}}|string to look up
Line 40: Line 41:
 
|{{a_string}}||craft_item_ingredients_n -> string directory
 
|{{a_string}}||craft_item_ingredients_n -> string directory
 
|-
 
|-
|{{int}}|{{unknown}}
+
|{{int}}|string spacer (0)
 
|-
 
|-
 
|{{a_string}}||string to look up (same as above)
 
|{{a_string}}||string to look up (same as above)
Line 52: Line 53:
 
:{{endlist|ingredients}}
 
:{{endlist|ingredients}}
 
{{endlist|slots}}
 
{{endlist|slots}}
 +
|}
  
 
===Variable Descriptions===
 
===Variable Descriptions===
Line 58: 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.
+
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|
  

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.