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

Say Sounds


Post New Thread Reply   
 
Thread Tools Display Modes
naris
AlliedModders Donor
Join Date: Dec 2006
Old 12-02-2008 , 14:25   Re: Say Sounds
Reply With Quote #421

Thanks a lot for agreeing to open a new thread.


I would of, but with a full time IT job (and being on call 24/7), side job, administrating Jigglysfunhouse servers, working on my own projects and with a new baby on the way...

It would not be fair to the rest of the SourceMod community to have to rely on me to update this thread as it would probably wind up being not much better than the current situation
naris is offline
shustas
SourceMod Donor
Join Date: May 2007
Location: London
Old 12-09-2008 , 14:22   Re: Say Sounds
Reply With Quote #422

So wich stable version should I use, without the need of updating sourcemod snapshots and no sql??
__________________
shustas is offline
naris
AlliedModders Donor
Join Date: Dec 2006
Old 12-09-2008 , 16:48   Re: Say Sounds
Reply With Quote #423

Quote:
Originally Posted by shustas View Post
So wich stable version should I use, without the need of updating sourcemod snapshots and no sql??
I would *strongly* suggest updating to the 1.1 snapshot of SourceMod and using this version --> http://forums.alliedmods.net/showpos...&postcount=404. Version 1.1 is very stable and is getting really close to becoming the released version.

However, if you really are opposed to using the 1.1 snapshot, then I would suggest using the version from this post -->http://forums.alliedmods.net/showpos...&postcount=391 since it was the last version before the clientprefs (that's only available in 1.1) stuff was added.

Also, if you don't update to 1.1, at least make sure you are using 1.0.4.

Neither version requires mysql or any other sql database.

clientprefs can use sqlite, which stores data in a file. In fact, the default settings provided for SM 1.1 is configured so clientprefs uses sqlite to store it's data in a file. All you need to do is have the clientprefs section in databases.cfg setup like shown below, there is nothing else you need to do:

Code:
    "clientprefs"
    {
        "driver"            "sqlite"
        "host"                "localhost"
        "database"            "clientprefs-sqlite"
        "user"                "root"
        "pass"                ""
        //"timeout"            "0"
        //"port"            "0"
    }

Last edited by naris; 12-09-2008 at 16:57.
naris is offline
shustas
SourceMod Donor
Join Date: May 2007
Location: London
Old 12-10-2008 , 12:11   Re: Say Sounds
Reply With Quote #424

ok, thanks for explaining.
__________________
shustas is offline
shustas
SourceMod Donor
Join Date: May 2007
Location: London
Old 12-10-2008 , 14:11   Re: Say Sounds
Reply With Quote #425

Found it
__________________

Last edited by shustas; 12-10-2008 at 16:46. Reason: found it
shustas is offline
Programie
Junior Member
Join Date: Nov 2008
Old 12-15-2008 , 12:59   Re: Say Sounds
Reply With Quote #426

Is it possible to print the soundlist in the chat or a menu instead of the console?

The plugin works on my both CSS-Servers. ;)

Good work!
Thx for that cool plugin!
Programie is offline
W00DY
Junior Member
Join Date: Apr 2008
Location: ZZ9 Plural Z Alpha
Old 12-15-2008 , 13:46   Re: Say Sounds
Reply With Quote #427

I know it has been agreed to start a new thread...
Like some others above I was looking for a volume control function, which I did not find, so I tried my very best to add it!
Since I am using Sourcemod 1.0.4 and I only have the need for basic features, I took version 1.19 as a base to build upon and called my modified version 1.19.1:
There is a new CVAR "sm_saysounds_volume" (float between 0.0 and 1.0), which is a global volume setting for all say sounds. In addition to that, you can add a key-value-pair to every sound section in the cfg file like
...
"volume" "0.4"
...
which in this case overrides the global volume to 40%. You will find examples in the header section of the sp file.
I hope that this is helpful to at least one more person...
Attached Files
File Type: sp Get Plugin or Get Source (saysounds.sp - 480 views - 32.9 KB)
W00DY is offline
naris
AlliedModders Donor
Join Date: Dec 2006
Old 12-15-2008 , 17:24   Re: Say Sounds
Reply With Quote #428

Quote:
Originally Posted by Programie View Post
Is it possible to print the soundlist in the chat or a menu instead of the console?

The plugin works on my both CSS-Servers. ;)

Good work!
Thx for that cool plugin!
All of the versions after 1.6 will display the sounds in a menu when you type !soundmenu in chat. Version 2.0 added a convar (sm_sound_showmenu) that disables the menu when it is set to 0, the default value is 1.

The current version also shows the sounds in a menu when you type !soundlist in chat.

Here is the latest version --> http://forums.alliedmods.net/showpos...&postcount=404

There also now appears to be a branched version that adds volume control to an old version here --> http://forums.alliedmods.net/showpos...&postcount=427
naris is offline
Programie
Junior Member
Join Date: Nov 2008
Old 12-16-2008 , 09:19   Re: Say Sounds
Reply With Quote #429

Iīve downloaded the new version and moved the smx-file into cstrike\addons\sourcemod\plugins. Then I reloaded the plugins but it says it couldnīt load the plugin.

Error message in plugin list:
Code:
27 <Failed> "Say Sounds (including Hybrid Edition)" (3.0.6) by Hell Phoenix, - =:JFH:=-Naris, [RiCK] Stokes, LAMDACORE, Uberman, gHOsTy
I also tryed to restart the server but the same message appeared.

Iīm running SourceMod 1.0.4 for Counter Strike Source on a Source Dedicated Server on Windows Server 2003.

Do I need an other SourceMod version?
Programie is offline
SixSicSix
Senior Member
Join Date: Jan 2008
Old 12-16-2008 , 09:23   Re: Say Sounds
Reply With Quote #430

Quick question, what flags are required to play admin sounds?
SixSicSix 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 20:27.


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