First of all I'd like to say thanks for the hints but I still haven't got it working. I sniffed the packets as you guys said but the client isn't accepting them
they are:
1 ? p Patch 5378 March 24th 01:00 PDT TQServer
? p TQServer
w ? pf1. World Monk PvP Contest will begin at Mar.27th 13:00(EU Server Time) again. Dont forget to be there! TQServer
? p TQServer
? ? p?2. Weekend Giveaway event: From March 26th 00:00 - March 27th 23:59, the level 50+ players who stay online for 1+ hours will be able to claim the rewards from Marven (Twin City, 374,338). TQServer
? p TQServer
9 ? p(3. GM Reminder About Account Protection: TQServer
? ? p?1) Be cautious if you receive fake TQ emails from outside sources that ask for account information, especially if you have not recently reported an account issue! TQServer
? ? p?2) Don??t believe any fake sites that say they can give you free items or money in the game! Do not ever give out your information to ANY un-official website. TQServer
? ? p?3) Never use bots or hacks, as your account and password will be recorded by the makers, and your computer may be keylogged to steal information about you. TQServer
` ? pO4) Always be sure to lock your equipment and set a password for your Warehouse. TQServer
(Note : I removed TQServer, of course.)
Any ideas? I'm kinda lost.
[Edit] Forgot to say, when I send them, whether the client closes or dcs.
[Edit - 2]
Nevermind. Got it working and structured now.
I'm going to release the packet structures for those who are curious.
There are 2 packets that are very, very similar(if they are not the same) You can send the second one and the Update window will show up, but, if you send only the first one, nothing happens.
Well, anyways, here they are :
Packet 1
Quote:
public static GamePacket NewsWindowHeader(string text)
{
byte[] Pack = new byte[15+text.Length+8] ;
GamePacket P = new GamePacket(Pack);
#region Packet Beginning
P.WriteInt16((ushort)(Pack.Length - 8));
P.WriteInt16(2032);
#endregion
P.Move(7);
P.WriteInt16((ushort)BitConverter.ToInt16(new byte[] { 112, 1},0));
P.WriteByte((byte)(text.Length+1));
P.WriteString(text);
P.Move(3);
return P;
}
|
Packet 2
Quote:
public static GamePacket NewsWindowText(string text)
{
byte[] Pack = new byte[15 + text.Length + 8];
GamePacket P = new GamePacket(Pack);
#region Packet Beginning
P.WriteInt16((ushort)(Pack.Length - 8));
P.WriteInt16(2032);
#endregion
P.Move(6);
P.WriteByte(2);
P.WriteInt16((ushort)BitConverter.ToInt16(new byte[] { 112, 1 }, 0));
P.WriteByte((byte)(text.Length + 1));
P.WriteString(text);
P.Move(3);
return P;
}
|
#REQUEST CLOSE