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

Say Sounds (including Hybrid Edition) (4.0.8)


Post New Thread Reply   
 
Thread Tools Display Modes
WebNoob
Senior Member
Join Date: Jul 2008
Old 12-07-2016 , 11:59   Re: Say Sounds (including Hybrid Edition) (4.0.8)
Reply With Quote #1231

I've used this every year for a holiday Karaoke event, but this year, all the sounds (which are .mp3 files) are failing to play when using the "Karaoke" functions (even the announcer voice). here is the error I'm seeing in console:

Quote:
MP3 initialized with no sound cache, this may cause janking. [ sound\wonderful-time.mp3 ]
Failed to create decoder for MP3 [ sound\wonderful-time.mp3 ]
MP3 initialized with no sound cache, this may cause janking. [ sound\wonderful-time.mp3 ]
Failed to create decoder for MP3 [ sound\wonderful-time.mp3 ]
*** Invalid sample rate (0) for sound 'sound\wonderful-time.mp3'.
I've checked the sample rate of all the .mp3's, and they are all at 44100 (which has always been fine).

Has something changed with the engine, or is this plugin simply broken?
WebNoob is offline
regimen
Junior Member
Join Date: Jun 2010
Old 01-01-2017 , 00:08   Re: Say Sounds (including Hybrid Edition) (4.0.8)
Reply With Quote #1232

Quote:
Originally Posted by WebNoob View Post
I've used this every year for a holiday Karaoke event, but this year, all the sounds (which are .mp3 files) are failing to play when using the "Karaoke" functions (even the announcer voice). here is the error I'm seeing in console:



I've checked the sample rate of all the .mp3's, and they are all at 44100 (which has always been fine).

Has something changed with the engine, or is this plugin simply broken?
I'm having the same problem suddenly, as well. All my old sounds work, but tried adding a new one and its a no-go with the same error.

MP3 initialized with no sound cache, this may cause janking. [ admin_plugin\time_left\visitwebsite_ss_edited 2.mp3 ]
Failed to create decoder for MP3 [ admin_plugin\time_left\visitwebsite_ss_edited 2.mp3 ]
MP3 initialized with no sound cache, this may cause janking. [ admin_plugin\time_left\visitwebsite_ss_edited 2.mp3 ]
Failed to create decoder for MP3 [ admin_plugin\time_left\visitwebsite_ss_edited 2.mp3 ]
*** Invalid sample rate (0) for sound 'admin_plugin\time_left\visitwebsite_ss_edite d2.mp3'.

"sample rate (0)"? wtf.....

Sound file is 44.1khz MP3 @ 64kbps bitrate...

EDIT/UPDATE:
One issue in my case was that I didn't add it to my download redirect so the sound isn't even downloading. Why it's throwing invalid sample rate error instead of file not found error, I don't know, but I'm 99% sure once I get around to adding it, it will be fine. Been a while since I managed a source dedicated server, but always thought if it wasn't on the redirect, you'd just get the file directly from the server only slower but nope!

Last edited by regimen; 01-06-2017 at 14:48.
regimen is offline
Nanochip
Senior Member
Join Date: Jan 2014
Old 03-03-2017 , 02:24   Re: Say Sounds (including Hybrid Edition) (4.0.8)
Reply With Quote #1233

anyone else having issues getting the !sounds menu to open? Even in the !settings menu, the preferences menu for saysounds won't open. No errors are being thrown in console/logs.
__________________
Nanochip is offline
Mann co. Supply Crate Key
Junior Member
Join Date: Oct 2016
Old 03-03-2017 , 12:00   Re: Say Sounds (including Hybrid Edition) (4.0.8)
Reply With Quote #1234

I get the following error:
L 03/03/2017 - 17:572: [saysounds.smx] <Send_Sound> INVALID_HANDLE for file "sound\misc\playerjoin01.wav"
L 03/03/2017 - 17:575: [saysounds.smx] <checkSamplingRate> INVALID_HANDLE for file "sound\misc\roundstart02.wav"
L 03/03/2017 - 17:58:05: [saysounds.smx] <checkSamplingRate> INVALID_HANDLE for file "sound\misc\roundstart01.wav"
Mann co. Supply Crate Key is offline
painkiller
Senior Member
Join Date: Jun 2011
Old 03-29-2017 , 13:44   Re: Say Sounds (including Hybrid Edition) (4.0.8)
Reply With Quote #1235

Hello i have problems with my saysounds.cfg
Admin Intros work but no Funsounds.

Can anybody help me?


