SuiCreatePageMessage

From SWGANH Wiki
Revision as of 05:58, 8 April 2007 by Meanmon13 (Talk | contribs) (Variable Descriptions)

Jump to: navigation, search

Struct


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

<Redefine Variable count=List Size>

BYTE Variable Type
INT List Size


<New Variable Values count=List Size>
INT Unicode String Size
U_STRING New Variable Value
<New Variable Values/>


INT List Size
<Variable Being Changed count=List Size>
INT Unicode String Size
U_STRING Variable Location
INT Unicode String Size
U_STRING Variable To Be Changed
<Variable Being Changed/>


<Redefine Variable/>


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

Variable Descriptions


Operand_Count = 2

Opcode = D44B7259


  • Script Name = Name of the \ui\*.inc UI files
  • List Size = Number of Changed Variables
  • Variable Type = So far only seen as "03"
  • New Variable Value = Unicode String of what the new value should be... this is always Unicode no matter variable type
  • Variable Location = In the .inc File you see <page Name="page1"> you would send page1. In the case of the variable being in a nested page tag EX: <page name="Page1"><page name="SubPage1"></page><page name="SubPage2"></page></page>Then you'd send Page1.SubPage1 or Page1.SubPage2
  • Variable To Be Changed = Variable at above location that is being modified.


Tags


S→C This packet originates on the server.

75% This packet has been partially reversed.


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