Register for your free account! | Forgot your password?

You last visited: Today at 10:27

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

Advertisement



[Problem] Sounds

Discussion on [Problem] Sounds within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2011
Posts: 470
Received Thanks: 97
[Problem] Sounds

I've got sounds working on every single source I've ever made; however, this source has a problem and I have no idea why. It repeats the sound over and over again. The server isn't sending the client anything. It just sends the initial string packet.

#removed incorrect code

I tried it on other versions of clients too. I'm very, very confused.
Spirited42 is offline  
Old 02/25/2011, 14:16   #2
 
elite*gold: 0
Join Date: Nov 2010
Posts: 1,162
Received Thanks: 370
Maybe this can help.
Code:
Take from epvp, release on 4botters.
Syst3m_W1z4rd is offline  
Thanks
2 Users
Old 02/25/2011, 18:57   #3
 
Arco.'s Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 335
Received Thanks: 170




Arco. is offline  
Thanks
1 User
Old 02/25/2011, 19:45   #4
 
Iron~Man's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 162
Received Thanks: 31
Quote:
Originally Posted by Syst3m_W1z4rd View Post
Maybe this can help.
Code:
        public byte[] SoundPacket(string SoundName, int Volume)
        {
            ServerClientPacket Pkkt = new ServerClientPacket();

            Pkkt.AddShort(15 + SoundName.Length);
            Pkkt.AddShort(0x3F7);
            Pkkt.AddInt(0);
            Pkkt.AddShort(0x214);
            Pkkt.AddByte(SoundName.Length);
            Pkkt.AddText(SoundName);
            Pkkt.AddShort(Volume);
            Pkkt.AddShort(0);

            return Pkkt.ReturnPacket();
        }

Ermm, When I Send The Packet, I Only Put the song name or the whole path?
Iron~Man is offline  
Old 02/25/2011, 20:07   #5
 
Arco.'s Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 335
Received Thanks: 170
Quote:
Originally Posted by Iron~Man View Post
Ermm, When I Send The Packet, I Only Put the song name or the whole path?
Learn to read some of the example threads.
Quote:
sound/rain.mp3
Arco. is offline  
Thanks
1 User
Old 02/25/2011, 21:13   #6
 
elite*gold: 0
Join Date: Jan 2011
Posts: 470
Received Thanks: 97
Quote:
Originally Posted by Syst3m_W1z4rd View Post
Maybe this can help.
Code:
        public byte[] SoundPacket(string SoundName, int Volume)
        {
            ServerClientPacket Pkkt = new ServerClientPacket();

            Pkkt.AddShort(15 + SoundName.Length);
            Pkkt.AddShort(0x3F7);
            Pkkt.AddInt(0);
            Pkkt.AddShort(0x214);
            Pkkt.AddByte(SoundName.Length);
            Pkkt.AddText(SoundName);
            Pkkt.AddShort(Volume);
            Pkkt.AddShort(0);

            return Pkkt.ReturnPacket();
        }
Same Result.
I figured it out though.
I forgot to mention creating a NEW packet instead of reusing an old one... so it had junk left in the buffer. Hahaha. I really shouldn't code when I'm tired. Thanks for the help. I'll thank you. =p
Spirited42 is offline  
Reply


Similar Threads Similar Threads
Sounds
06/19/2010 - WarRock - 1 Replies
Hi :) Kann jemand von euch den Ordner " Weapon " hochladen ? Wäre wirklich sehr nett . Dieser Ordner ist hier : C:\Program Files\GamersFirst\War Rock\sound danke psp :D #closerequest
Sounds. (What they are)
11/01/2008 - Conquer Online 2 - 0 Replies
Ok, So i plan on editing my sounds in conquer to something more exciting. as in, When the "scentword" hit noise comes on instead of it going de-de-de-de its gunna go "HEADSHOT" And stuff like that. i was wondering if someone could list/name all the files for me in the sound folder. Theirs alot Thanks if u can help, Or just tell me the important ones (: TY!
CO Sounds
11/18/2007 - CO2 Weapon, Armor, Effects & Interface edits - 4 Replies
I was a bit bored and I just wanted to spice up co a little. I came across a few sounds which are really good, I hope you like these! ADD THESE SOUNDS TO YOUR "C:/Program Files/Conquer 2.0/Sound" folder BTW, Below is the sounds that replaces the old sounds for: * Female Death Sound * Male Death Sound
sounds
12/25/2006 - Conquer Online 2 - 1 Replies
well i've listened toa ll sounds and the ones that sounds like superman aren't it...can anyone tell me which file is the one for the superman sound? cuz i like to make some of my own sounds...plz help
co 1.0 sounds
10/10/2006 - Conquer Online 2 - 4 Replies
IS there any way we could get old CO 1.0 sounds back? because i hate the new sounds.. all i can hear is swinging :bandit:



All times are GMT +2. The time now is 10:27.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.