Code:
// ##################################
// #### Saysounds example config ####
// ##################################
"Sound Combinations"
{
    // #### Join/Exit Sounds ####
    "JoinSound" // Sound to play when a player Joins the server
    {
        "file"    "exae/rocks3.mp3"
        "admin"    "0"
        "text"    "*** Viel Spass auf unserem Server wuenscht das RocKs-Team ***"    // Message to display if s client joins the server
        "single" "1" // 1 to play sound to single client only, 0 to play to all (default is 1)
        "volume" "1.0"   // Specify volume for this specific sound
    }
    "ExitSound"
    {
        "file"    ""
        "admin"    "0"
        "etext"    ""    // Message to display if a client leaves the server
        "single" "1" // 1 to play sound to single client only, 0 to play to all (default is 0)
        "volume" "0.8"    // Specify volume for this specific sound
    }
    "STEAM_0:1:21953651" // Painkiller
    {
        "file"    "connect/personal.mp3" // name of sound to play when joining
        "exit"    "connect/see you.mp3" // name of sound to play when leaving
        "text"    "#green (RocKs|Painkiller) #lightgreen ACHTUNG !!! ACHTUNG MASTER CHIEF !!! RocKs|Painkiller"    // Message to display if this client joins the server
        "etext"    "#green (RocKs|Painkiller) #lightgreen ACHTUNG !!! ACHTUNG MASTER CHIEF !!! RocKs|Painkiller sagt See you later Aligator"    // Message to display if this client leaves the server
        "admin"    "1"
        "volume" "1.0"            // Specify volume for this specific sound
    }
    "STEAM_0:0:2314630" // Kinndy
    {
        "file"    "connect/kinddy1.mp3" 
        "exit"    "connect/servus.mp3" 
        "text"    "#green (RocKs|kinddy) #lightgreen ACHTUNG !!! ACHTUNG ADMIN !!! Rennt um euer Leben meine 357er faengt an zu husten !!!"    
        "etext"    "#green (RocKs|kinddy) #lightgreen !!! ACHTUNG ADMIN !!! Die Nuernbergerrin sagt Tschuess"    
        "admin"    "0"
        "volume" "1.0"            
    }
    "STEAM_0:0:26048909" // Jacksparrow
    {
        "file"    "connect/sparrow.mp3" 
        "exit"    "connect/servus.mp3"
        "text"    "#green (RocKs|Rumbledoom) #lightgreen ACHTUNG !!! ACHTUNG ADMIN !!!  Jack is Back"    
        "etext"    "#green (RocKs|Rumbledoom) #lightgreen BYE BYE VIEL SPASS NOCH"    
        "admin"    "0"
        "volume" "1.0"            
    }
    "STEAM_0:0:24871984" // Panic Attack
    {
        "file"    "connect/panik.mp3" 
        "exit"    "connect/servus.mp3" 
        "text"    "#green (RocKs|Panick_ATTACK) #lightgreen ACHTUNG !!! ACHTUNG ADMIN !!!  !!!"    
        "etext"    "#green (RocKs|Panick_ATTACK) #lightgreen !!! ACHTUNG ADMIN !!! Tschuess bis zum nächsten mal"    
        "admin"    "1"
        "volume" "1.0"            
    }
    "STEAM_0:1:22247335" // I kill you
    {
        "file"    "connect/ikillyou.mp3" 
        "exit"    "connect/servus.mp3" 
        "text"    "#green (RocKs|I_KILL_YOU) #lightgreen ACHTUNG !!! ACHTUNG ADMIN !!!  !!!"    
        "etext"    "#green (RocKs|I_KILL_YOU) #lightgreen !!! ACHTUNG ADMIN !!! Der Lychenner sagt Tschuess"    
        "admin"    "1"
        "volume" "1.0"            
    }
    "STEAM_0:1:5395394" // Bloodhand
    {
        "file"    "" 
        "exit"    "connect/servus.mp3" 
        "text"    "#green (RocKs|Bloodhand) #lightgreen !!! ACHTUNG ADMIN !!! Tschuess bis zum nächsten mal"    
        "etext"    "#green (RocKs|Bloodhand) #lightgreen !!! ACHTUNG ADMIN !!! Tschuess bis zum nächsten mal"    
        "admin"    "0"
        "volume" "1.0"            
    }
    "STEAM_0:1:1162024" // Freaki
    {
        "file"    "connect/freaki.mp3" 
        "exit"    "connect/servus.mp3"
        "text"    "#green (RocKs|Freaki) #lightgreen ACHTUNG !!! ACHTUNG ADMIN !!!  !!!"    
        "etext"    "#green (RocKs|Freaki) #lightgreen !!! ACHTUNG ADMIN !!! Tschuess bis zum nächsten mal"    
        "admin"    "1"
        "volume" "1.0"            
    }
    "STEAM_0:0:5350500" // user
    {
        "file"    "connect/user.mp3" 
        "exit"    "connect/servus.mp3" 
        "text"    "#green (RocKs|user) #lightgreen ACHTUNG !!! ACHTUNG ADMIN !!! +++ PARTY ALARM +++ !!!"    
        "etext"    "#green (RocKs|user) #lightgreen !!! ACHTUNG ADMIN !!! Tschuess bis zum nächsten mal"    
        "admin"    "1"
        "volume" "1.0"            
    }
    "STEAM_0:0:22011549" // error911
    {
        "file"    "connect/error911.mp3" 
        "exit"    "connect/servus.mp3" 
        "text"    "#green (RocKs|error911) #lightgreen ACHTUNG !!! ACHTUNG ADMIN !!!  !!"    
        "etext"    "#green (RocKs|error911) #lightgreen !!! ACHTUNG ADMIN !!! Tschuess bis zum nächsten mal"    
        "admin"    "1"
        "volume" "1.0"            
    }
    "STEAM_0:0:26408448" // Yango
    {
        "file"    "connect/yango2.mp3" 
        "exit"    "connect/servus.mp3" 
        "text"    "#green (RocKs|Yango) #lightgreen ACHTUNG !!! ACHTUNG ADMIN !!!  !!"    
        "etext"    "#green (RocKs|Yango) #lightgreen !!! ACHTUNG ADMIN !!! Tschuess bis zum nächsten mal"    
        "admin"    "1"
        "volume" "1.0"            
    }
    "STEAM_0:1:33597831" // karamba
    {
        "file"    "connect/nihilanthneu.mp3" 
        "exit"    "connect/servus.mp3" 
        "text"    "#green (RocKs|Nihilanth) #lightgreen ACHTUNG !!! ACHTUNG ADMIN !!!  !!"    
        "etext"    "#green (RocKs|Nihilanth) #lightgreen !!! ACHTUNG ADMIN !!! Tschuess bis zum nächsten mal"    
        "admin"    "0"
        "volume" "1.0"            
    }
    "STEAM_0:0:25407064" // skilli
    {
        "file"    "connect/$killi1.mp3" 
        "exit"    "connect/servus.mp3" 
        "text"    "#green (RocKs|Skilli) #lightgreen ACHTUNG !!! ACHTUNG ADMIN !!!  !!"    
        "etext"    "#green (RocKs|Skilli) #lightgreen !!! ACHTUNG ADMIN !!! Tschuess bis zum nächsten mal"    
        "admin"    "1"
        "volume" "1.0"            
    }
    "STEAM_0:1:20033237" // germane
    {
        "file"    "connect/germane.mp3" 
        "exit"    "connect/servus.mp3" 
        "text"    "#green (RocKs|Germane) #lightgreen ACHTUNG !!! ACHTUNG ADMIN !!!  !!"    
        "etext"    "#green (RocKs|Germane) #lightgreen !!! ACHTUNG ADMIN !!! Tschuess bis zum nächsten mal"    
        "admin"    "0"
        "volume" "1.0"            
    }
    "STEAM_0:1:13818511" // tonimontana
    {
        "file"    "connect/tony1.mp3" 
        "exit"    "connect/servus.mp3" 
        "text"    "#green (RocKs|Tonimontana) #lightgreen ACHTUNG !!! ACHTUNG ADMIN !!!  !!"    
        "etext"    "#green (RocKs|Tonimontana) #lightgreen !!! ACHTUNG ADMIN !!! Tschuess bis zum nächsten mal"    
        "admin"    "0"
        "volume" "1.0"            
    }
    "STEAM_0:0:24618739" // RiDDick
        "file"    "connect/riddick.mp3" 
        "exit"    "connect/servus.mp3" 
        "text"    "#green (RocKs|RiDDick) #lightgreen ACHTUNG !!! ACHTUNG ADMIN !!!  !!"    
        "etext"    "#green (RocKs|RiDDick) #lightgreen !!! ACHTUNG ADMIN !!! Tschuess bis zum nächsten mal"    
        "admin"    "1"
        "volume" "1.0"        
    }
    // #### Say Sounds ####
    // Funsounds----------------------------------------------------------------------
            "baby"  
    {
        "file"    "fightforfun/baby.mp3" //"file" is always there, next is the filepath (always starts with "sound/")
        "admin"    "0"    //1 is admin only, 0 is anyone (defaults is 0)
        "delay" "0" // will delay the sound by 5 seconds (max delay 60 seconds)
        "adult" "0" //will announce the sound as ADULT SOUND, hide it from the sounds menu, block the chat output (defaults is 0)
        "download" "1"    //1 to download the sounds, 0 to not download (default is 1)
        "duration" "0.0" // duration of the sound in seconds (default is 0.0)
    }    
        "365"
    {
        "file"    "admin_plugin/rocks/365.mp3"
    }
    "aaa"
    {
        "file"    "admin_plugin/rocks/aaa.mp3"
    }
    "affe"
    {
        "file"    "admin_plugin/rocks/affe.mp3"
    }
    "afk"
    {
        "file"    "admin_plugin/rocks/afk.wav"
    }
    "aua"
    {
        "file"    "admin_plugin/rocks/aua.mp3"
    }
    "aura"
    {
        "file"    "admin_plugin/rocks/aura.mp3"
    }
    "baby"
    {
        "file"    "admin_plugin/rocks/baby.mp3"
    }
    "bb"
    {
        "file"    "admin_plugin/rocks/bb.mp3"
    }
    "bekloppt"
    {
        "file"    "admin_plugin/rocks/bekloppt.mp3"
    }
    "blamage"
    {
        "file"    "admin_plugin/rocks/blamage.mp3"
    }
    "blau"
    {
        "file"    "admin_plugin/rocks/blau.mp3"
    }
    "blicken"
    {
        "file"    "admin_plugin/rocks/blicken.mp3"
    }
    "burste"
    {
        "file"    "admin_plugin/rocks/burste.mp3"
    }
    "cheater"
    {
        "file"    "admin_plugin/rocks/cheater.mp3"
    }
    "chima"
    {
        "file"    "admin_plugin/rocks/chima.mp3"
    }
    "city"
    {
        "file"    "admin_plugin/rocks/city.mp3"
    }
    "city1"
    {
        "file"    "admin_plugin/rocks/city1.mp3"
    }
    "clint"
    {
        "file"    "admin_plugin/rocks/clint.mp3"
    }
    "cry"
    {
        "file"    "admin_plugin/rocks/cry.mp3"
    }
    "cu"
    {
        "file"    "admin_plugin/rocks/cu.wav"
    }
    "cya"
    {
        "file"    "admin_plugin/rocks/cya.mp3"
    }
    "danke"
    {
        "file"    "admin_plugin/rocks/danke.mp3"
    }
    "day"
    {
        "file"    "admin_plugin/rocks/day.mp3"
    }
    "dock"
    {
        "file"    "admin_plugin/rocks/dock1.mp3"
    }
    "doch"
    {
        "file"    "admin_plugin/rocks/doch.mp3"
    }
    "drs"
    {
        "file"    "admin_plugin/rocks/drs.mp3"
    }
    "explode"
    {
        "file"    "admin_plugin/rocks/explode.mp3"
    }
    "fehlt"
    {
        "file"    "admin_plugin/rocks/fehlt.mp3"
    }
    "flieg"
    {
        "file"    "admin_plugin/rocks/flieg.mp3"
    }
    "flower"
    {
        "file"    "admin_plugin/rocks/flower.mp3"
    }
    "freunde"
    {
        "file"    "admin_plugin/rocks/freunde.mp3"
    }
    "fu"
    {
        "file"    "admin_plugin/rocks/fu.mp3"
    }
    "fuck"
    {
        "file"    "admin_plugin/rocks/fuck.mp3"
    }
    "gb"
    {
        "file"    "admin_plugin/rocks/gb.mp3"
    }
    "gg"
    {
        "file"    "admin_plugin/rocks/gg.mp3"
    }
    "gr"
    {
        "file"    "admin_plugin/rocks/gr.mp3"
    }
    "hacker"
    {
        "file"    "admin_plugin/rocks/hacker.mp3"
    }
    "haha"
    {
        "file"    "admin_plugin/rocks/haha.mp3"
    }
    "hallo"
    {
        "file"    "admin_plugin/rocks/hallo.mp3"
    }
    "hehe"
    {
        "file"    "admin_plugin/rocks/hehe.mp3"
    }
    "hello"
    {
        "file"    "admin_plugin/rocks/hello.mp3"
    }
    "hi"
    {
        "file"    "admin_plugin/rocks/hi.mp3"
    }
    "hihi"
    {
        "file"    "admin_plugin/rocks/hihi.mp3"
    }
    "hoho"
    {
        "file"    "admin_plugin/rocks/hoho.mp3"
    }
    "ja"
    {
        "file"    "admin_plugin/rocks/ja.mp3"
    }
    "jaja"
    {
        "file"    "admin_plugin/rocks/jaja.mp3"
    }
    "jaw"
    {
        "file"    "admin_plugin/rocks/jaw.mp3"
    }
    "jep"
    {
        "file"    "admin_plugin/rocks/jep.mp3"
    }
    "juhu"
    {
        "file"    "admin_plugin/rocks/juhu.mp3"
    }
    "ka"
    {
        "file"    "admin_plugin/rocks/ka.mp3"
    }
    "kacker"
    {
        "file"    "admin_plugin/rocks/kacker.mp3"
    }
    "kbad"
    {
        "file"    "admin_plugin/rocks/kbad.mp3"
    }
    "killer"
    {
        "file"    "admin_plugin/rocks/killer.mp3"
    }
    "komm"
    {
        "file"    "admin_plugin/rocks/komm.mp3"
    }
    "kotzen"
    {
        "file"    "admin_plugin/rocks/kotzen.mp3"
    }
    "level"
    {
        "file"    "admin_plugin/rocks/level.mp3"
    }
    "lol"
    {
        "file"    "admin_plugin/rocks/lol.mp3"
    }
    "lool"
    {
        "file"    "admin_plugin/rocks/lool.wav"
    }
    "maybe"
    {
        "file"    "admin_plugin/rocks/maybe.mp3"
    }
    "memme"
    {
        "file"    "admin_plugin/rocks/memme.mp3"
    }
    "mf"
    {
        "file"    "admin_plugin/rocks/mf.mp3"
    }
    "minen"
    {
        "file"    "admin_plugin/rocks/minen.mp3"
    }
    "moin"
    {
        "file"    "admin_plugin/rocks/moin.mp3"
    }
    "monsters"
    {
        "file"    "admin_plugin/rocks/monsters.mp3"
    }
    "moo"
    {
        "file"    "admin_plugin/rocks/moo.mp3"
    }
    "morning"
    {
        "file"    "admin_plugin/rocks/morning.mp3"
    }
    "n1"
    {
        "file"    "admin_plugin/rocks/n1.mp3"
    }
    "nabend"
    {
        "file"    "admin_plugin/rocks/nabend.mp3"
    }
    "nach"
    {
        "file"    "admin_plugin/rocks/nach.mp3"
    }
    "nein"
    {
        "file"    "admin_plugin/rocks/nein.mp3"
    }
    "nice"
    {
        "file"    "admin_plugin/rocks/nice.mp3"
    }
    "nm"
    {
        "file"    "admin_plugin/rocks/nm.mp3"
    }
    "np"
    {
        "file"    "admin_plugin/rocks/np.mp3"
    }
    "ns"
    {
        "file"    "admin_plugin/rocks/ns.mp3"
    }
    "ns1"
    {
        "file"    "admin_plugin/rocks/ns1.mp3"
    }
    "ns2"
    {
        "file"    "admin_plugin/rocks/ns2.mp3"
    }
    "ns3"
    {
        "file"    "admin_plugin/rocks/ns3.mp3"
    }
    "offspring"
    {
        "file"    "admin_plugin/rocks/offspring.mp3"
    }
    "ok"
    {
        "file"    "admin_plugin/rocks/ok.mp3"
    }
    "olm"
    {
        "file"    "admin_plugin/rocks/olm.mp3"
    }
    "omg"
    {
        "file"    "admin_plugin/rocks/omg.mp3"
    }
    "pain"
    {
        "file"    "admin_plugin/rocks/pain.mp3"
    }
    "pissen"
    {
        "file"    "admin_plugin/rocks/pissen.mp3"
    }
    "pump"
    {
        "file"    "admin_plugin/rocks/pump.wav"
    }
    "ramba"
    {
        "file"    "admin_plugin/rocks/ramba.mp3"
    }
    "richtig"
    {
        "file"    "admin_plugin/rocks/richtig.mp3"
    }
    "rofl"
    {
        "file"    "admin_plugin/rocks/rofl.mp3"
    }
    "sack"
    {
        "file"    "admin_plugin/rocks/sackdu.mp3"
    }
    "sag"
    {
        "file"    "admin_plugin/rocks/sag.mp3"
    }
    "sani"
    {
        "file"    "admin_plugin/rocks/sani.mp3"
    }
    "sau"
    {
        "file"    "admin_plugin/rocks/sau.mp3"
    }
    "sau2"
    {
        "file"    "admin_plugin/rocks/sau2.mp3"
    }
    "schei"
    {
        "file"    "admin_plugin/rocks/schei.mp3"
    }
    "schlafen"
    {
        "file"    "admin_plugin/rocks/schlafen.mp3"
    }
    "schuss"
    {
        "file"    "admin_plugin/rocks/schuss.mp3"
    }
    "schwein"
    {
        "file"    "admin_plugin/rocks/schwein.mp3"
    }
    "schweine"
    {
        "file"    "admin_plugin/rocks/schweine.mp3"
    }
    "send"
    {
        "file"    "admin_plugin/rocks/send.mp3"
    }
    "shoot"
    {
        "file"    "admin_plugin/rocks/shoot.mp3"
    }
    "snow"
    {
        "file"    "admin_plugin/rocks/snow.mp3"
    }
    "snow2"
    {
        "file"    "admin_plugin/rocks/snow2.mp3"
    }
    "soo"
    {
        "file"    "admin_plugin/rocks/soo.mp3"
    }
    "spass"
    {
        "file"    "admin_plugin/rocks/spass.mp3"
    }
    "spawn"
    {
        "file"    "admin_plugin/rocks/spawn.mp3"
    }
    "spray"
    {
        "file"    "admin_plugin/rocks/spray.mp3"
    }
    "studi"
    {
        "file"    "admin_plugin/rocks/studi.mp3"
    }
    "summer"
    {
        "file"    "admin_plugin/rocks/summer.mp3"
    }
    "thx"
    {
        "file"    "admin_plugin/rocks/thx.mp3"

    }
    "treck"
    {
        "file"    "admin_plugin/rocks/treck.mp3"
    }
    "ty"
    {
        "file"    "admin_plugin/rocks/ty.mp3"
    }
    "type"
    {
        "file"    "admin_plugin/rocks/type.mp3"
    }
    "ups"
    {
        "file"    "admin_plugin/rocks/ups.mp3"
    }
    "wallhacker"
    {
        "file"    "admin_plugin/rocks/wallhacker.mp3"
    }
    "wer"
    {
        "file"    "admin_plugin/rocks/wer.mp3"
    }
    "werlacht"
    {
        "file"    "admin_plugin/rocks/werlacht.mp3"
    }
    "whist"
    {
        "file"    "admin_plugin/rocks/whist.mp3"
    }
    "win"
    {
        "file"    "admin_plugin/rocks/win.mp3"
    }
    "wo"
    {
        "file"    "admin_plugin/rocks/wo.mp3"
    }
    "wtf"
    {

        "file"    "admin_plugin/rocks/wtf.mp3"
    }
    "wtf1"
    {
        "file"    "admin_plugin/rocks/wtf1.mp3"
    }
    "wtf2"
    {
        "file"    "admin_plugin/rocks/wtf2.mp3"
    }
    "wtf3"
    {
        "file"    "admin_plugin/rocks/wtf3.mp3"
    }
    "zaehne"
    {
        "file"    "admin_plugin/rocks/zaehne.mp3"
    }
    "zigi"
    {
        "file"    "admin_plugin/rocks/zigipause.mp3"
    }
