Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin

player_connect_sound

by blobby · 2007-09-18 · 23 replies · 12329 views · 180 downloads

Read the thread (24 posts)

From the first post

This plugin will play a small wav every time a player joins the serverrnrnThings i wanna add a leave sound and also a cvar to be able to turn the plugin off at willrnrnAlso add a part so that clan leaders or admins have a different wav to public players*

rn
rnThe sound file goes in sound/misc
rn
rnHere is a link to the sound file
rnhttp://www.csspukclan.inx-gaming.co.uk/downloads/Plugins-stuff/newplayer.wav
rn
rnJust ignore the url to the wav i have borrowed the site off my clan leader :p
rn
rnIf you have any questions don't hesitate to ask and enjoy this plugin
rn
rnRegards
rn
rnBlobby

Files

player_connect_sound.sma v1.0 2 KB 180 dl Download Compile

The thread

All 24 posts from 8 people on player_connect_sound, kept as they were written.

blobby
started this thread
Posts: 421
Threads: 47
Joined: Apr 2007
09-17-2007, 10:58 PM #1
rnThis plugin will play a small wav every time a player joins the serverrnrnThings i wanna add a leave sound and also a cvar to be able to turn the plugin off at willrnrnAlso add a part so that clan leaders or admins have a different wav to public players*
rnrnThe sound file goes in sound/miscrnrnHere is a link to the sound filernhttp://www.csspukclan.inx-gaming.co.uk/downloads/Plugins-stuff/newplayer.wavrnrnJust ignore the url to the wav i have borrowed the site off my clan leader :prnrnIf you have any questions don't hesitate to ask and enjoy this pluginrnrnRegardsrnrnBlobby

blobby
started this thread
Posts: 421
Threads: 47
Joined: Apr 2007
09-17-2007, 11:06 PM #2

Just a note i have tested this and it did work for dod but it isnt fully dod specific as it think it works on cs 2 im waiting to find out from my clan leader :p if it work i will remove it if you guys think i should :p

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
09-17-2007, 11:27 PM #3
Just a note i have tested this and it did work for dod but it isnt fully dod specific as it think it works on cs 2 im waiting to find out from my clan leader :p if it work i will remove it if you guys think i should :p
nnit will work on cs...

blobby
started this thread
Posts: 421
Threads: 47
Joined: Apr 2007
09-18-2007, 08:23 AM #4

Do i have to remove this ?? or is it aloud to stay its you call im easy :p

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
09-18-2007, 02:06 PM #5

tbh i dont really care anymore lol..just dont piss me off :P lolnnand i cant speak for the other admins/mods tho lol

blobby
started this thread
Posts: 421
Threads: 47
Joined: Apr 2007
09-19-2007, 10:50 AM #6

Lol Why wud i piss u off :p Cheers m8y

Wilson [29th ID]
posted here
Posts: 623
Threads: 57
Joined: Oct 2005
09-19-2007, 12:20 PM #7

