Difference between revisions of "SuiCreatePageMessage"

From SWGANH Wiki
Jump to: navigation, search
(Sample Packet)
(Tags)
Line 60: Line 60:
 
||{{ServerPacket}}
 
||{{ServerPacket}}
 
|-
 
|-
||{{0%}}
+
||{{25%}}
 
|-
 
|-
 
|}
 
|}

Revision as of 16:43, 4 April 2007

Exquisite-khelpcenter.png Instructions
In order to keep all documentation the same format, please use the source to this page to begin a new packet description, the template contains all the options, simply remove what is not required and fill in the details.


Struct


BYTE uint8
SHORT uint16
INT uint32
FLOAT uint32
LONG uint64
A_STRING ASCII String
U_STRING Unicode String
C_STRING Customization String
B_STRING Byte String
{ } LIST Component
? Uncertain Values
?? Unknown Variable Name

Variable Descriptions


Opperand_Count = 9

Opcode = FFFFFFFF


  • Additional Descriptions go here...
  • --
  • ---
  • ----

Tags


S→C This packet originates on the server.

25% This packet has been partially reversed.


Sample Code


Insert Code Snippet Here...

Sample Packet

02 00  //SUB_OPCODE = 'WORLDUPDATE 
59 72 4B D4  //CRC = 'SuiCreatePageMessage 
83 52 
02 00 

0F 00  //String Size(15)
53 63 72 69 70 74 2E 69 6E 70 75 74 42 6F 78   //'Script.inputBox'

0C 00 00 00 


------------------------------------------------------------
05 00 00 00    //'Component Count
00 
07 00 00 00 
00 00 
01 00 
09 



19 00  //String Size(25) 
6F 6E 47 75 69 6C 64 43 72 65 61 74 65 4E 61 6D 65 52 65 73 70 6F 6E 73 65  //'onGuildCreateNameResponse'
08 00  //String Size(8)
74 78 74 49 6E 70 75 74   //'txtInput'
09 00  //String Size(9) 
4C 6F 63 61 6C 54 65 78 74  //'LocalText' 
08 00  //String Size(8) 
63 6D 62 49 6E 70 75 74  //'cmbInput' 
0C 00   //String Size(12)
53 65 6C 65 63 74 65 64 54 65 78 74   //'SelectedText'

--------------------------------------------------------------------------------------
05 00 00 00 //'Component Count
00 
07 00 00 00 
00 00 
01 00 
0A 
19 00  //String Size(25) 
6F 6E 47 75 69 6C 64 43 72 65 61 74 65 4E 61 6D 65 52 65 73 70 6F 6E 73 65  //'onGuildCreateNameResponse' 
08 00   //String Size(8)
74 78 74 49 6E 70 75 74  //'txtInput'
09 00  //String Size(9) 
4C 6F 63 61 6C 54 65 78 74  //'LocalText' 
08 00  //String Size(8) 
63 6D 62 49 6E 70 75 74   //'cmbInput'
0C 00   //String Size(12)
53 65 6C 65 63 74 65 64 54 65 78 74  //'SelectedText' 

-------------------------------------------------------------------
03 //Component Type?
01 00 00 00 //Component count
19 00 00 00  //UNICODE STRING SIZE(25) 
40 00 67 00 75 00 69 00 6C 00 64 00 3A 00 63 00 72 00 65 00 
61 00 74 00 65 00 5F 00 6E 00 61 00 6D 00 65 00 5F 00 70 00 
72 00 6F 00 6D 00 70 00 74 00 //UNICODE ('@guild:create_name_prompt')


---------------------------------------------
02 00 00 00 //'Component Count
10 00  //String Size(16) 
50 72 6F 6D 70 74 2E 6C 62 6C 50 72 6F 6D 70 74   //'Prompt.lblPrompt'
04 00   //String Size(4)
54 65 78 74  //'Text' 

-----------------------------------------------------
03 //Component Type?
01 00 00 00 //'Component Count
18 00 00 00   //UNICODE STRING SIZE(24)
40 00 67 00 75 00 69 00 6C 00 64 00 3A 00 63 00 72 00 65 00 
61 00 74 00 65 00 5F 00 6E 00 61 00 6D 00 65 00 5F 00 74 00 
69 00 74 00 6C 00 65 00 //UNICODE ('@guild:create_name_title' ) 