// #### KARAOKE ####
    "somesong"   for Karaoke
    {
        "file"    "misc/somesong.wav"
        "karaoke" "somesong.cfg" // name of config file for karaoke lyrics
    }
    "doh"  // Minimum configuration for sounds
    {
        "file"    "misc/doh.wav"    // This will set all other options to default values
    }
    // ####FernFerret####
    // ####Action Sounds####
    // New Section showing how to use Action Sounds Extention
    // New Parameters:
    //    - actiononly    If this variable is set to 1, the sound cannot be 
    //                     played by a menu or a client typing
    //    - action        If the action filled in here is performed, the sound will play
    //    - param            The best way to think of param is "Play Sound if [ACTION] with [PARAM]"
    //    *                 Some examples are Flag events**, or weapons***
    //    - prob            The probability of a sound playing, if you want a sound to play 20% of the time
    //    *                 the fill in prob as ".2" or the percentage divided by 100
    //    - playto        Play kill events to clients/teams
    //    *                attacker - plays the sound to the attacker
    //    *                victim - plays the sound to the victim
    //    *                both - plays the sound to the attacker and the victim
    //    *                ateam - plays the sound to the attacker team
    //    *                vteam - plays the sound to the victim team
    //  - Some examples:
    //
    "rocket" //This example plays a random sound to the victim if he gets killed with a TF2 rocket launcher.
    {
        "file"    "misc/saysound/rocket1.mp3"
        "file2"    "misc/saysound/rocket2.mp3"
        "file3"    "misc/saysound/rocket3.mp3"
        "count"    "3"
        "admin"    "1"
        "actiononly"    "1"
        "action"    "kill"
        "param"    "tf_projectile_rocket"
        "playto"    "victim"
    }
    "invincible"
    {
        "file"    "admin_plugin/invincible.wav"
        "admin"    "1"
        "actiononly" "1"
        "action"    "uber"
        // Note: If the action is uber, you do not need param
        // Prob is assumed 1 or 100% if nothing is provied
    }
    "lightmyfire"
    {
        "file"    "admin_plugin/lmf.wav"
        "admin"    "1"
        "actiononly" "1"
        "action"    "kill"
        "param"        "flamethrower"
        "prob"        ".05"
    }
}
painkiller is offline
painkiller
Senior Member
Join Date: Jun 2011
Old 03-30-2017 , 10:53   Re: Say Sounds (including Hybrid Edition) (4.0.8)
Reply With Quote #1236

