Difference between revisions of "Survey UI (Sequence)"

From SWGANH Wiki
Jump to: navigation, search
Line 10: Line 10:
 
         node [shape=record, width=.2, height=.2];
 
         node [shape=record, width=.2, height=.2];
 
         node [width=1];
 
         node [width=1];
         node1 [color="orange", label = "CLIENT", style="bold", fontname="arial", fontcolor="#458CAF", URL="Test101"];
+
         node1 [color="#929292", label = "CLIENT", style="bold", fontname="arial", fontcolor="#929292", URL="Test101"];
 
         node2 [color="orange", label = "SERVER", style="bold", fontname="arial", fontcolor="#458CAF", URL="Test102"];
 
         node2 [color="orange", label = "SERVER", style="bold", fontname="arial", fontcolor="#458CAF", URL="Test102"];
 
         node3 [color="orange", label = "CLIENT", style="bold", fontname="arial", fontcolor="#458CAF", URL="Test101"];
 
         node3 [color="orange", label = "CLIENT", style="bold", fontname="arial", fontcolor="#458CAF", URL="Test101"];
         node1 -> node2:w [color="#980C24"];
+
         node1 -> node2:w [color="#929292"];
 
         node2:w -> node3:e [color="#515FCA", constraint=false];
 
         node2:w -> node3:e [color="#515FCA", constraint=false];
 
}
 
}
Line 22: Line 22:
 
{{Box Packet|RequestResourceListAnswer Server --> Client|
 
{{Box Packet|RequestResourceListAnswer Server --> Client|
 
<pre>
 
<pre>
 
 
 
04 00                                         
 
04 00                                         
  
d5 b1 64 8a     opcode
+
D5 B1 64 8A                        OPCODE
  
 
[UINT32] counter          Resource Count
 
[UINT32] counter          Resource Count
  
                                             Here starts the resource section
+
                                             Start of the resource section
 
   
 
   
 
     [ASCII]                                  Resource Name  
 
     [ASCII]                                  Resource Name  
Line 37: Line 35:
  
 
     [ASCII]                                  Resource type *corn_domesticated_tatooine*
 
     [ASCII]                                  Resource type *corn_domesticated_tatooine*
 
  
 
[ASCII]                                      Name of the UI to open (flora resources)
 
[ASCII]                                      Name of the UI to open (flora resources)
  
[UINT64]                                    id of the resource that will be shown in the window          
+
[UINT64]                                    ID of the resource that will be shown in the window on opening.
                                            on opening
+
 
+
 
</pre>
 
</pre>
 
}}
 
}}

Revision as of 19:26, 7 January 2007

After the client has sent the radial use Packet to the server detailing the item and the selected radial option, the server responds to the client by sending a packet containing the names and types of the resources of a given resource type that are in the current spawn and thus the client opens up the survey ID

Packetflow

 Client <-> Server Sequence: Survey UI

{{{2}}}


Packet: RequestResourceListAnswer Server --> Client
04 00                                        

D5 B1 64 8A                     	     OPCODE

[UINT32] counter      			     Resource Count

                                             Start of the resource section
 
    [ASCII]                                  Resource Name 

    [UINT64]                                 Resource ID

    [ASCII]                                  Resource type *corn_domesticated_tatooine*

[ASCII]                                      Name of the UI to open (flora resources)

[UINT64]                                     ID of the resource that will be shown in the window on opening.