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

Mapchooser Extended Sounds (Updated 2011-11-03)


Post New Thread Reply   
 
Thread Tools Display Modes
TheLaser
Senior Member
Join Date: Jan 2008
Location: USA VA
Old 05-20-2011 , 01:15   Re: Mapchooser Extended Sounds (Updated 2011-05-16)
Reply With Quote #11

Powerlord;

I use to use mani mod with 30 maps in the vote all the time rather then have to hear or babysit people askin . do you have this or do you have that map ..

I run a fun server with a ton of mods and never got complaints about how many pages my mapvote list was .... If it alot of trouble no worries and also like the colors in the chat area too but thats just me

Thanks for replying and nice work on the plugin .. really like the count down in the center , nice touch .
TheLaser is offline
ASTFA
Member
Join Date: Jun 2011
Old 06-25-2011 , 02:57   Re: Mapchooser Extended Sounds (Updated 2011-05-16)
Reply With Quote #12

I've set sm_mapvote_downloadallsounds to 0 in mapchooser_extended_sounds.cfg, but the server still force players to dl the sound files, do you know why that may be?

Nice plugin btw.
__________________

ASTFA is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 06-25-2011 , 12:53   Re: Mapchooser Extended Sounds (Updated 2011-05-16)
Reply With Quote #13

Quote:
Originally Posted by ASTFA View Post
I've set sm_mapvote_downloadallsounds to 0 in mapchooser_extended_sounds.cfg, but the server still force players to dl the sound files, do you know why that may be?

Nice plugin btw.
I'll have to look into this. Unfortunately, I have some things to do today and may not get around to it until at least tomorrow.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
banania
Member
Join Date: Feb 2011
Old 06-25-2011 , 20:00   Re: Mapchooser Extended Sounds (Updated 2011-05-16)
Reply With Quote #14

Hello,
I have a problem with the script, the sounds do not work and I have in the logs of error messages

Quote:
L 06/26/2011 - 00:42:48: [SM] Plugin encountered error 25: Call was aborted
L 06/26/2011 - 00:42:48: [SM] Native "SetFailState" reported: Could not locate any sound sets.
L 06/26/2011 - 00:42:48: [SM] Displaying call stack trace for plugin "mapchooser_extended_sounds.smx":
L 06/26/2011 - 00:42:48: [SM] [0] Line 356, D:\tf2server\mapchooser_extended\mapchooser_e xtended_sounds_1.2\addons\sourcemod\scripting \mapchooser_extended_sounds.sp::LoadSounds()
L 06/26/2011 - 00:42:48: [SM] [1] Line 92, D:\tf2server\mapchooser_extended\mapchooser_e xtended_sounds_1.2\addons\sourcemod\scripting \mapchooser_extended_sounds.sp::OnPluginStart ()
banania is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 06-26-2011 , 13:30   Re: Mapchooser Extended Sounds (Updated 2011-05-16)
Reply With Quote #15

Quote:
Originally Posted by banania View Post
Hello,
I have a problem with the script, the sounds do not work and I have in the logs of error messages
The error messages you're getting mean that the plugin can't find any sound configuration files in addons/sourcemod/configs/mapchooser_extended/sounds folder. If you installed from the zip file, tf.cfg is located in that directory. hl1_sound_set.zip has hl1.cfg in that directory.

Note to self: Next version use a different error message if the directory is missing.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 06-26-2011 , 13:35   Re: Mapchooser Extended Sounds (Updated 2011-05-16)
Reply With Quote #16

Quote:
Originally Posted by ASTFA View Post
I've set sm_mapvote_downloadallsounds to 0 in mapchooser_extended_sounds.cfg, but the server still force players to dl the sound files, do you know why that may be?

Nice plugin btw.
When is this cvar being set?

Due to the way SourceMod's download tables work, this cvar is only checked once on map start, after the plugin's config file is read. The config file being cfg/sourcemod/mapchooser_extended_sounds.cfg, which it will auto-create and populate with default values the first time the plugin is loaded.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
banania
Member
Join Date: Feb 2011
Old 06-26-2011 , 17:02   Re: Mapchooser Extended Sounds (Updated 2011-05-16)
Reply With Quote #17

The file hl1.cfg is present in /cstrike/addons/sourcemod/configs/sounds

by cons, I changed because I did not need the count



Code:
"MapchooserSoundsList"
{
    "hl1"
    {
        "vote start"
        {
            "sound"            "sourcemod/mapchooser/hl1/startyourvoting.mp3"
        }
        "vote end"
        {
            "sound"            "sourcemod/mapchooser/hl1/endofvote.mp3"
        }
        "vote warning"
        {
            "sound"            "sourcemod/mapchooser/hl1/bell_warning.wav"
        }
        "runoff warning"
        {
            "sound"            "sourcemod/mapchooser/hl1/gman_choose2.wav"
        }
    }
}
banania is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 06-26-2011 , 19:56   Re: Mapchooser Extended Sounds (Updated 2011-05-16)
Reply With Quote #18

Quote:
Originally Posted by banania View Post
The file hl1.cfg is present in /cstrike/addons/sourcemod/configs/sounds
It has to be in /cstrike/addons/sourcemod/configs/mapchooser_extended/sounds

Quote:
Originally Posted by banania View Post
by cons, I changed because I did not need the count
That should be perfectly fine.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
banania
Member
Join Date: Feb 2011
Old 06-27-2011 , 10:07   Re: Mapchooser Extended Sounds (Updated 2011-05-16)
Reply With Quote #19

Ok, I made ​​that mistake because when you download hl1_sound_set.zip, the destination file is bad.

Now I have no errors, the sounds are downloaded every time (while I have it on my pc) and when there is a votemap there is no sound to announce the start of voting and end of vote

(the sv_pure value is 0)

Last edited by banania; 06-27-2011 at 10:10.
banania is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 06-27-2011 , 10:26   Re: Mapchooser Extended Sounds (Updated 2011-05-16)
Reply With Quote #20

Quote:
Originally Posted by banania View Post
Ok, I made ​​that mistake because when you download hl1_sound_set.zip, the destination file is bad.
*sigh* That was my fault. When I split this off from the main plugin zip, I apparently didn't get the directory structure quite right.

It's fixed in the zip now, though.

Quote:
Originally Posted by banania View Post
Now I have no errors, the sounds are downloaded every time (while I have it on my pc) and when there is a votemap there is no sound to announce the start of voting and end of vote

(the sv_pure value is 0)
This is a problem I haven't experienced since my sv_pure 1 server had the wrong whitelist.

Having said that, I've seen the former problem happen on another server with a different plugin for texture files and I'm not really sure what causes it.

Edit: When it tries to play the sounds, is there an error in the client console? I wonder if them being mp3s is making a difference.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 06-27-2011 at 10:32.
Powerlord 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 18:37.


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