All ok i have a Syntax Error in the script.
Now its work.
painkiller is offline
M3Power
Member
Join Date: Apr 2017
Old 04-27-2017 , 17:22   Re: Say Sounds (including Hybrid Edition) (4.0.8)
Reply With Quote #1237

How to set delay for "Word trigger"? Like you can see on my screenshot it is a delay of a 2 seconds I think, but I'd like it to be more. For example 60 seconds or even better 1 sound per round only. How to do that?



This is the code for a word trigger "choppa":

Code:
	"choppa"  // Word trigger to randomly select 1 of multiple sounds
	{
		"file"	"misc/choppa.wav"	// name of the 1st option, can also be "file1"
		"count"	"1"		// number of sounds (default is 1)
		"volume" "0.5" 		// Specify volume for this specific sound
	}

Kind regards.

Last edited by M3Power; 04-27-2017 at 17:23.
M3Power is offline
Superxd92
New Member
Join Date: Apr 2017
Old 04-30-2017 , 17:09   Re: Say Sounds (including Hybrid Edition) (4.0.8)
Reply With Quote #1238

Greetings.
I am experiencing an unusual issue on one of my servers: the plugin only works properly shortly after I restart the server. As soon as the map changes, everything seems to work the way it's supposed to, except for the fact that no sounds are played. The console didn't reveal any errors, and reloading or refreshing the plugin will do nothing. Has anyone gone through this before? I am using the latest version of the plugin, and it seems that everything is placed where it should be, and the cfg's work fine.

