Sank Sounds (Luke Sankey) (v1.9.1)
15 Attachment(s)
This is a port of the Sank Sounds Plugin from AdminMod to AMXX
it has all its features + some new ones (MP3 SUPPORT) Players can use keyword in chat and than wav files will be played keyword/wavfile combos are stored in SND-LIST.CFG and not hardcoded. Put the configfile (snd_list.cfg) into this folder: "addons/amxmodx/configs" The rar file contains some sounds (original sank sounds + new) and the SND-LIST.7z contains an example SND-LIST.CFG. Code:
/*Download the help.zip and READ it (English and German version included)
Previous downloads:
Updating to 1.9.0 or greater will require some little cfg file changes ( sry about that ) just add "sound/" (without quotes) to every WAV (so <mod-dir> is root) eg: misc/haha.wav should now be sound/misc/haha.wav Since 1.9.0 new configs were added and CVARs removed. Check changelog or help.7z for more info. Source is also available at github: https://github.com/ZTHawk/HL1_SankSounds |
works very nicely
thank god theres sanks sounds plugin again. there was this sychosound plugin for amxx but that worked like a pile of wet horseshit. give it a 5 outta 5 |
Thanks for porting this - great plugin.
|
for some reason when ever i use this plugin or at that matter any sound d/l plugin, it always freezes people at the verifying resources. And way to fix this?
|
Mine locks up shortly after round starts. CZ Windows server. No error messages in amxx log.
Also tried another plug that did sound and cuss filter, and it locked up before map could even start. |
mine would lock up like i said at verifying recorses, i would look on the console screen and it would show nothing wrong, like they was just connected, but they would stay there till they exited, no timeout nothing
|
@narcussist: only with this or other plugins too? try cl_allowupload 1 and download 1, maybe this helps
@supermj: lock up cause of this plugin or do u have it with other too? cant test it on CZ (dont have it) but it should work, maybe something else is wrong |
As soon as I enable it, at mapchange, a few seconds it, it locks up. Disable, restart server...it's good.
|
Quote:
|
sry guys but i dont know whats wrong, i tested with STEAM: cs 1.6 and natural selection, WON: opfor and cs 1.5, all working
maybe its something with CZ or there r other probs, sry guys |
o i play dod, sorry i didnt mention that
|
just tested with dod and it works fine, client can connect with no freeze
last idea: check if all the sounds u have in SND-LIST.cfg really exists (but dont think thats this is a prob cause i have myself sounds in sndlist.cfg that dont exists) |
Works for me on DOD v1.3 Steam - just make sure the server actually has the sound files installed that you want to use, because the sounds listed in the snd-lst.cfg file get pre-cached - so your clients are trying to download the sound files when they connect. If you don't have the sound files at your sv_downloadurl then they are trying to download from the game server - which could take a while if you have large sound files. Not sure if that is the problem, but something to consider.
|
updated, now file will be checked if exist before precache, maybe now some error are solved
|
UPDATE:
- a nasty bug was fixed (whenever chat message was longer than 29 char a wav was played) - config folder is not hardcoded anymore |
It still locks up cz. Just a warning to everyone.
|
Just tried both the 0.16 and 0.20 versions on my RC6 powered TFC server, the SND config is being read I can see the sound keywords listed using amx_sound_help, however nothing is being played?
No join sounds, no leave sounds and nothing is picked up from chat as a key word, hence nothing played :( 80.190.246.176:27015 Royston Vasey Thats the server, you can see for yourselves... Help please, I would love to get this to work right. This is my snd.cfg Quote:
Please help Ancient |
have u read the intruction inside the sma?
only the first wav off each keyword should not work right there is write that after each keyword there must be a) NO space or b) minimum 2 spaces (tab counts as one space) and as i see u have only 1 space |
im running it on cz RC6 and i followed everything to a T but the sounds arnt beind downloaded by the other players. Console says the plugin is running and
L 10/01/2004 - 14:42:47: [sank_sounds.amxx] Sank Sound Plugin >> Sound quota set to 20 Sank Sound Plugin >> addons/amxmodx/configs/SND-LIST.CFG successfully loaded. I even tried it with debug set to 0. Any ideas? |
look my post above
a) NO space or b) minimum 2 spaces (tab counts as one space) |
Do you see any spaces in the words I posted?
It just dont work... However I was having issues with the metmod plugins.ini order, as amxx RC6 seems to only like a certain order, so I shall try it again at a quiet time and report back.. Ancient |
i copied the exact config file from the zip and yes i tried deleting all the spaces too. Is the .wav file read from my czero folder or dedserver/czero folder?
|
by spaces i DONT mean in wavs/words (that may not be of course) BUT between keyword and wav
THIS WILL BE FIXED TOMORROW (not now cause need to test new/forgotten feature) they are read from <moddir>/sound/... (eg: wav is in moddir/sound/mysounds/hiall.wav u have to put mysounds/hiall.wav into .cfg) |
Quote:
|
updated new version 1.1:
- fixed bug with spaces between keywords and wavs - multiple Join and Exit sounds can now be used (everyone expected this to work (me too :roll: ), but now it works) - fixed bug where connect and disconnect sound have not been played 1.1.1(hotfix) - just removes an error msg |
Works a treat now!! :D
However, every now and then it goes through a spell of not playing the sounds for some reason? May be something to do with the size of the .wav mebe? not sure... HOWEVER, big however!! it precaches the sounds, fine if you have a fast downloadurl but this removes the option of making them optional for the players. Some dont like sound spam and I would prefer to make it a optional sound pack download from my webby. So request.... Could you please make another version that does not precache the sounds, this would make it pretty much perfect for me ;) Thankyou, Ancient |
it doesnt play the sounds from the soundpack or your custom?
i noticed it with custom wavs but that was on won, dont know if still with steam cause i have not added new sounds recently but its not the file size but rather the bit depth and sample rate some play with 8bit 11Khz other dont (dont know why, its hl) try to resample or increase bit depth or both i dont really want to make a new one, But do this: just delete the plugin_precache function and recompile Code:
|
No the sounds not playing is not the sample rate, I allready knew about that so they are all the same...
It's just a irregular bug, it stops playing sounds for while and then resumes, nothing in logs :? For example: I may say hello, which responds with the wav combo hello.wav Some other sounds may play and then my next Hello might be nothing played? it's irregular, but there is a bug there somewhere me thinks, thats why I though it might be the size of the wav that was causing it? It happens more after large .wavs... Ancient |
hotfix 1.1.2:
- fixed bug where dead players could not hear sounds i think this was cause of a bug where dead players could not hear anything except snd_split was on :roll: hope the hotfix fixes it |
Players in spec dont either...
Also sometimes you can hear the sounds, some times you cant... Go play here for a hour or so to see what I mean!! 80.190.246.176:27015 Royston Vasey Ancient |
i just playe on your server and yes they r stopping to play
but it rather seems that the whole plugins stoppped/paused cause sound quota is not checked and amx_sound_help cant be use neither check if it paused when sounds not working ps: with v1.1.2 specs and dead player can |
ummm does any1 elses randomly play a sound without using the command? cuz mine does it.
i am just using this pluggin so the clients can dl the .wav, i only want admins to be able to use the sounds. |
1) does it play a sound with out saying anything or not saying the specific command?
a) check EXACT_MATCH, if set to 0 u can use the command within the a sentence (eg: cmd = hallo, if exact_match 1 and sentence = hallo all nothing is played but when exact_match 0 then it is) b) when client connect or disconnect a sound is played 2) admins only can use yes i can implement this in next version currently u can do it by editing it go to func " QuotaExceeded(id){ " (at line 926) below add Code:
|
that confused me a little bit, i just want to use this pluggin so clients can dl .wavs from me.
so how do i stop the sounds playing when clients connect or disconnect? |
playing sound when client connects and discon is auto
this one allows players to use special words in chat and then a spesific sound is played as players need that sound it has a sound download implemented when u want a plugin that downloads sounds and is not playing any sound this is the wrong plugin |
ok i look for another 1
|
Latest version does not work for some reason :( Nothing heard at all, everything lists in console and the plugin is not paused...
I have rolled back to the previous version, as that one works 80% of the time ;) Ancient |
i had the same problem, make sure the snd-list.cfg is in the amxmodx\config\snd-list.cfg and in your console type amx_sound 1. then i did amx_sound_reload snd-list.cfg
|
After much head scratching, sometimes it will sometimes it wont etc etc I have narrowed it down to bots!!
I think the plugin is causing a error in the engine module or somewhere as its trying to play a sound on a fake client, this is the cause of the problem I think... Removing the bots makes the plugin work flawlessly :? Over too you ;) Ancient |
WOw, you all are having all this trouble and I have not had any trouble with psychosounds at all.
I ported it to amxx from amx. All you do is change the #include <amxmod> to #include<amxmodx>. Then there is a function called strtonum in amx that has changed to str_to_num in amxx. Then I changed the dir from addons/amx to addons/amxmodx/configs in the sma as well. |
| All times are GMT -4. The time now is 10:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.