Thanks for the info. Doesn't do me much good as I'm using 5095 and suck with packets. I did re-write my existing strings packet but in simplifying it for this use I think I mostly broke it. Going through type 1-110 I only had 2 things happen. Open view gear window and fireworks.
Not to derail the thread hopefully but now I'm kinda curious as how to do this properly.
<edit>
I was using a different string packet that I shouldn't have. That being said, any help you could offer me with what I'm doing wrong?
my string packet as it is right now looks like
Gonna try again with a nice lil loop to test all at once (just to see if it tries to open website on any of them)
Not to derail the thread hopefully but now I'm kinda curious as how to do this properly.
<edit>
I was using a different string packet that I shouldn't have. That being said, any help you could offer me with what I'm doing wrong?
Code:
case "link":
{
string site = "http://www.google.ca";
CSocket.Send(ConquerPacket.String(CSocket.Client.ID, Convert.ToByte(Command[1]), site));
break;
}
PHP Code:
public static byte[] String(int UID, byte Type, string value)
{
PacketBuilder Packet = new PacketBuilder(1015, 13 + value.Length);
Packet.Long(UID);
Packet.Int(Type);
Packet.Int(1);
Packet.Int(value.Length);
Packet.Text(value);
Packet.Short(0);
return Packet.getFinal();
}