Raised This Month: $ Target: $400
 0% 

[Resolved] Welcome sound


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ougogo
Member
Join Date: Jul 2010
Old 04-21-2011 , 18:09   [Resolved] Welcome sound
Reply With Quote #1

Good evening,

I put a sound on my home server counter strike source.

There is already a plugin like this here:

http://forums.alliedmods.net/showthread.php?p=552491


But it bugs often can not find the file ....



So I'd like a plugin or can simply put a Home sounds because it does not work via the motd.


I said, a plugin under sourcemod.



Thank you in advance


Sincerely,

Hugo

Last edited by ougogo; 04-22-2011 at 16:22. Reason: Close topix
ougogo is offline
LambdaLambda
AlliedModders Donor
Join Date: Oct 2010
Location: London
Old 04-22-2011 , 10:29   Re: Welcome sound
Reply With Quote #2

It does work. I know, because im using it.
LambdaLambda is offline
ougogo
Member
Join Date: Jul 2010
Old 04-22-2011 , 10:52   Re: Welcome sound
Reply With Quote #3

Can you post me the .sp and .smx ?

And where are you put the sounf file.


Because my problem is that i have rename the sound greatgame.mp3 in the .sp, after i have compile that in a .smx. I put the song in /cstrike/sound/consnd and sv_pure 0 in my server.cfg, but it doesn't work :s


Cordially,


Hugo
ougogo is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 04-22-2011 , 12:04   Re: Welcome sound
Reply With Quote #4

I'd take the source file and edit it to your liking since it's such a small plugin. You can modify the filename and location in the source and compile it yourself so you set your location you want in the sound folder.
Drixevel is offline
ougogo
Member
Join Date: Jul 2010
Old 04-22-2011 , 14:03   Re: Welcome sound
Reply With Quote #5

It's not working on my server :s

It worked once, then I wanted to change the name of the music and nothing works for more u_u.

Does anyone have the time and the friendliness of me compile this plugin so that it reads the file greatgame.mp3 in the folder cstrike \ sound \?


Sincerely,

Hugo
ougogo is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-22-2011 , 14:46   Re: Welcome sound
Reply With Quote #6

Quote:
Originally Posted by ougogo View Post
It's not working on my server :s

It worked once, then I wanted to change the name of the music and nothing works for more u_u.

Does anyone have the time and the friendliness of me compile this plugin so that it reads the file greatgame.mp3 in the folder cstrike \ sound \?


Sincerely,

Hugo
Why need edit and compile that plugin when there is CVAR for change sound file ??
It is written in the first post.
Quote:
sm_join_sound "consnd/joinserver.mp3"
You add this cvar ether your ...cfg/server.cfg or ...cfg/sourcemod/sourcemod.cfg

Code:
sm_join_sound "greatgame.mp3"
You add that sound file to server
Code:
...sound/greatgame.mp3
It refresh everytime that cvar whe map change if sound path have changed.

Now if you join server, you should see it download now (or at least try download) that tells plugin works.
Make sure you have cl_downloadfilter all
and server sv_allowdownload 1


After this, if you now check your ...steam/steamapps/account/game/mod/sound/
did you download that file ??
If not, then you have something wrong from server settings.

If you are using sv_downloadurl "http://your.domain.net/mod" to upload files for players, go check that url path with web browser (Explorer, Firefox)
Can you find that file http://your.domain.net/mod/sound ??
Of cource you first upload that file in there.

*edit
Have you set sv_pure 1 on server ??
Here advices
pure server whitelist - Against wallhackers

Last edited by Bacardi; 04-22-2011 at 14:49.
Bacardi is offline
ougogo
Member
Join Date: Jul 2010
Old 04-22-2011 , 16:22   Re: Welcome sound
Reply With Quote #7

Works fine.... I'm stupid sory T_T



Thx you ! !
ougogo is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 04-23-2011 , 09:15   Re: [Resolved] Welcome sound
Reply With Quote #8

I usually edit the plugin and recompile when i can due to my liking of clean cfg files which aren't cluttered with CVARS.
Drixevel is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-23-2011 , 10:41   Re: [Resolved] Welcome sound
Reply With Quote #9

yep, that's true... I do this myself.
Bacardi 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 11:58.


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