Let me get this straight. With this plug in can i set a sound that is played to everyone when a certain player -steamid- joins the server? If not, is there any plugin that can do that?
Or just plays a random sound very time any admin joins? I d like to be able to give certain steamid unique sounds that are played to everyone when they join the server.
Let me get this straight. With this plug in can i set a sound that is played to everyone when a certain player -steamid- joins the server? If not, is there any plugin that can do that?
Or just plays a random sound very time any admin joins? I d like to be able to give certain steamid unique sounds that are played to everyone when they join the server.
This plugin allows admins to play defined sounds from a menu to all players, who didn't disabled this functionality using !stopall on the chat. For the functionality you want try:
Hello guys, can you help me with this error?
Thanks in advance
MP3 initialized with no sound cache, this may cause janking. [ ****.mp3 ]
Failed to create decoder for MP3 [ ****.mp3 ]
*** Invalid sample rate (0) for sound '****.mp3'.
As I have read it is possible to fix it using this include: https://forums.alliedmods.net/showthread.php?t=237045
Not sure if it is in the plugin, or do I have to do something to the mp3 file to make it work in cs:go
__________________
My plugins:
Spoiler
Here I would keep a list of my plugins, if I had any
MP3 initialized with no sound cache, this may cause janking. [ sound\vipsounds\airhorn.mp3 ]
Failed to create decoder for MP3 [ sound\vipsounds\airhorn.mp3 ]
MP3 initialized with no sound cache, this may cause janking. [ sound\vipsounds\airhorn.mp3 ]
Failed to create decoder for MP3 [ sound\vipsounds\airhorn.mp3 ]
*** Invalid sample rate (0) for sound 'sound\vipsounds\airhorn.mp3'.
Everything is precached, paths are correct, uploaded correctly to fastdl+server and all that stuff. I see several people with the same problem as me (not playing any sounds), but i see no real specific resolution to the issue?
I have searched and tested multiple things including several extensions, cvars, sv_pure+whitelist and sv_pure 0 and no white list etc. Help would be appreciated. I'm quite tired so the chances of me missing something simple could be high, idk.
Getting this in error logs:
Spoiler
Code:
L 03/22/2017 - 03:32:26: [adminsounds.smx] Sound file sound/vipsounds/airhorn.mp3 (name : airhorn) does not exist
L 03/22/2017 - 03:32:26: [adminsounds.smx] Sound file sound/vipsounds/allahakbar.mp3 (name : allahakbar) does not exist
L 03/22/2017 - 03:32:26: [adminsounds.smx] Sound file sound/vipsounds/baka.wav (name : baka) does not exist
L 03/22/2017 - 03:32:26: [adminsounds.smx] Sound file sound/vipsounds/cheese.mp3 (name : cheese) does not exist
L 03/22/2017 - 03:32:26: [adminsounds.smx] Sound file sound/vipsounds/chicken.wav (name : chicken) does not exist
L 03/22/2017 - 03:32:26: [adminsounds.smx] Sound file sound/vipsounds/choose.mp3 (name : choose) does not exist
L 03/22/2017 - 03:32:26: [adminsounds.smx] Sound file sound/vipsounds/damson.mp3 (name : damson) does not exist
L 03/22/2017 - 03:32:26: [adminsounds.smx] Sound file sound/vipsounds/disappointment.mp3 (name : disappointment) does not exist
L 03/22/2017 - 03:32:26: [adminsounds.smx] Sound file sound/vipsounds/dundundun.mp3 (name : dundundun) does not exist
L 03/22/2017 - 03:32:26: [adminsounds.smx] Sound file sound/vipsounds/freekiller.mp3 (name : freekiller) does not exist
L 03/22/2017 - 03:32:26: [adminsounds.smx] Sound file sound/vipsounds/hungergames.mp3 (name : hungergames) does not exist
L 03/22/2017 - 03:32:26: [adminsounds.smx] Sound file sound/vipsounds/laugh.mp3 (name : laugh) does not exist
L 03/22/2017 - 03:32:26: [adminsounds.smx] Sound file sound/vipsounds/notready.mp3 (name : notready) does not exist
L 03/22/2017 - 03:32:26: [adminsounds.smx] Sound file sound/vipsounds/scream.wav (name : scream) does not exist
L 03/22/2017 - 03:32:26: [adminsounds.smx] Sound file sound/vipsounds/spanish.mp3 (name : spanish) does not exist
I am using the download manager and precacher and simply copied the paths in soundlist.cfg over to the download manager and everything downloaded as it should meaning everything is in their right spot.
Server.cfg:
Spoiler
Code:
sv_pure 0
sv_use_steam_voice 0 (thought this MAY have something to do with it)
downloads.ini:
Spoiler
Code:
//Don't modify or remove the Comment Lines ( // )
//Files (Download Only No Precache)
//Decal Files (Download and Precache)
//Sound Files (Download and Precache)
sound/vipsounds/airhorn.mp3
sound/vipsounds/allahakbar.mp3
sound/vipsounds/baka.wav
sound/vipsounds/cheese.mp3
sound/vipsounds/chicken.wav
sound/vipsounds/choose.mp3
sound/vipsounds/damson.mp3
sound/vipsounds/disappointment.mp3
sound/vipsounds/dundundun.mp3
sound/vipsounds/freekiller.mp3
sound/vipsounds/hungergames.mp3
sound/vipsounds/laugh.mp3
sound/vipsounds/notready.mp3
sound/vipsounds/scream.wav
sound/vipsounds/spanish.mp3
//Model Files (Download and Precache)
soundlist.cfg:
Spoiler
Code:
//Make sure "soundslist.cfg" is in your addons/sourcemod/configs/ directory.
//Sounds go in your mods "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 sounds, 0 to not 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" "misc/sound1.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"
{
"VIP"
{
"en" "VIP Sounds"
"delay" "120"
"volume" "1.0"
"display" "1"
"stop" "0"
"airhorn"
{
"file" "sound/vipsounds/airhorn.mp3"
"download" "1"
"delay" "120"
"volume" "1.0"
"display" "1"
"stop" "0"
}
"allahakbar"
{
"file" "sound/vipsounds/allahakbar.mp3"
"download" "1"
"delay" "120"
"volume" "1.0"
"display" "1"
"stop" "0"
}
"baka"
{
"file" "sound/vipsounds/baka.wav"
"download" "1"
"delay" "120"
"volume" "1.0"
"display" "1"
"stop" "0"
}
"cheese"
{
"file" "sound/vipsounds/cheese.mp3"
"download" "1"
"delay" "120"
"volume" "1.0"
"display" "1"
"stop" "0"
}
"chicken"
{
"file" "sound/vipsounds/chicken.wav"
"download" "1"
"delay" "120"
"volume" "1.0"
"display" "1"
"stop" "0"
}
"choose"
{
"file" "sound/vipsounds/choose.mp3"
"download" "1"
"delay" "120"
"volume" "1.0"
"display" "1"
"stop" "0"
}
"damson"
{
"file" "sound/vipsounds/damson.mp3"
"download" "1"
"delay" "120"
"volume" "1.0"
"display" "1"
"stop" "0"
}
"disappointment"
{
"file" "sound/vipsounds/disappointment.mp3"
"download" "1"
"delay" "120"
"volume" "1.0"
"display" "1"
"stop" "0"
}
"dundundun"
{
"file" "sound/vipsounds/dundundun.mp3"
"download" "1"
"delay" "120"
"volume" "1.0"
"display" "1"
"stop" "0"
}
"freekiller"
{
"file" "sound/vipsounds/freekiller.mp3"
"download" "1"
"delay" "120"
"volume" "1.0"
"display" "1"
"stop" "0"
}
"hungergames"
{
"file" "sound/vipsounds/hungergames.mp3"
"download" "1"
"delay" "120"
"volume" "1.0"
"display" "1"
"stop" "0"
}
"laugh"
{
"file" "sound/vipsounds/laugh.mp3"
"download" "1"
"delay" "120"
"volume" "1.0"
"display" "1"
"stop" "0"
}
"notready"
{
"file" "sound/vipsounds/notready.mp3"
"download" "1"
"delay" "120"
"volume" "1.0"
"display" "1"
"stop" "0"
}
"scream"
{
"file" "sound/vipsounds/scream.wav"
"download" "1"
"delay" "120"
"volume" "1.0"
"display" "1"
"stop" "0"
}
"spanish"
{
"file" "sound/vipsounds/spanish.mp3"
"download" "1"
"delay" "120"
"volume" "1.0"
"display" "1"
"stop" "0"
}
}
}
__________________
Server and web developer in -=Hell on Earth=- multi gaming community.
PM me or add me on STEAM for assistance with web development (MyBB, wordpress, PhPBB etc.)