Raised This Month: $51 Target: $400
 12% 

Admin Sounds 1.2.2


Post New Thread Reply   
 
Thread Tools Display Modes
jeezz
Senior Member
Join Date: Apr 2012
Location: netherlands
Old 04-10-2012 , 10:17   Re: Admin Sounds 1.2.2
Reply With Quote #261

Hi again: Xd

Mhh, got more problems, log:

L 04/10/2012 - 15:05:46: [adminsounds.smx] Sound file xxx/salut.mp3 (name : Salut) does not exist
L 04/10/2012 - 15:05:46: [adminsounds.smx] Sound file xxx/bodyrock_scout_spy.mp3 (name : Bodyrock) does not exist
L 04/10/2012 - 15:05:46: [adminsounds.smx] Sound file misc/basss.wav (name : basss) does not exist

After in type sm plugin list: 05 "Admin Sounds" (1.2.2) by cadav0r, dalto, o_O.Uberman.O_o,
|HS|Jesus

After i type sm plugins load admin sounds: [SM] Plugin admin.smx failed to load: Unable to open file.

Ater i type sm_admin_sounds_list: [Admin Sounds] Default params : delay=60 - volume=1.00 - stop=1
Sounds - fr : "Sons" - volume : 0.80 - delay : 60
- Salut ("xxx/salut.mp3")
Short Story - fr : "Petites Histoires" - delay : 90
- Bodyrock ("xxx/bodyrock_scout_spy.mp3")
Musics - fr : "Musiques" - es : "Musica" - delay : 120
- basss ("misc/basss.wav" - display : 1)

i have install the plugin right but i think my sound cfg. file is the problem, how to fill on wright down the songs

thx and plz help me, want this plugin working

Last edited by jeezz; 04-10-2012 at 10:19.
jeezz is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 05-05-2012 , 04:55   Re: Admin Sounds 1.2.2
Reply With Quote #262

Hi all,

I'm using this plugin on every of my linux cs:s servers and it's working fine. Only one thing: I often get errors in my logs:
Code:
L 05/04/2012 - 22:04:08: SourceMod error session started
L 05/04/2012 - 22:04:08: Info (map "de_dust2") (file "errors_20120504.log")
L 05/04/2012 - 22:04:08: [SM] Native "GetMenuItem" reported: Menu handle 28470510 is invalid (error 1)
L 05/04/2012 - 22:04:08: [SM] Displaying call stack trace for plugin "adminsounds.smx":
L 05/04/2012 - 22:04:08: [SM]   [0]  Line 587, /home/groups/sourcemod/upload_tmp/php0sThLc.sp::PlaySound()
L 05/04/2012 - 22:04:08: [SM]   [1]  Line 489, /home/groups/sourcemod/upload_tmp/php0sThLc.sp::AdminSoundsMenuHandler()
L 05/04/2012 - 22:07:43: Error log file session closed.
I think it happens if you choose a sound in the menu, but the delay has not been reached, so you can't play the sound (and just have to wait a little...) Or maybe if an admin opened the menu and disconnected... idk
If anyone can help me get rid of this it would be great.

@jeez: please post your soundslist.cfg so we can have a look.
I attached one of mine as an example.
Please also check if you installed the translation file properly.

Regards,

St00ne

Code:
//Make sure "soundslist.cfg" is in your addons/sourcemod/configs/ directory.
//
//Sounds go in your mod's "sound" directory (such as sound/misc/filename.wav).
//
//File Format
//"Admin Sounds"
//{
//    "Category 1" // Name of the category (use default server language here)
//    {
//        "fr"        "Categorie 1" // Name of the category in the specified language (refers to configs/language.cfg) [optional]
//        "es"        "..." // [optional]
//        "delay"        "20" // delay for all sounds of the category (if not specified, use default delay => cvar) [optional]
//        "volume"    "1.0" // volume for all sounds of the category (if not specified, use default volume => cvar) [optional]
//        "display"    "1" // display the name of the played sound (if not specified, use default display => cvar) [optional]
//        "stop"        "0" // disable stop option for this category (if not specified, use default stop => cvar) [optional]
//
//        "wazza"    // Name of sound
//        {
//            "file"        "misc/wazza.wav" // "file" is always there, next is the filepath (without "sound/")
//            "download"    "1" // 1 to download the sound, 0 not to download (default is 1) [optional]
//            "delay"        "30" // delay for the next sound in seconds (if not specified, use category delay) [optional]
//            "volume"    "0.8" // volume for this sound (if not specified, use category volume) [optional]
//            "display"    "1" // display the name of the played sound (if not specified, use category display) [optional]
//            "stop"        "0"// disable stop option for this sound (if not specified, use category stop option) [optional]
//        }
//    }
//
//    "Category 2"
//    {
//        "Sound 1"
//        {
//            "file" "esc90/tchi.mp3" // "file" is always there, next is the filepath (without "sound/")
//        }
//    }
//}
//
//To know if your list is good, type sm_admin_sounds_list in your console.
//