Thanks in advance.

Last edited by Superxd92; 04-30-2017 at 17:10.
Superxd92 is offline
Kosyne
New Member
Join Date: Sep 2014
Old 05-05-2017 , 14:44   Re: Say Sounds (including Hybrid Edition) (4.0.8)
Reply With Quote #1239

I'm running into an issue where I want to have a separate time between sounds for admins (4.5 seconds) and users (15 secons)... however, the user's llimit (15) applies to everyone, even admins.

The game in question is PVKII. The problem happens even when activating say sounds from the sm_admin menu.

Here's my sm_saysounds.cfg:


Code:
//////////////////////////////////
//		***	GENERAL	***			//
//////////////////////////////////

// Turns Sounds On/Off
// -
// Default: "1"
sm_saysoundhe_enable "1"

// Number of sounds to download per map start (-1=unlimited).
// -
// Default: "-1"
sm_saysoundhe_download_threshold "-1"

// Number of sounds to precache on map start (-1=unlimited).
// -
// Default: "0"
sm_saysoundhe_sound_threshold "0"

// 1 To show menu to users, 0 to hide menu from users (admins excluded)
// -
// Default: "1"
sm_saysoundhe_showmenu "1"

// Volume setting for Say Sounds (0.0 <= x <= 1.0)
// -
// Default: "1.0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_saysoundhe_saysounds_volume "1.0"

