[Help]Send Private Message

12/18/2013 05:50 Tazdingo7#1
Hello,

First of all, i don't know anything about C# :)

So you will notice that my question maybe will be stupid.

I'm trying to make a program that could send private messages.

And i get stuck:
string line2 = /input text/
Packet packet = new Packet(0x7025);
packet.WriteUInt8((byte)7);
packet.WriteUInt8((byte)0);
packet.WriteAscii(line2);
if (!string.IsNullOrEmpty(line2))
{
Agent.Send(packet);
}
For example: That is a extract of the automatic notice sender to send notices.

I know that if you change this:
packet.WriteUInt8((byte)7); to this: packet.WriteUInt8((byte)2);
It's start using private message type. But how i have to input the charname ?

Thanks in advance and sorry for me english :handsdown:

EDIT:
I get it.

My Retard power works :)

XD