Does anyone know how to make this window show up?

03/29/2011 23:34 kill_acvc#1
I was thinking about making a news system in my server and I'd like to use this window


[Only registered and activated users can see links. Click Here To Register...]



Is it possible? If the packet is not yet listed, can someone sniff it for me? Thanks in advance
03/30/2011 00:50 pro4never#2
For it to work you will need to be using a new patch to begin with...

If you're already using mine/hybrids source running new patches then you should be able to add it fairly simply. Just use my proxy source I posted to sniff it. I'm 99 pct sure someone already sniffed it for the new hellmouth server but I don't have the log handy here, sorry.
03/30/2011 01:26 .Kinshi#3
Its packet 2032, use pro4never's proxy to log it.
It's really simple.
04/02/2011 02:02 kill_acvc#4
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