// Turns on announcements when a sound is played
// -
// Default: "1"
sm_saysoundhe_sound_announce "1"

// Announce played adult sounds? | 0 = off 1 = on
// -
// Default: "0"
sm_saysoundhe_adult_announce "0"

// If set, block the sound trigger to be displayed in the chat window
// -
// Default: "0"
sm_saysoundhe_block_trigger "0"

// When set, allows clients that have turned their sounds off to trigger sounds (0=off | 1=on)
// -
// Default: "0"
sm_saysoundhe_play_cl_snd_off "0"

// When set, will trigger sounds if keyword is embedded in a sentence
// -
// Default: "0"
sm_saysoundhe_sound_sentence "0"

// If set, don't allow to play a sound that was recently played
// -
// Default: "0"
sm_saysoundhe_excl_last_sound "0"

// If set, alive players do not hear sounds triggered by dead players
// -
// Default: "0"
sm_saysoundhe_filter_if_dead "0"

// If set, interrupt the current sound when a new start
// -
// Default: "0"
sm_saysoundhe_interrupt_sound "0"

// User flags that are allowed to stop a sound
// -
// Default: ""
sm_saysoundhe_stop_flags "z"

// User flags that are allowed to access the configuration menu
// -
// Default: ""
sm_saysoundhe_confmenu_flags "z"