"Admin Sounds"
{
    "musiques"
    {
        "delay" "45"
        
        "banane"
        {
            "file" "esc90/la_banane.mp3"
        }
        "boogie"
        {
            "file" "esc90/J_Boogie.mp3"
        }
        "deftones"
        {
            "file" "esc90/deftones.mp3"
            "volume" "0.70"
        }
        "Don't worry"
        {
            "file" "esc90/don't_worry_mds.mp3"
        }
        "Francky"
        {
            "file" "esc90/francky.mp3"
        }
        "RHCP"
        {
            "file" "esc90/Can't_Stop.mp3"
        }
        "slayer"
        {
            "file" "esc90/slayer.mp3"
            "volume" "0.90"
        }
        "Sheriff"
        {
            "file" "esc90/ists_2.mp3"
        }
        "suckerpunch"
        {
            "file" "esc90/suckerpunch.mp3"
        }
        "war"
        {
            "file" "esc90/war.mp3"
            "volume" "0.70"
        }
    }

    "bruitages"
    {
        "delay" "1"
        
        "lapin cretin"
        {
            "file" "esc90/daaa.mp3"
        }
        "ouinouinouin"
        {
            "file" "esc90/ouinouinouin.mp3"
        }
        "zzz"
        {
            "file" "esc90/boring.mp3"
            "delay"    "27"
        }
        "annonce1"
        {
            "file" "esc90/annonce1.mp3"
        }
        "judge"
        {
            "file" "esc90/judge.mp3"
        }
        "biouman"
        {
            "file" "esc90/biouman.mp3"
            "delay" "14"
        }
        "la 7eme"
        {
            "file" "esc90/la7eme_cie.mp3"
            "delay" "14"
        }
        "tchi tchi"
        {
            "file" "esc90/tchi.mp3"
            "volume" "0.7"
            "delay" "9"
        }
        "tchi tchi 2"
        {
            "file" "esc90/tchitchi_suite.mp3"
            "delay"    "25"
        }
        "tchi tchi (etranger)"
        {
            "file" "esc90/tchitchi_etranger.mp3"
            "delay" "9"
        }
        "I see you"
        {
            "file" "esc90/i_see_you.mp3"
            "volume" "0.7"
        }
        "cri (naaan)"
        {
            "file" "esc90/cri_naaan.mp3"
        }
        "barbu"
        {
            "file" "esc90/barbuuu.mp3"
        }
        "t'es deg?"
        {
            "file" "esc90/deg3.mp3"
        }
    }

    "bruitages suite"
    {
        "delay" "1"
        
        "argh"
        {
            "file" "forlix/argh.mp3"
        }
        "bam"
        {
            "file" "forlix/bam.mp3"
        }
        "haha"
        {
            "file" "forlix/haha.mp3"
        }
        "joar"
        {
            "file" "forlix/joar.mp3"
        }
        "stfu"
        {
            "file" "forlix/stfu.mp3"
        }
        "nomnom"
        {
            "file" "forlix/nomnom.mp3"
        }
        "mana mana"
        {
            "file" "forlix/mana.mp3"
        }
    }
}
St00ne is offline
MinnerFyr14
New Member
Join Date: Mar 2012
Old 05-06-2012 , 09:58   Re: Admin Sounds 1.2.2
Reply With Quote #263

How do i setup the config files??

http://www.mediafire.com/?3duji7rmbnarnd1 - Here are the files i want to have Number 1 - 20 i want to add to music folder, and number 23 - 29 i want to add to sounds

Sry for my bad english, im from Denmark
MinnerFyr14 is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 05-15-2012 , 21:27   Re: Admin Sounds 1.2.2
Reply With Quote #264

Just reporting:

