Difference between revisions of "SuiCreatePageMessage"

From SWGANH Wiki
Jump to: navigation, search
(Tags)
Line 11: Line 11:
 
===Struct===
 
===Struct===
 
----
 
----
 
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
|align="center" style="background:#B3C0DE; color:white;"|'''BYTE'''||'''uint8'''
+
|{{short}}|'''Opperand Count'''
 
|-
 
|-
|align="center" style="background:#6C86BF; color:white;"|'''SHORT'''||'''uint16'''
+
|{{int}}|'''opcode'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''uint32'''
+
|{{a_string}}|'''UI Script Name'''
 
|-
 
|-
|align="center" style="background:#3C5466; color:white;"|'''FLOAT'''||'''uint32'''
+
|{{int}}|'''List Size'''
 
|-
 
|-
|align="center" style="background:#3C4565; color:white;"|'''LONG'''||'''uint64'''
+
|{{
 +
|}
 +
{{beginlist|Redefine Variable}}
 +
:{| class="wikitable"
 
|-
 
|-
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''ASCII String'''
+
|{{byte}}|'''Variable Type'''
 
|-
 
|-
|align="center" style="background:#8BD9A3; color:white;"|'''U_STRING'''||'''Unicode String'''
+
|}
 +
{{endlist|Redefine Variable}}
 +
 
 +
{| class="wikitable"
 
|-
 
|-
|align="center" style="background:#3EC166; color:white;"|'''C_STRING'''||'''Customization String'''
+
|{{int}}|{{unknown}}
 
|-
 
|-
|align="center" style="background:#25733D; color:white;"|'''B_STRING'''||'''Byte String'''
+
|{{int}}|{{unknown}}
 
|-
 
|-
|align="center" style="background:#C6C600; color:white;"|'''{ }'''||'''LIST Component'''
+
|{{int}}|{{unknown}}
 
|-
 
|-
|align="center" style="background:#DF97A7; color:white;"|'''?'''||'''Uncertain Values'''
+
|{{int}}|{{unknown}}
|-
+
|align="center" style="background:#C84966; color:white;"|'''?? '''||'''Unknown Variable Name'''
+
 
|-
 
|-
 +
|{{int}}|{{unknown}}
 
|}
 
|}
 +
  
 
===Variable Descriptions===
 
===Variable Descriptions===

Revision as of 05:40, 8 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


SHORT Opperand Count
INT opcode
A_STRING UI Script Name
INT List Size
{{

<Redefine Variable count={{{2}}}>

BYTE Variable Type

<Redefine Variable/>


INT ??
INT ??
INT ??
INT ??
INT ??


Variable Descriptions


Opperand_Count = 2

Opcode = D44B7259



Tags


S→C This packet originates on the server.

75% 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