ChatSystemMessage

From SWGANH Wiki
Revision as of 00:10, 15 November 2007 by Rouse (Talk | contribs) (Sample Packet)

Jump to: navigation, search


Struct


SHORT Opperand_Count
INT Opcode
BYTE ??
U_STRING Message
INT Terminate string

Variable Descriptions


Opperand_Count = 4

Opcode = 6D2A6413


  • Message:

System Message to be sent.

Terminating INT = 0 Just an INT

Tags


S→C This packet originates on the server.

50% This packet has been partially reversed.


Sample Code


Insert Code Snippet Here...

Sample Packet

------STF Driven System Message-------
04 00 
13 64 2A 6D  //CRC = 'ChatSystemMessage  
00 // makes system message only display in the chat window 00 for both and 02 for chat only
00 00  00 00 
3C 00 00 00    //Unicode Buffer Size (STFLoc.size() + StringName.size() + remaning bytes /2)
01 00          //Mystery Bool
01             //Static
FF FF FF FF    //Static
05 00  //String Size(5) 
67 75 69 6C 64  //'guild' (STF Location)
00 00 00 00 
1E 00  //String Size(30)
63 72 65 61 74 65  5F 66 61 69   
6C 5F 61 62 62 72 65 76 5F 6E  
6F 74 5F 61 6C 6C 6F 77 65 64  //'create_fail_abbrev_not_allowed' (String name in the STF)
00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 
00 00 00 00 00 00 

04 00 
13 64 2A 6D // Opcode-ChatSystemMessage 
00  // makes system message only display in the chat window 00 for both and 02 for chat only
00 00 00 00
5A 00 00 00 
00 00 
01 
FF FF FF FF // text color
0B 00                            // string count 
62 61 73 65 5F 70 6C 61 79 65 72 // base_player 
00 00 00 00                      // string spacer
15 00                                     // string count 
70 72 6F 73 65 5F 64 65 70 6F 73 69 74 5F // prose_deposit_ 
73 75 63 63 65 73 73                      // success 
00 00 00 00 
00 00 00 00 
00 00 00 00 
00 00 00 00 
00 00 00 00 // Combat u-string found for harvesting/ start dance
00 00 00 00 
00 00 00 00 
00 00 00 00 
00 00 00 00 
00 00 00 00 // system u-string displayed results for the above stf file links
00 00 00 00 
00 00 00 00 // xp/badge/money file string
00 00 00 00 
00 00 00 00 // xp type/badge name/resource Name/travelsystem
00 00 00 00 
12 0E 0F 00 // credits deposited/withdrawn/ harvest amount
00 00 00 00