Raised This Month: $ Target: $400
 0% 

Say Sounds (including Hybrid Edition) (4.0.8)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
PUGSEXY
Junior Member
Join Date: Jun 2009
Plugin ID:
685
Plugin Version:
4.0.8
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    254 
    Plugin Description:
    Play sounds for different game events, with chat triggers or have a karaoke party
    Old 06-11-2009 , 10:05   Re: Say Sounds (including Hybrid Edition) (3.1.5)
    Reply With Quote #1

    Quote:
    Originally Posted by psychonic View Post
    Make sure "saysounds.cfg" is in your addons/sourcemod/configs/ directory.
    I do! That's the thing that's driving me insane nick! lmao.

    Is it possible that I have the flie set up incorrectly? Because the only thing is says in the folder is...


    "Sound Combinations"

    "traind"
    {
    "file" "saysound/train.mp3"
    "actiononly" "1"
    "download" "1"
    "action" "hit_by_train"
    "param" "hit_by_train"
    "prob" "1"
    }


    Do I need any other commands in the folder?

    Worst comes to worse man, I know you...if I give you my server password, would you want to take a look at it? Might be easier for ya.
    PUGSEXY is offline
    theowl
    Junior Member
    Join Date: Jun 2009
    Old 06-11-2009 , 16:37   Re: Say Sounds (including Hybrid Edition) (3.1.5)
    Reply With Quote #2

    I'm having a problem here too, maybe someone can help me narrow it down. I compiled the latest souce with 1.3, I have TF2 on a Win2k3 server, I have an mp3 uploaded to tf/sound/admin and the fastdl. When I connect as a client, it downloads the mp3 correctly. Right now my config file is to debug this so only:

    "Sound Combinations"
    {
    "suddendeath"
    {
    "file" "admin/sd.mp3"
    "download" "1"
    "delay" "5.0"
    "volume" "1.0"
    "actiononly" "0"
    "action" "suddendeathstart"
    "param" "suddendeathstart"
    }
    }

    "!adminsounds" lists "suddendeath" - if I click it, "Failed to load sound "admin\sd.mp3" However, the file is absolutely there, playable and downloaded when I connected. It's taken from another server of mine where it plays fine with sm_play and others.

    I am using "Sudden Death Melee Redux" and am hoping it still triggers with this plugin. I tried waiting out to a SD and I also tried a "force stalemate" sudden death - neither play it. However, I would think that if this was the problem then it'd play fine from the menu, right?

    EDIT: I changed the file to "commentary/tf2-comment000.wav," which is already in the game, and now the file DOES play if I select it from the menu. It still does NOT trigger at a Sudden Death. Would this Sudden Death Melee Redux plugin change the SD event in some way that it wouldn't work? I still don't know why my .mp3 wouldn't work. I even tried moving the file to the "commentary" directory (in case it's something messy with permissions through Plesk) and though it downloads to my computer - and I can play the .mp3 both on the server and on my computer, I get: "Failed to load sound "commentary\sd.mp3", file probably missing from disk/repository" ...??

    Last edited by theowl; 06-11-2009 at 18:00.
    theowl is offline
    PUGSEXY
    Junior Member
    Join Date: Jun 2009
    Old 06-11-2009 , 17:25   Re: Say Sounds (including Hybrid Edition) (3.1.5)
    Reply With Quote #3

    I went to play a sound and I got this error message


    Failed to load sound "saysound\train.mp3", file probably missing from disk/repository

    Last edited by PUGSEXY; 06-11-2009 at 20:58.
    PUGSEXY is offline
    belgvr
    Member
    Join Date: Dec 2008
    Location: Brazil
    Old 12-30-2010 , 20:32   Re: Say Sounds (including Hybrid Edition) (3.2.5)
    Reply With Quote #4

    in parts, it works.
    i got 2 issues:
    1- nobody can download or hear the sounds, but i can...
    2- my STEAM ID sounds are not playing, everything is correct... why?
    belgvr is offline
    Roundcat
    Senior Member
    Join Date: Feb 2012
    Old 06-09-2012 , 09:03   Re: Say Sounds (including Hybrid Edition) (4.0.5)
    Reply With Quote #5

    Hi - thansk for this plugin - its really popular. I have a few questions though...

    1) is there a log somewhere of who has played a sound and which sound it was? I have enabled it to do so in the options but cant find a log.

    2) can I make it that only players with admin or donators flags (o) can play sounds do I set: sm_saysoundhe_sound_limit "-1" for example?

    Thanks for you help!
    __________________
    I know not my ar*e from its elbow.
    Roundcat is offline
    SmackDaddy
    Veteran Member
    Join Date: Oct 2009
    Old 07-01-2012 , 19:14   Re: Say Sounds (including Hybrid Edition) (4.0.5)
    Reply With Quote #6

    Quote:
    Originally Posted by Roundcat View Post
    can I make it that only players with admin or donators flags (o) can play sounds do I set: sm_saysoundhe_sound_limit "-1" for example?

    Thanks for you help!
    You could make all your sounds "ADMIN" sounds and then there'd be only sounds for admins/donors....wouldn't that "fix" the issue? It's what we plan on doing....no regular sounds, but all the sounds all set to "admins"
    SmackDaddy is offline
    Roundcat
    Senior Member
    Join Date: Feb 2012
    Old 07-08-2012 , 05:10   Re: Say Sounds (including Hybrid Edition) (4.0.5)
    Reply With Quote #7

    Quote:
    Originally Posted by SmackDaddy View Post
    You could make all your sounds "ADMIN" sounds and then there'd be only sounds for admins/donors....wouldn't that "fix" the issue? It's what we plan on doing....no regular sounds, but all the sounds all set to "admins"
    Thanks for getting back to me. I want reg/visitors to have 5 songs, donators to have 10 songs and admins unlimited songs.

    At the moment I guess I'll make it so only donators and admins get songs and try and restrict the use of the soundlist menu to a specific flag using another command restrict plugin.

    Any suggestions?
    __________________
    I know not my ar*e from its elbow.
    Roundcat is offline
    hellomoto
    Member
    Join Date: Sep 2006
    Old 08-21-2012 , 07:07   Re: Say Sounds (including Hybrid Edition) (4.0.5)
    Reply With Quote #8

    Hi, I am having an issue where disabling the checking of the last time someone used a sound is still preventing sounds from being played after a few seconds.

    Example. If I type these in right after one another, I get a message:

    WAZZA - plays the sound
    HI - [Say Sounds] Please Don't Spam the Sounds!
    WAZZA - [Say Sounds] Please Don't Spam the Sounds!
    WAZZA - [Say Sounds] Please Don't Spam the Sounds!
    WAZZA - [Say Sounds] Please Don't Spam the Sounds!
    WAZZA - plays the sound

    Here's my sm_saysounds.cfg file settings for this issue:
    Code:
    //////////////////////////////////
    //        ***    GENERAL    ***            //
    //////////////////////////////////
    
    // 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 "0.0"
    
    // Time between each sound trigger, 0.0 to disable checking
    // -
    // Default: "4.5"
    sm_saysoundhe_time_between_sounds "0.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 "30"
    
    //////////////////////////////////
    //        ***    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 "25"
    What could I be doing wrong? I tried to edit the default settings in the saysounds.sp file, but when I try to recompile the plugin, it gives me an error that says, "Your plugin failed to compile!."
    Code:
    /home/groups/sourcemod/upload_tmp/phpdOIXSQ.sp(50) : fatal error 120: cannot read from file: "soundlib"  Compilation aborted. 1 Error.
    Any idea how to get this plugin to recompile?
    hellomoto is offline
    FuhrerMike
    Member
    Join Date: Dec 2007
    Old 08-23-2012 , 06:34   Re: Say Sounds (including Hybrid Edition) (4.0.5)
    Reply With Quote #9

    Quote:
    Originally Posted by hellomoto View Post
    Hi, I am having an issue where disabling the checking of the last time someone used a sound is still preventing sounds from being played after a few seconds.

    Example. If I type these in right after one another, I get a message:

    WAZZA - plays the sound
    HI - [Say Sounds] Please Don't Spam the Sounds!
    WAZZA - [Say Sounds] Please Don't Spam the Sounds!
    WAZZA - [Say Sounds] Please Don't Spam the Sounds!
    WAZZA - [Say Sounds] Please Don't Spam the Sounds!
    WAZZA - plays the sound
    I had a similar issue before, those cvars were being executed in another config file, effectively making mine revert. Here's my cvars now if it helps.

    Code:
    sm_saysoundhe_enable "1"
    sm_saysoundhe_sound_warn "15"
    sm_saysoundhe_sound_limit "20"
    sm_saysoundhe_join_exit "0"
    sm_saysoundhe_join_spawn "0"
    sm_saysoundhe_specific_join_exit "0"
    sm_saysoundhe_time_between_sounds "0.0"
    sm_saysoundhe_time_between_admin_sounds "0.0"
    sm_saysoundhe_sound_admin_warn "0"
    sm_saysoundhe_sound_admin_limit "0"
    sm_saysoundhe_sound_announce "1"
    sm_saysoundhe_sound_sentence "0"
    sm_saysoundhe_sound_logging "0"
    sm_saysoundhe_play_cl_snd_off "0"
    sm_saysoundhe_karaoke_delay "15.0"
    sm_saysoundhe_showmenu "1"
    sm_saysoundhe_saysounds_volume "1.0"
    sm_saysoundhe_block_trigger "0"
    sm_saysoundhe_excl_last_sound "0"
    sm_saysoundhe_limit_sound_per_round "0"
    sm_saysoundhe_download_threshold "-1"
    sm_saysoundhe_adult_announce "0"
    sm_saysoundhe_interrupt_sound "0"
    sm_saysoundhe_filter_if_dead "0"
    I'm having problems of my own with this plugin now too, although steam seems to have fixed the stringtables on vanilla servers, mine is still crashing left and right with this plugin enabled. Now I know the sounds aren't being played 321+ times per map so they must ALL be getting precached. I really need a way to disable this and make them cache on demand to mitigate crashing!
    FuhrerMike is offline
    hellomoto
    Member
    Join Date: Sep 2006
    Old 08-24-2012 , 07:41   Re: Say Sounds (including Hybrid Edition) (4.0.5)
    Reply With Quote #10

    [QUOTE=FuhrerMike;1779978]I had a similar issue before, those cvars were being executed in another config file, effectively making mine revert. Here's my cvars now if it helps.

    Code:
    sm_saysoundhe_enable "1"
    sm_saysoundhe_sound_warn "15"
    sm_saysoundhe_sound_limit "20"
    sm_saysoundhe_join_exit "0"
    sm_saysoundhe_join_spawn "0"
    sm_saysoundhe_specific_join_exit "0"
    sm_saysoundhe_time_between_sounds "0.0"
    sm_saysoundhe_time_between_admin_sounds "0.0"
    sm_saysoundhe_sound_admin_warn "0"
    sm_saysoundhe_sound_admin_limit "0"
    sm_saysoundhe_sound_announce "1"
    sm_saysoundhe_sound_sentence "0"
    sm_saysoundhe_sound_logging "0"
    sm_saysoundhe_play_cl_snd_off "0"
    sm_saysoundhe_karaoke_delay "15.0"
    sm_saysoundhe_showmenu "1"
    sm_saysoundhe_saysounds_volume "1.0"
    sm_saysoundhe_block_trigger "0"
    sm_saysoundhe_excl_last_sound "0"
    sm_saysoundhe_limit_sound_per_round "0"
    sm_saysoundhe_download_threshold "-1"
    sm_saysoundhe_adult_announce "0"
    sm_saysoundhe_interrupt_sound "0"
    sm_saysoundhe_filter_if_dead "0"
    I verified all of mine match with what you have, but it still gives me the same messages. Could it just be calling one of these cvars twice in the plugin file itself? If so, how do I recompile this with the whole soundlib does not exist error I keep getting?
    hellomoto 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 09:23.


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