Difference between revisions of "Crafting (Sequence)"

From SWGANH Wiki
Jump to: navigation, search
(The Sequence)
(Schematic selection aka 1st screen)
Line 18: Line 18:
 
=Schematic selection aka 1st screen=
 
=Schematic selection aka 1st screen=
  
On using the craft tool, the usual radial menu packets are send.
+
Opon using the crafting tool, the usual radial menu packets are sent.
 
Additional the client sends a  
 
Additional the client sends a  
  
Line 37: Line 37:
  
 
'''server response'''
 
'''server response'''
The server responds with the customary Menue response and by sending the DraftSchematics (00000102) Packet
+
The server responds with the customary Menu response and by sending the DraftSchematics (00000102) Packet
  
 
[[PKT craft breakup 4_Menue_Response|4) server -> client Menu response]]
 
[[PKT craft breakup 4_Menue_Response|4) server -> client Menu response]]
Line 47: Line 47:
  
 
'''client response'''
 
'''client response'''
Triggered through the DraftSchematics Packet, the Client requests the DraftSlotsBatches and the ResourceWeightsBatches. In these Batches the Complete 64bit ID (crc + uint32 ID)of every schematic the Crafter has access to is send as Unicodestring.
+
Triggered through the DraftSchematics Packet, the Client requests the DraftSlotsBatches and the ResourceWeightsBatches. In these Batches the Complete 64bit ID (crc + uint32 ID)of every schematic the Crafter has access to is send as Unicode strings.
  
 
[[CommandQueueEnqueue_%2800000116%29|6) ComandQueueEnqueue 5FD21EB0  requestdraftslotsbatch]]
 
[[CommandQueueEnqueue_%2800000116%29|6) ComandQueueEnqueue 5FD21EB0  requestdraftslotsbatch]]

Revision as of 12:03, 2 April 2007

Baaaaaaaaaaaaaaaaack

Description

The crafting process is monitored in the Player Object. The relevant values are set through the Yalp 9 at initialization and / or changed through the relevant deltas in the crafting process.


The Sequence

Opon double clicking the craft item the client sends 3 Packets, through which a crc list of the available schematics is requested.


For starters let us break it down into the steps needed to open up the different crafting screens.

Schematic selection aka 1st screen

Opon using the crafting tool, the usual radial menu packets are sent. Additional the client sends a

CommandQueueEnqueue : SynchronizedUIListen (F9996AB6)and a

CommandQueueEnqueue : requestcraftingsession (094AC516)


Client Initiates

1) client -> server radial menu request Packet

2) client -> server F9996AB6 synchronizeduilisten

3) client -> server 094AC516 requestcraftingsession


server response The server responds with the customary Menu response and by sending the DraftSchematics (00000102) Packet

4) server -> client Menu response

5) server -> client DraftSchematics (00000102)



client response Triggered through the DraftSchematics Packet, the Client requests the DraftSlotsBatches and the ResourceWeightsBatches. In these Batches the Complete 64bit ID (crc + uint32 ID)of every schematic the Crafter has access to is send as Unicode strings.

6) ComandQueueEnqueue 5FD21EB0 requestdraftslotsbatch

7) ComandQueueEnqueue 9A8B385C requestresourceweightsbatch


server response The server responds to the BatchRequestPackets by sending the SlotConfiguration for every requested schematic in the DraftSlotsqueryResponse and by sending the ResourceWeights in the ResourceWeights Packet.

8) DraftSlotsQueryResponse

9) ResourceWeights

opening the 2nd crafting screen

Once we have made our decision about what schematic to use we mark it and hit the nextbutton

Upon hitting the button, the client sends the SelectDraftSchemaric-CRC via CommanQueueEnqueue and the server responds with creating the Schematic Object and the (not the but rather a) tangible object for the Object we want to craft. Upon sending the DraftSlots Packet, the second screen will be opened.


client


(1) 0x89242E02 selectdraftschematic request to open the 2nd craft screen


server

(20) server -> client MSCO Object (init, link, 3,6,8,9, close schem object))

(21) server -> client ONAT Object (init, link, 3,6,8,9, close schem object))


16) server -> client blueprints

Slot Configuration aka Screen 2