Well, your stuff is structured properly, and variables named correctly, and code looks clean. So cheers on that. (You should use [32] instead of [33] for strings though, but not a big deal)rnrnMy main question here is what's going on with the text message that you're sending? From the looks of it, we're getting a double message here: the regular "so and so has joined the game" and your new "so and so (steamid) connected"rnrnI understand if you want to do what the STEAMIDMSG plugin does inside your plugin, but you should note that in the description of the plugin. And sending an additional message is not only less efficient, but like I said above...it seems like there are going to be two connect messages displayed.rnrnWhat I would reccomend is to take a look at my dod_steamidmsg plugin posted on these forums and watch how I hook the original join message and add the steamid to it - I do not send any messages; simply alter the one already being sent.rnrnYou are improving quite a bit. Do not take this as a bash; I'm trying to help and encourage you to work out the kinks. (Although I don't really understand what a steamid message has to do with a player connect sound..seems like 2 different plugins :P)

blobby
started this thread
Posts: 421
Threads: 47
Joined: Apr 2007
09-19-2007, 03:16 PM #8

Lol thanks wilson well im running this on my server and my leader is running it on his cs server and it only shows one client message it was just a little plugin to do when i was board but thanks for looking over the code and pointing out my mistakes i will go now and take a look at the steam id plugin of yoursnnRegardsnnBlobby

H Heritage
posted here
Posts: 1
Threads: 0
Joined: Sep 2007
09-30-2007, 08:11 AM #9

Sorry to intrude ont his plugin but sure you have to make your own code, as this is to codes from to plugins placed together to make a new plugin. sound playing is from the dod_connection plugin where u can get differnt wavs for admins and players and the steam id message from dod_steamidmsg.

blobby
started this thread
Posts: 421
Threads: 47
Joined: Apr 2007
09-30-2007, 10:55 AM #10

no it isn't im sure Wilson will vouch for that if you read the above posts he actually tells me to look at his plugins for and error if i was going to steal code there would be no pint in me having to post and make thousands of threads on here to learn how to make pluginsnnRegardsnnBlobbynnP.S tbh you have hurt my feelings now really =[

P Panda
posted here
Posts: 14
Threads: 2
Joined: Mar 2007
09-30-2007, 01:21 PM #11

lol at the rnrnP.S tbh you have hurt my feelings now really =[rnrnrnchears Blovvy ill test this out later :D

blobby
started this thread
Posts: 421
Threads: 47
Joined: Apr 2007
09-30-2007, 06:16 PM #12

If you get stuck with any thing hit me up m8

P Panda
posted here
Posts: 14
Threads: 2
Joined: Mar 2007
09-30-2007, 06:37 PM #13

sure thing if i find it glich up or summin ill steam msg u :D ill wak it on tomorrow :D

blobby
started this thread
Posts: 421
Threads: 47
Joined: Apr 2007
10-01-2007, 04:18 PM #14

Nah dont steam me post it here so people know im learning from my msitakes :p

J jondoe
posted here
Posts: 129
Threads: 6
Joined: Aug 2005
11-08-2007, 05:58 PM #15

This plugin already exsists though.rnrnhttp://forums.alliedmods.net/showthread.php?p=163726rnrnconnect announce by v3x plays a sound and shows the clients steamID.

blobby
started this thread
Posts: 421
Threads: 47
Joined: Apr 2007
11-09-2007, 09:12 AM #16

Yeah i knows there is one now lool i did post my version on there too but they said its already been done lol so my mistakennP.S. This was a plugin from when i was learning how to code :p and tbh it isnt actually dod specificnnRegardsnnBlobby

=|[76AD]|= TatsuSaisei
posted here
Posts: 794
Threads: 54
Joined: May 2005
11-13-2007, 09:07 AM #17

Blobby,n nI think you are coming along very well and putting in more effort then those who "hate" on what you are doing... ignore any of the negative comments and keep plodding forward !!!

blobby
started this thread
Posts: 421
Threads: 47
Joined: Apr 2007
11-13-2007, 10:04 AM #18

Cheers tatsusaisei i will do

blobby
started this thread
Posts: 421
Threads: 47
Joined: Apr 2007
12-02-2007, 11:45 PM #19

Have just updated this so i can see how many people use my plugin as i have done with all my pluginsrnrnRegardsrnrnBlobby

Ba5ic
posted here
Posts: 181
Threads: 26
Joined: Nov 2005
12-24-2007, 11:44 AM #20
rnThis plugin will play a small wav every time a player joins the serverrnrnThings i wanna add a leave sound and also a cvar to be able to turn the plugin off at willrnrnAlso add a part so that clan leaders or admins have a different wav to public players*
rnrnThe sound file goes in sound/miscrnrnHere is a link to the sound filernhttp://www.csspukclan.inx-gaming.co.uk/downloads/Plugins-stuff/newplayer.wavrnrnJust ignore the url to the wav i have borrowed the site off my clan leader :prnrnIf you have any questions don't hesitate to ask and enjoy this pluginrnrnRegardsrnrnBlobby
rnrnBlobbyrnrnAny chance of getting the sound file for me, the link is not working....rnrnThanks!

blobby
started this thread
Posts: 421
Threads: 47
Joined: Apr 2007
12-24-2007, 01:12 PM #21

Sorry about that my old webby where that was stored got hacked and wiped if you pm me your emaila ccount ill mail u the wav ill fix the link as soon as i fix my site XDnnSorry and regardsnBlobby

Ba5ic
posted here
Posts: 181
Threads: 26
Joined: Nov 2005
12-24-2007, 02:33 PM #22

Hi m8rnrni've just PM'd yournrnCheers!

Ba5ic
posted here
Posts: 181
Threads: 26
Joined: Nov 2005
12-24-2007, 04:10 PM #23

UPDATErnrnInstalled and working a treat.rnrnNice job Blobby keep up the good work and i look forward to more of your plugins.rnrnThanks!

blobby
started this thread
Posts: 421
Threads: 47
Joined: Apr 2007
12-24-2007, 04:15 PM #24

Cheers m8y glad you like it XD nnRegardsnnBlobby

DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC