|
You last visited: Today at 01:47
Advertisement
Sound Packet
Discussion on Sound Packet within the CO2 Private Server forum part of the Conquer Online 2 category.
05/06/2010, 23:57
|
#1
|
elite*gold: 0
Join Date: Jan 2009
Posts: 267
Received Thanks: 181
|
Sound Packet
Does anyone know the sound packet to play music on your client?
Or a good packet logger so i can try and capture it.
|
|
|
05/07/2010, 00:01
|
#2
|
elite*gold: 0
Join Date: Jan 2010
Posts: 139
Received Thanks: 45
|
is not a paket you can put music on npc and who whant to listen play from npc ! simple
|
|
|
05/07/2010, 00:57
|
#3
|
elite*gold: 0
Join Date: May 2010
Posts: 122
Received Thanks: 24
|
Quote:
Originally Posted by QuickCo
is not a paket you can put music on npc and who whant to listen play from npc ! simple
|
it is a packet.
from korvacs wiki
Quote:
String Types
GuildName = 0x3,
Spouse = 0x6,
Effect = 0xA,
GuildList = 0xB,
ViewEquipSpouse = 0x10,
Sound = 0x14,
GuildEnemies = 0x15,
GuildAllies = 0x16
|
|
|
|
05/07/2010, 03:21
|
#4
|
elite*gold: 0
Join Date: Jan 2009
Posts: 267
Received Thanks: 181
|
Quote:
Originally Posted by TheGuyWithTheCodes
it is a packet.
from korvacs wiki
|
Thank you for that.
Now does anyone have an example of how to send the string command to the client?
|
|
|
05/07/2010, 03:42
|
#5
|
elite*gold: 0
Join Date: Jan 2009
Posts: 267
Received Thanks: 181
|
Never Mind
#request Closed
Thanks to Co-Future Source i figured it out
Code:
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;
}
|
|
|
05/07/2010, 15:23
|
#6
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
|
This has been covered several times, please search in future.
|
|
|
05/07/2010, 16:35
|
#7
|
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
|
Quote:
Originally Posted by Korvacs
This has been covered several times, please search in future.
|
No lock?
|
|
|
05/07/2010, 16:40
|
#8
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
|
Opps, i clicked close, i guess it didnt happen.
Closed.
|
|
|
 |
Similar Threads
|
[Release] CF German Sound Mod V 2.1 / Deutscher Sound mod 2.1
10/22/2010 - CrossFire Hacks, Bots, Cheats & Exploits - 13 Replies
Hey folks,
As u saw in http://www.elitepvpers.com/forum/crossfire/394518-g erman-crossfire-sound-mod-deutscher-sound-mod.html i improved the sound modification.
Now its supports:
*male characters
*female characters
*the black market
*the lobby sounds
*the background music
|
Trying with another packet (sound)
08/03/2010 - CO2 Private Server - 6 Replies
Okay so I have this packet (in a command)
string Strings = new string;
Strings = (Data);
Strings = "1";
StringPacket SoundPacket = new StringPacket(true);
SoundPacket.UID = client.Entity.UID;
SoundPacket.Type = 20;
...
|
Play sound via Packet Send?? [Question String Packet]
07/14/2010 - CO2 Private Server - 5 Replies
Yow im trying to figure out why i cant play music with the string packet
What im doin is;
MyChar.Client.SendPacket(Game.Packet.String(MyCha r.UID, 20, Splitter));
My Packet is:
public byte String(long CharId, byte Type, string name)
|
All times are GMT +1. The time now is 01:51.
|
|