Code:
L 05/15/2012 - 00:13:11: SourceMod error session started
L 05/15/2012 - 00:13:11: Info (map "de_inferno") (file "errors_20120515.log")
L 05/15/2012 - 00:13:11: [adminsounds.smx] Sound file quake/headshot1.mp3 (name : Quake: boom headshot) does not exist
L 05/15/2012 - 00:13:11: [adminsounds.smx] Sound file gungame/knife_level.wav (name : Gungame: knife level) does not exist
L 05/15/2012 - 00:13:11: [adminsounds.smx] Sound file gungame/smb3_1-up.wav (name : Gungame: steeling level) does not exist
L 05/15/2012 - 00:34:46: Error log file session closed.
This happens if I set "download" attribute 0 to these sounds. It works, which means that if players have the sounds, they hear them, and if not, well they don't hear them but that's what is meant by settings "download" attribute to 0.

I have some other sounds with default attribute (default is "1", all players download and precache the sounds) and there is no log error.
See soundslist.cfg below:
Code:
//Make sure "soundslist.cfg" is in your addons/sourcemod/configs/ directory.
//
//Sounds go in your mod's "sound" directory (such as sound/misc/filename.wav).
//
//File Format
//
//"Admin Sounds"
//{
//    "Category 1" // Name of the category (use default server language here)
//    {
//        "fr"        "Categorie 1" // Name of the category in the specified language (refers to configs/language.cfg) [optional]
//        "es"        "..." // [optional]
//        "delay"        "20" // delay for all sounds of the category (if not specified, use default delay => cvar) [optional]
//        "volume"    "1.0" // volume for all sounds of the category (if not specified, use default volume => cvar) [optional]
//        "display"    "1" // display the name of the played sound (if not specified, use default display => cvar) [optional]
//        "stop"        "0" // disable stop option for this category (if not specified, use default stop => cvar) [optional]
//
//        "wazza"    // Name of sound
//        {
//            "file"        "misc/wazza.wav" // "file" is always there, next is the filepath (without "sound/")
//            "download"    "1" // 1 to download the sound, 0 not to download (default is 1) [optional]
//            "delay"        "30" // delay for the next sound in seconds (if not specified, use category delay) [optional]
//            "volume"    "0.8" // volume for this sound (if not specified, use category volume) [optional]
//            "display"    "1" // display the name of the played sound (if not specified, use category display) [optional]
//            "stop"        "0"// disable stop option for this sound (if not specified, use category stop option) [optional]
//        }
//    }
//
//    "Category 2"
//    {
//        "Sound 1"
//        {
//            "file" "esc90/tchi.mp3" // "file" is always there, next is the filepath (without "sound/")
//        }
//    }
//}
//
//To know if your list is good, type sm_admin_sounds_list in your console.
//

"Admin Sounds"
{
    "bruitages"
    {
        "delay" "1"
        
        "lapin cretin"
        {
            "file" "esc90/daaa.mp3"
        }
        "ouinouinouin"
        {
            "file" "esc90/ouinouinouin.mp3"
        }
        "zzz"
        {
            "file" "esc90/boring.mp3"
            "delay"    "27"
        }
        "annonce1"
        {
            "file" "esc90/annonce1.mp3"
        }
        "judge"
        {
            "file" "esc90/judge.mp3"
        }
        "biouman"
        {
            "file" "esc90/biouman.mp3"
            "delay" "14"
        }
        "la 7eme"
        {
            "file" "esc90/la7eme_cie.mp3"
            "delay" "14"
        }
        "tchi tchi"
        {
            "file" "esc90/tchi.mp3"
            "volume" "0.7"
            "delay" "9"
        }
        "tchi tchi 2"
        {
            "file" "esc90/tchitchi_suite.mp3"
            "delay"    "25"
        }
        "tchi tchi (etranger)"
        {
            "file" "esc90/tchitchi_etranger.mp3"
            "delay" "9"
        }
        "I see you"
        {
            "file" "esc90/i_see_you.mp3"
            "volume" "0.7"
        }
        "cri (naaan)"
        {
            "file" "esc90/cri_naaan.mp3"
        }
        "barbu"
        {
            "file" "esc90/barbuuu.mp3"
        }
        "t'es deg?"
        {
            "file" "esc90/deg3.mp3"
        }
    }
    "bruitages (animaux)"
    {
        "delay" "1"
        
        "baa"
        {
            "file" "forlix/baa.mp3"
        }
        "moo"
        {
            "file" "forlix/moo.mp3"
        }
        "woof"
        {
            "file" "forlix/woof.mp3"
        }
        "meow"
        {
            "file" "forlix/meow.mp3"
        }
        "meep"
        {
            "file" "forlix/meep.mp3"
        }
    }
    "No dl: not all players will hear them!"
    {
        "delay" "3"
        
        "Le Bon, La Brute et le Truand"
        {
            "file" "nippersounds/nm_goodbadugly.wav"
            "download" "0"
        }
        "Quake: Prepare to fight"
        {
            "file" "quake/prepare.mp3"
            "download" "0"
        }
        "Quake: Play (female)"
        {
            "file" "quake/female/prepare.mp3"
            "download" "0"
        }
        "Quake: perfect"
        {
            "file" "quake/perfect.mp3"
            "download" "0"
        }
        "Quake: impressive"
        {
            "file" "quake/impressive.mp3"
            "download" "0"
        }
        "Quake: headshot"
        {
            "file" "quake/headshot.mp3"
            "download" "0"
        }
        "Quake: boom headshot"
        {
            "file" "quake/headshot1.mp3"
            "download" "0"
        }
        "Quake: monsterkill"
        {
            "file" "quake/monsterkill.mp3"
            "download" "0"
        }
        "Gungame: knife level"
        {
            "file" "gungame/knife_level.wav"
            "download" "0"
        }
        "Gungame: steeling level"
        {
            "file" "gungame/smb3_1-up.wav"
            "download" "0"
        }
        "Gungame: grenade level"
        {
            "file" "gungame/nade_level.wav"
            "download" "0"
        }
        "Gungame: mario"
        {
            "file" "gungame/smb_star.mp3"
            "download" "0"
        }
        "Gungame: level up"
        {
            "file" "gungame/smb3_powerup.wav"
            "download" "0"
        }
        "Gungame: level down"
        {
            "file" "gungame/smb3_powerdown.wav"
            "download" "0"
        }
    }
}
Only the sounds of third part create these log errors. Is it possible to fix this?