// Time between each sound trigger, 0.0 to disable checking
// -
// Default: "4.5"
sm_saysoundhe_time_between_sounds "15"

// Time between each admin sound trigger, 0.0 to disable checking for admin sounds
// Set to -1 to completely bypass the soundspam protection for admins
// -
// Default: "4.5"
sm_saysoundhe_time_between_admin_sounds "4.5"

// User flags to bypass the Time between sounds check
// -
// Default: ""
sm_saysoundhe_time_between_flags ""

// When set, will log sounds that are played
// -
// Default: "0"
sm_saysoundhe_sound_logging "0"


//////////////////////////////////
//		***	LIMITS	***			//
//////////////////////////////////

// If set, sm_saysoundhe_sound_limit is the limit per round instead of per map
// -
// Default: "0"
sm_saysoundhe_limit_sound_per_round "0"

// Maximum sounds per ADMIN (0 for unlimited)
// -
// Default: "0"
sm_saysoundhe_sound_admin_limit "0"

// Maximum sounds per PLAYER (0 for unlimited)
// -
// Default: "5"
sm_saysoundhe_sound_limit "15"

// User flags that will result in unlimited sounds
// -
// Default: ""
sm_saysoundhe_sound_flags "a"

// Flag(s) that will have a seperate sound limit
// -
// Default: ""
sm_saysoundhe_flags ""

