Difference between revisions of "ConGenericMessage"

From SWGANH Wiki
Jump to: navigation, search
(Sample Packet)
(Variable Descriptions)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Server Packet|ConGenericMessage (8C5FC76)}}
 
+
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
 
|-
 
|-
Line 6: Line 5:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
 +
|-
 +
||
 
{| class="wikitable"
 
{| class="wikitable"
 
|{{short}}||'''Operand_Count'''
 
|{{short}}||'''Operand_Count'''
Line 14: Line 15:
 
|{{a_string}}||'''Message'''
 
|{{a_string}}||'''Message'''
 
|-
 
|-
|{{int}}|{{unknown}}
+
|{{int}}|'''String Spacer'''
 +
|}
 
|}
 
|}
  
Line 20: Line 22:
 
----
 
----
  
Opperand_Count     = '''3'''
+
Operand_Count     = '''3'''
  
 
Opcode     = '''8C5FC76'''
 
Opcode     = '''8C5FC76'''
Line 28: Line 30:
 
:Message displayed.
 
:Message displayed.
 
|valign=top|
 
|valign=top|
 +
 
===Tags===
 
===Tags===
 
----
 
----
Line 34: Line 37:
 
||{{ServerPacket}}
 
||{{ServerPacket}}
 
|-
 
|-
||{{75%}}
+
||{{100%}}
 
|-
 
|-
 
|}
 
|}
 
 
|}
 
|}
 
----
 
 
==Sample Code==
 
 
<pre>
 
Insert Code Snippet Here...
 
</pre>
 
  
 
==Sample Packet==
 
==Sample Packet==
 
+
'''This packet works in Pre-cu as it is.  Its a system message that only displays in spatial chat box only.'''
 
<pre>
 
<pre>
03 00
+
03 00  
76 FC C5 08
+
76 FC C5 08                                     // ConGenericMessage
04 00  
+
F9 00                                           // string count
74 65 73 74  // test
+
5C 23 46 46                                      // ......v.....\#FF
00 00 00 00
+
30 30 30 30 47 72 65 65 74 69 6E 67 73 21 20 50  // 0000Greetings!.P
 +
6C 65 61 73 65 20 62 65 20 61 77 61 72 65 20 74  // lease.be.aware.t
 +
68 61 74 20 74 68 65 20 62 75 79 69 6E 67 20 6F  // hat.the.buying.o
 +
72 20 73 65 6C 6C 69 6E 67 20 6F 66 20 69 6E 2D  // r.selling.of.in-
 +
67 61 6D 65 20 63 72 65 64 69 74 73 20 69 73 20  // game.credits.is.
 +
61 67 61 69 6E 73 74 20 74 68 65 20 53 74 61 72  // against.the.Star
 +
20 57 61 72 73 20 47 61 6C 61 78 69 65 73 20 54  // .Wars.Galaxies.T
 +
65 72 6D 73 20 6F 66 20 53 65 72 76 69 63 65 2E  // erms.of.Service.
 +
20 41 6E 79 6F 6E 65 20 66 6F 75 6E 64 20 70 61  // .Anyone.found.pa
 +
72 74 69 63 69 70 61 74 69 6E 67 20 69 6E 20 74  // rticipating.in.t
 +
68 65 73 65 20 74 72 61 6E 73 61 63 74 69 6F 6E  // hese.transaction
 +
73 20 77 69 6C 6C 20 62 65 20 68 61 72 73 68 6C  // s.will.be.harshl
 +
79 20 70 75 6E 69 73 68 65 64 20 62 79 20 74 68  // y.punished.by.th
 +
65 20 47 61 6C 61 63 74 69 63 20 43 72 65 64 69  // e.Galactic.Credi
 +
74 20 43 6F 6D 6D 69 73 73 69 6F 6E 21 5C 23 46  // t.Commission!\#F
 +
46 46 46 46 46 00 00 00 00                       // FFFFF.......
 +
01 B6 83                                        // comp+crc
 
</pre>
 
</pre>

Latest revision as of 20:16, 27 December 2007

Server Packet - ConGenericMessage (8C5FC76)

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

Struct


SHORT Operand_Count
INT Opcode
A_STRING Message
INT String Spacer

Variable Descriptions


Operand_Count = 3

Opcode = 8C5FC76


  • Message:
Message displayed.

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.

Sample Packet

This packet works in Pre-cu as it is. Its a system message that only displays in spatial chat box only.

03 00 
76 FC C5 08                                      // ConGenericMessage
F9 00                                            // string count
5C 23 46 46                                      // ......v.....\#FF
30 30 30 30 47 72 65 65 74 69 6E 67 73 21 20 50  // 0000Greetings!.P
6C 65 61 73 65 20 62 65 20 61 77 61 72 65 20 74  // lease.be.aware.t
68 61 74 20 74 68 65 20 62 75 79 69 6E 67 20 6F  // hat.the.buying.o
72 20 73 65 6C 6C 69 6E 67 20 6F 66 20 69 6E 2D  // r.selling.of.in-
67 61 6D 65 20 63 72 65 64 69 74 73 20 69 73 20  // game.credits.is.
61 67 61 69 6E 73 74 20 74 68 65 20 53 74 61 72  // against.the.Star
20 57 61 72 73 20 47 61 6C 61 78 69 65 73 20 54  // .Wars.Galaxies.T
65 72 6D 73 20 6F 66 20 53 65 72 76 69 63 65 2E  // erms.of.Service.
20 41 6E 79 6F 6E 65 20 66 6F 75 6E 64 20 70 61  // .Anyone.found.pa
72 74 69 63 69 70 61 74 69 6E 67 20 69 6E 20 74  // rticipating.in.t
68 65 73 65 20 74 72 61 6E 73 61 63 74 69 6F 6E  // hese.transaction
73 20 77 69 6C 6C 20 62 65 20 68 61 72 73 68 6C  // s.will.be.harshl
79 20 70 75 6E 69 73 68 65 64 20 62 79 20 74 68  // y.punished.by.th
65 20 47 61 6C 61 63 74 69 63 20 43 72 65 64 69  // e.Galactic.Credi
74 20 43 6F 6D 6D 69 73 73 69 6F 6E 21 5C 23 46  // t.Commission!\#F
46 46 46 46 46 00 00 00 00                       // FFFFF.......
01 B6 83                                         // comp+crc