Register for your free account! | Forgot your password?

You last visited: Today at 01:47

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Sound Packet

Discussion on Sound Packet within the CO2 Private Server forum part of the Conquer Online 2 category.

Closed Thread
 
Old   #1
 
t_dubble_uu's Avatar
 
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.
t_dubble_uu is offline  
Old 05/07/2010, 00:01   #2
 
QuickCo's Avatar
 
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
QuickCo is offline  
Old 05/07/2010, 00:57   #3
 
TheGuyWithTheCodes's Avatar
 
elite*gold: 0
Join Date: May 2010
Posts: 122
Received Thanks: 24
Quote:
Originally Posted by QuickCo View Post
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
TheGuyWithTheCodes is offline  
Old 05/07/2010, 03:21   #4
 
t_dubble_uu's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 267
Received Thanks: 181
Quote:
Originally Posted by TheGuyWithTheCodes View Post
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?
t_dubble_uu is offline  
Old 05/07/2010, 03:42   #5
 
t_dubble_uu's Avatar
 
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;
                    }
t_dubble_uu is offline  
Old 05/07/2010, 15:23   #6


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
This has been covered several times, please search in future.
Korvacs is offline  
Old 05/07/2010, 16:35   #7

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
Quote:
Originally Posted by Korvacs View Post
This has been covered several times, please search in future.
No lock?
Kiyono is offline  
Old 05/07/2010, 16:40   #8


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Opps, i clicked close, i guess it didnt happen.

Closed.
Korvacs is offline  
Closed Thread


Similar Threads 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.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.