Difference between revisions of "ChatPersistentMessageToClient"

From SWGANH Wiki
Jump to: navigation, search
(Variable Descriptions)
(Struct)
 
(One intermediate revision by the same user not shown)
Line 23: Line 23:
 
|{{int}}||'''MailCounter (Sender)'''
 
|{{int}}||'''MailCounter (Sender)'''
 
|-
 
|-
|{{byte}}||'''<font color="red">???</font>'''
+
|{{byte}}|{{unknown}}
 
|-
 
|-
 
|{{u_string}}||'''Subject'''
 
|{{u_string}}||'''Subject'''
Line 66: Line 66:
  
 
<pre>
 
<pre>
Data A
 
ChatPersistentMessageToClient
 
 
199.108.197.150:44463 -> 192.168.0.161:1969(Server -> Client)
 
Enc: T  Comp: T    Seed: 0xFBFCC237    Length: 111
 
 
00 09
 
07 C2
 
 
02 00  
 
02 00  
 
17 5E 48 08                          // ChatPersistentMessageToClient
 
17 5E 48 08                          // ChatPersistentMessageToClient
Line 89: Line 81:
 
64 00 6D 00 61 00 69 00 6C 00 3A 00 6B 00 69 00  // d.m.a.i.l.:.k.i.
 
64 00 6D 00 61 00 69 00 6C 00 3A 00 6B 00 69 00  // d.m.a.i.l.:.k.i.
 
63 00 6B 00 5F 00 73 00 75 00 62 00 6A 00 65 00  // c.k._.s.u.b.j.e.
 
63 00 6B 00 5F 00 73 00 75 00 62 00 6A 00 65 00  // c.k._.s.u.b.j.e.
63 00 74                                         //  c.t
+
63 00 74 00                                        //  c.t
 
00 00 00 00                          //???????????????????
 
00 00 00 00                          //???????????????????
00                                  //???????????????????
 
 
4E 68 0B 13                          //???????????????????
 
4E 68 0B 13                          //???????????????????
 
46 C6 00         
 
46 C6 00         

Latest revision as of 11:53, 12 February 2008

Server Packet - ChatPersistentMessageToClient (08485E17)

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 CRC
A_STRING Sender Name
A_STRING SWG
A_STRING Galaxy Name
INT DBMailId
INT MailCounter (Sender)
BYTE ??
U_STRING Subject
INT
BYTE MailStatus
BYTE TimeSend

Variable Descriptions


Opperand_Count = 02

Opcode = 08485E17


  • There are 2 different messages depending on whether we send a header or the full message.
  • if we send the full message the attachment part contains the unicode string with all the @variables

Tags


S→C This packet originates on the server.

75% This packet has been partially reversed.


Sample Packet

02 00 
17 5E 48 08                          // ChatPersistentMessageToClient
0C 00                                // string count
62 65 61 76 65 72 20 68 65 61 64 73  // beaver.heads (guild Name)
03 00                                // string count
53 57 47                             // SWG
0A 00                                // string count
53 68 61 64 6F 77 66 69 72 65        // Shadowfire
32 15 EF 2B                          // email id 
01 00 00 00                          // counter
00                                   //??????????????????
17 00 00 00                          // string count
40 00 67 00 75 00 69 00 6C 00                    // @.g.u.i.l.
64 00 6D 00 61 00 69 00 6C 00 3A 00 6B 00 69 00  // d.m.a.i.l.:.k.i.
63 00 6B 00 5F 00 73 00 75 00 62 00 6A 00 65 00  // c.k._.s.u.b.j.e.
63 00 74 00                                        //  c.t
00 00 00 00                          //???????????????????
4E 68 0B 13                          //???????????????????
46 C6 00         

this one to send @Macro EMails in NGE

00 09 
02 40 
02 00 
17 5E 48 08 
auctioner   / sender
00 00    ascii
00 00    ascii
BC 96 47 0D  Mail id
00 00 00 00 
00 
@.a.u.c.t.i.o.n.:.s.u.b.j.e.c.t._.a.u.c.t.i.o.n._.i.t.e.m._.e.x.p.i.r.e.d.

4E 00 00 00 - unicode string
01 00 01 
FF FF FF FF 
auction
74 69 6F 6E 
00 00 00 00 
item_expired  //38

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 //78
D8 1B 59 B2 1F 00 00 00 
00 00 00 00 
00 00 00 00 //94
W.a.n.t.e.d...P.o.s.t.e.r...:...T.r.a.n.d.o.s.h.a.n. //150 von 156

00 00 00 00 
00 00 

00 00 00 00 
52 11 41 11 47 

19 86                              R.A.G.?


00 09 
02 48 
02 00 

17 5E 48 08 

@player_structure:management / sender

00 00 /ascii

00 00 /ascii
3A AA 48 0D  /mailid
00 / byte
00 00 00 00 // mail body

@.p.l.a.y.e.r._.s.t.r.u.c.t.u.r.e.:.s.t.r.u.c.t.u.r.e._
.m.a.i.n.t.e.n.a.n.c.e._.e.m.p.t.y._.s.u.b.j.e.c
00 
6B 00 00 00 
00 00 
01 
FF FF FF FF 

player_structure
00 00 00 00 
structure_maintenance_empty_body
00 00 00 00 
00 00 00 00 
00 00 00 00 
00 00 00 00 
00 00 00 00 
A1 9B 8B DB 11 00 00 00 
installation_n
00 00 00 00 
item_factory

00 00 00 00 
00 00 00 00 
00 00 00 00  
00 00 00 00 
00 00 00 00 
3.9.6.4...0.8.......6.7.0.0...0.8...t.a.t.o.o.i.n.e.

00 00 00 00 
00 00 00 00 
00 
55 4F 28 12 47 23 8C