// Maximum sounds per person with the corresponding flag (0 for unlimited)
// -
// Default: "5"
sm_saysoundhe_flags_limit "5"

// If set, stores sound counts when clients leave and loads them when they join.
// -
// Default: "1"
sm_saysoundhe_track_disconnect "1"


//////////////////////////////////
//		***	WARNINGS ***		//
//////////////////////////////////

// Number of sounds to warn ADMIN at (0 for no warnings)
// -
// Default: "0"
sm_saysoundhe_sound_admin_warn "0"

// Number of sounds to warn PLAYER at (0 for no warnings)
// -
// Default: "3"
sm_saysoundhe_sound_warn "10"


//////////////////////////////////
//		***	Join Sounds	***		//
//////////////////////////////////

// Play sounds when someone joins or exits the game
// -
// Default: "1"
sm_saysoundhe_join_exit "1"

// Wait until the player spawns before playing the join sound
// -
// Default: "1"
sm_saysoundhe_join_spawn "1"

// Play sounds when specific steam ID joins or exits the game
// -
// Default: "1"
sm_saysoundhe_specific_join_exit "1"


//////////////////////////////////
//		***	Karaoke	***			//
//////////////////////////////////

// Delay before playing a Karaoke song
// -
// Default: "15.0"
sm_saysoundhe_karaoke_delay "15.0"
Any help would be greatly appreciated.
Kosyne is offline
GrO
Veteran Member
Join Date: Jun 2010
Location: Poland
Old 05-06-2017 , 02:11   Re: Say Sounds (including Hybrid Edition) (4.0.8)
Reply With Quote #1240

Quote:
Originally Posted by Kosyne View Post
I'm running into an issue where I want to have a separate time between sounds for admins (4.5 seconds) and users (15 secons)... however, the user's llimit (15) applies to everyone, even admins.

The game in question is PVKII. The problem happens even when activating say sounds from the sm_admin menu.

Here's my sm_saysounds.cfg:


sm_saysounds.cfg


Any help would be greatly appreciated.
1) What are your admin flag(s)?

2) Do you use any overrides in SM?
__________________

Last edited by GrO; 05-06-2017 at 02:11.
GrO is offline
Reply


Thread Tools
Display Modes

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 01:36.


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