Difference between revisions of "Survey UI (Sequence)"

From SWGANH Wiki
Jump to: navigation, search
 
Line 4: Line 4:
  
  
00 0d                                        split up in several Packets
+
04 00                                         
 
+
01 18                                        server sequence
+
 
+
00 00                                        dunno
+
 
+
02 ee     data bytes count of all Packets
+
 
+
04 00                                        dunno
+
  
 
d5 b1 64 8a     opcode
 
d5 b1 64 8a     opcode
  
11 00 00 00         Resource Count in all Packets (17 in this case)
+
[UINT32] counter         Resource Count
  
 
                                             Here starts the resource section
 
                                             Here starts the resource section
 
   
 
   
     08 00     length res name
+
     [ASCII]                                  Resource Name  
 
+
    49 61 74 68 6d 61 73 65     Name Res 1) Iathmase
+
 
+
    06 36 7b e2 17 00 00 00                  Res ID
+
 
+
    1a 00      length Res Type
+
 
+
    63 6f 72 6e 5f 64 6f 6d 65 73            |corn_domesticated_tatooine
+
    74 69 63 61 74 65 64 5f 74 61     |
+
    74 6f 6f 69 6e 65            |
+
 
+
 
+
 
+
07 00 length name Res 2)
+
 
+
53 61 72 69 74 61 76 Name Res 2) Saritav
+
 
+
.............
+
 
+
05 00      Res Name Length Res xy
+
 
+
46 6f 72 61 6e Res Name Foran
+
 
+
12 e6 f0 d2 17 00 00 Res ID Byte Nr 8 in second packet
+
 
+
3b e9 crc                                    crc
+
 
+
 
+
Packet Nr 2
+
 
+
 
+
00 0d                                          split up Packet opcode
+
 
+
01 19                                          server sequence
+
 
+
00 last byte of last resource id of first Packet
+
 
+
15 00                                          length Res Type     
+
 
+
66 72 75 69 74 5f 66 72 75                      fruit_fruits_tatooine = Res Type
+
 
+
.............
+
 
+
1b 00                                          string length res type last res
+
 
+
73 6f 66 74 77 6f 6f                            softwood_evergreen_tatooine = restype
+
64 5f 65 76 65 72 67
+
72 65 65 6e 5f 74 61 74 6f       
+
6f 69 6e 65  
+
 
+
End resource description
+
  
0f 00                                          length string
+
    [UINT64]                                Resource ID
  
66 6c 6f 72 61 5f 72 65 73 6f                  flora_resources = what ui to open
+
    [ASCII]                                  Resource type *corn_domesticated_tatooine*
75 72 63 65 73
+
  
8b be 14 19 18 00 00 00                        id of the resource that will be shown in the window           
 
                                                on startup?????
 
  
31 a3                                          CRC
+
[ASCII]                                      Name of the UI to open (flora resources)
  
 +
[UINT64]                                    id of the resource that will be shown in the window           
 +
                                            on opening
  
 
</pre>
 
</pre>

Revision as of 08:06, 30 December 2006

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



04 00                                        

d5 b1 64 8a 				     opcode

[UINT32] counter      			     Resource Count

                                             Here starts 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