Does anyone know the sound packet to play music on your client?
Or a good packet logger so i can try and capture it.
Or a good packet logger so i can try and capture it.
it is a packet.Quote:
is not a paket you can put music on npc and who whant to listen play from npc ! simple
Quote:
String Types
GuildName = 0x3,
Spouse = 0x6,
Effect = 0xA,
GuildList = 0xB,
ViewEquipSpouse = 0x10,
Sound = 0x14,
GuildEnemies = 0x15,
GuildAllies = 0x16
case 129:
{
string[] Strings = new string[2];
string[] sound = param.Split(' ');
Strings[0] = sound[1];
Strings[1] = "1";
string todo = sound[0];
string media = sound[1];
if (todo == "play")
{
CSocket.Send(CoPacket.String(Strings, 0, (Struct.StringType)(20), 2));
}
else if (todo == "broadcast")
{
foreach (ClientSocket CS in World.ClientPool.Values)
{
CSocket.Send(CoPacket.String(Strings, 0, (Struct.StringType)(20), 2));
}
}
break;
}