-----------------------------------------------------------
02 00 00 00 //'Component Count
13 00  //String Size(19) 
62 67 2E 63 61 70 74 69 6F 6E 2E 6C 62 6C 54 69 74 6C 65  //'bg.caption.lblTitle' 
04 00  //String Size(4) 
54 65 78 74   //'Text'

-----------------------------------------------------------

03 //Component Type?
01 00 00 00 //'Component Count
07 00 00 00  //UNICODE STRING SIZE(7) 
40 00 63 00 61 00 6E 00 63 00 65 00 6C 00 //UNICODE ('@cancel')

-----------------------------------------------------------

02 00 00 00 //'Component Count
09 00  //String Size(9) 
62 74 6E 43 61 6E 63 65 6C  //'btnCancel' 
04 00  //String Size(4) 
54 65 78 74  //'Text' 

-----------------------------------------------------------

03 //Component Type?
01 00 00 00 //'Component Count
 
03 00 00 00 //UNICODE STRING SIZE(3) 
40 00 6F 00 6B 00 //'@ok'

-----------------------------------------------------------

02 00 00 00 //'Component Count
05 00   //String Size(5)
62 74 6E 4F 6B  //'btnOk' 
04 00   //String Size(4)
54 65 78 74  //'Text' 

-----------------------------------------------------------
03 //Component Type?
01 00 00 00 //'Component Count
04 00 00 00   //String Size(4)
74 00 72 00 75 00 65 00 //'true'

------------------------------------------------------
02 00 00 00  //'Component Count
08 00   //String Size(8)
74 78 74 49 6E 70 75 74  //'txtInput' 
07 00  //String Size(7) 
45 6E 61 62 6C 65 64  //'Enabled' 
--------------------------------------------------------
03 //Component Type?
01 00 00 00 //'Component Count
04 00 00 00 //UNICODE STRING SIZE
74 00 72 00 75 00 65 00 //UNICODE ('true')


-----------------------------------------------------------
02 00 00 00 //'Component Count 
08 00   //String Size(8)
74 78 74 49 6E 70 75 74   //'txtInput'
07 00   //String Size(7)
56 69 73 69 62 6C 65  //'Visible' 

------------------------------------------------------------

03 //Component Type?
01 00 00 00 //'Component Count
05 00 00 00 //UNICODE STRING COUNT (5)
66 00 61 00 6C 00 73 00 65 00 //UNICODE ('false')

----------------------------------------------------------------
02 00 00 00 //'Component Count
08 00   //String Size(8)
63 6D 62 49 6E 70 75 74  //'cmbInput' 
07 00   //String Size(7)
45 6E 61 62 6C 65 64   //'Enabled'

-------------------------------------------------------------------

03  //Component Type?
01 00 00 00 //'Component Count
05 00 00 00 //UNICODE STRING SIZE(5)
66 00 61 00 6C 00 73 00 65 00 //UNICODE ('false')

----------------------------------------------------------------------
02 00 00 00 //'Component Count
08 00   //String Size(8)
63 6D 62 49 6E 70 75 74  //'cmbInput' 
07 00   //String Size(7)
56 69 73 69 62 6C 65  //'Visible' 

-----------------------------------------------------------------------
03 //Component Type?
01 00 00 00 //'Component Count
03 00 00 00 //UNICODE STRING SIZE (3)
31 00 32 00 37 00 //UNICODE ('127')

------------------------------------------------------------------------
02 00 00 00 //'Component Count
08 00   //String Size(8)
74 78 74 49 6E 70 75 74   //'txtInput'
09 00   //String Size(9)
4D 61 78 4C 65 6E 67 74 68   //'MaxLength'

----------------------------------------------------------------------- 
03 //Component Type?
01 00 00 00 //'Component Count
03 00 00 00  //UNCIDE STRING SIZE (3)
31 00 32 00 37 00  //UNICODE ('127')
-----------------------------------------------------------------------

02 00 00 00 //'Component Count
08 00   //String Size(8)
63 6D 62 49 6E 70 75 74   //'cmbInput'
09 00   //String Size(9) 
4D 61 78 4C 65 6E 67 74 68   //'MaxLength'

------------------------------------------------------------------------

00 00 00 00  //unk DATA 1
00 00 00 00 //unk DATA 1
00 00 00 00 //unk DATA 1
00 00 00 00 //unk DATA 1
00 00 00 00 //unk DATA 1