Difference between revisions of "ChatOnSendRoomMessage"

From SWGANH Wiki
Jump to: navigation, search
(Variable Descriptions)
Line 33: Line 33:
 
*Counter
 
*Counter
 
:Increment each time you send this per client.
 
:Increment each time you send this per client.
 +
 +
'''Allways send this before [[ChatRoomMessage]], build it in the same funtion and multi.'''
  
 
|valign=top|
 
|valign=top|

Revision as of 00:19, 21 June 2007


Struct


INT Operand Count
INT Opcode
INT Success Bitmask
INT Counter

Variable Descriptions


Opperand_Count = 3

Opcode = E7B61633


  • Success
0: Succeded, nothing displayed
0x10: Too large
  • Counter
Increment each time you send this per client.

Allways send this before ChatRoomMessage, build it in the same funtion and multi.

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.


Sample Code


Insert Code Snippet Here...

Sample Packet

Data A
ChatOnSendRoomMessage

199.108.197.147:44463 -> 192.168.0.161:4834(Server -> Client)
Enc: T   Comp: T    Seed: 0xFBB51320    Length: 102

00 09 
05 B6 
00 19 
0E 
03 00 
33 16 B6 E7                   // ChatOnSendRoomMessage
00 00 00 00 
01 00 00 00 
4E 
05 00 
44 E4 4C CD                   // ChatRoomMessage
03 00                         // string count
53 57 47                      // SWG
0A 00                         // string count
53 68 61 64 6F 77 66 69 72 65 // Shadowfire
05 00                         // string count
65 73 27 65 6D                // es'em
68 D5 28 03                   // room id
12 00 00 00                                      // string count
74 00 65 00                                      // t.e.
73 00 74 00 69 00 6E 00 67 00 20 00 67 00 75 00  // s.t.i.n.g...g.u.
69 00 6C 00 64 00 20 00 63 00 68 00 61 00 74     // i.l.d...c.h.a.t.
00 00 00 00 
00 10 ED