Regards,

St00ne.
__________________

*** *** ***
-My plugins-

Last edited by St00ne; 05-15-2012 at 21:33.
St00ne is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 05-16-2012 , 02:49   Re: Admin Sounds 1.2.2
Reply With Quote #265

@Stoone, it warn because it not found those files from your server.
Recheck and check file extension is it *.wav or *.mp3

But plugins still play those files if players have it.

Last edited by Bacardi; 05-16-2012 at 02:50.
Bacardi is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 05-16-2012 , 09:59   Re: Admin Sounds 1.2.2
Reply With Quote #266

Quote:
Originally Posted by Bacardi View Post
@Stoone, it warn because it not found those files from your server.
Recheck and check file extension is it *.wav or *.mp3

But plugins still play those files if players have it.
Gosh, would I have forgotten to upload them to one of my servers? I'll double check, thanks for the answer.

++
__________________

*** *** ***
-My plugins-
St00ne is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 05-17-2012 , 22:37   Re: Admin Sounds 1.2.2
Reply With Quote #267

Quote:
Originally Posted by St00ne View Post
Gosh, would I have forgotten to upload them to one of my servers? I'll double check, thanks for the answer.

++
Yes I did... thanks a lot, it's gone now.

I only have that from time to time now...: https://forums.alliedmods.net/showpo...&postcount=262

++
__________________

*** *** ***
-My plugins-

Last edited by St00ne; 05-17-2012 at 22:41.
St00ne is offline
Doktor Haus
Junior Member
Join Date: Jun 2011
Old 05-21-2012 , 20:40   Re: Admin Sounds 1.2.2
Reply With Quote #268

I've gotten it to work in L4D2. The catch is: you have to manually send the cached sound files to your players in addon format (VPK). Not a problem for a small friends server.
__________________
Saucemod
Doktor Haus is offline
ZingyTheDJ
Junior Member
Join Date: Jul 2012
Location: Bungay, Norfolk, England
Old 08-14-2012 , 10:27   Re: Admin Sounds 1.2.2
Reply With Quote #269

I own a Muiltiplay server, and i am not sure how to add sounds, any help? I've contacted support twice but no help. They said something about uploading in zip format, but i am not sure. Help will be rewarded with bacon. Here's some free bacon.
ZingyTheDJ is offline
nightrider
SourceMod Donor
Join Date: Dec 2008
Old 08-14-2012 , 12:54   Re: Admin Sounds 1.2.2
Reply With Quote #270

Upload you sound file in bzip format to your fastdownload server
Upload your files to your game server sound folder.
__________________
[SIGPIC][/SIGPIC] the pantless
I am the Night Rider!, I'm a fuel-injected suicide machine.
I am a rocker! I am a roller!, I am an out-of-controller!


nightrider is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:27.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode