Difference between revisions of "ChatOnAddModeratorToRoom"

From SWGANH Wiki
Jump to: navigation, search
(Struct)
Line 14: Line 14:
 
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''Server'''
 
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''Server'''
 
|-
 
|-
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''Channel Owner?'''
+
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''Person to mod'''
 
|-
 
|-
 
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''Game'''
 
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''Game'''
Line 20: Line 20:
 
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''Server'''
 
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''Server'''
 
|-
 
|-
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''Moderator Name?'''
+
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''Person doing the modding'''
 
|-
 
|-
 
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Success Bitmask;'''
 
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''Success Bitmask;'''

Revision as of 00:48, 21 June 2007

Server Packet - ChatOnAddModeratorToRoom (36A03858)

SWGANH Wiki is a repository of Star Wars Galaxies Developer information. This site is only meant to be used by SWGANH Developer team.

Struct


INT Operand
A_STRING Game
A_STRING Server
A_STRING Person to mod
A_STRING Game
A_STRING Server
A_STRING Person doing the modding
INT Success Bitmask;
A_STRING Room Full Name
INT Nothing

Variable Descriptions


Opperand_Count = 6

Opcode = 0x36A03858


  • Success
0: Success
0x10: Failed to op (person) in (room name): You are not a moderator.
0x4: Failed to op (person) in (room name): avatar not found.
Other: Failed to op (person) in (room name).

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.


Sample Code


Insert Code Snippet Here...

Sample Packet

06 00 
58 38 A0 36                                       // ChatOnAddModeratorToRoom
03 00                                             // string count
53 57 47                                          // SWG
0A 00                                             // string count
53 68 61 64 6F 77 66 69 72 65                     // Shadowfire
09 00                                             // string count
73 70 65 74 79 6E 65 73 73                        // spetyness
03 00                                             // string count
53 57 47                                          // SWG
0A 00                                             // string count
53 68 61 64 6F 77 66 69 72 65                     // Shadowfire 
08 00                                             // string count
72 75 62 69 6E 6C 65 65                           // rubinlee
00 00 00 00 
22 00                                             // string count
53 57 47 2E 53 68 61 64 6F                        // SWG.Shado
77 66 69 72 65 2E 74 75 74 6F 72 69 61 6C 2E 43   // wfire.tutorial.C
68 61 74 2E 72 6F 75 73 65                        // hat.rouse....O.
01 00 00 00