PDA

View Full Version : player_connect_sound


blobby
09-17-2007, 11:58 PM
This plugin will play a small wav every time a player joins the server

Things i wanna add a leave sound and also a cvar to be able to turn the plugin off at will

Also add a part so that clan leaders or admins have a different wav to public players*

The sound file goes in sound/misc

Here is a link to the sound file
http://www.csspukclan.inx-gaming.co.uk/downloads/Plugins-stuff/newplayer.wav

Just ignore the url to the wav i have borrowed the site off my clan leader :p

If you have any questions don't hesitate to ask and enjoy this plugin

Regards

Blobby

blobby
09-18-2007, 12:06 AM
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
09-18-2007, 12:27 AM
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

it will work on cs...

blobby
09-18-2007, 09:23 AM
Do i have to remove this ?? or is it aloud to stay its you call im easy :p

diamond-optic
09-18-2007, 03:06 PM
tbh i dont really care anymore lol..just dont piss me off :P lol

and i cant speak for the other admins/mods tho lol

blobby
09-19-2007, 11:50 AM
Lol Why wud i piss u off :p Cheers m8y

Wilson [29th ID]
09-19-2007, 01:20 PM
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)

My 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"

I 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.

What 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.

You 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
09-19-2007, 04:16 PM
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 yours

Regards

Blobby

Heritage
09-30-2007, 09:11 AM
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
09-30-2007, 11:55 AM
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 plugins

Regards

Blobby

P.S tbh you have hurt my feelings now really =[

Panda
09-30-2007, 02:21 PM
lol at the

P.S tbh you have hurt my feelings now really =[


chears Blovvy ill test this out later :D

blobby
09-30-2007, 07:16 PM
If you get stuck with any thing hit me up m8

Panda
09-30-2007, 07:37 PM
sure thing if i find it glich up or summin ill steam msg u :D ill wak it on tomorrow :D

blobby
10-01-2007, 05:18 PM
Nah dont steam me post it here so people know im learning from my msitakes :p

jondoe
11-08-2007, 05:58 PM
This plugin already exsists though.

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

connect announce by v3x plays a sound and shows the clients steamID.

blobby
11-09-2007, 09:12 AM
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 mistake

P.S. This was a plugin from when i was learning how to code :p and tbh it isnt actually dod specific

Regards

Blobby

=|[76AD]|= TatsuSaisei
11-13-2007, 09:07 AM
Blobby,

I 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
11-13-2007, 10:04 AM
Cheers tatsusaisei i will do

blobby
12-02-2007, 11:45 PM
Have just updated this so i can see how many people use my plugin as i have done with all my plugins

Regards

Blobby

Ba5ic
12-24-2007, 11:44 AM
This plugin will play a small wav every time a player joins the server

Things i wanna add a leave sound and also a cvar to be able to turn the plugin off at will

Also add a part so that clan leaders or admins have a different wav to public players*

The sound file goes in sound/misc

Here is a link to the sound file
http://www.csspukclan.inx-gaming.co.uk/downloads/Plugins-stuff/newplayer.wav

Just ignore the url to the wav i have borrowed the site off my clan leader :p

If you have any questions don't hesitate to ask and enjoy this plugin

Regards

Blobby

Blobby

Any chance of getting the sound file for me, the link is not working....

Thanks!

blobby
12-24-2007, 01:12 PM
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 XD

Sorry and regards
Blobby

Ba5ic
12-24-2007, 02:33 PM
Hi m8

i've just PM'd you

Cheers!

Ba5ic
12-24-2007, 04:10 PM
UPDATE

Installed and working a treat.

Nice job Blobby keep up the good work and i look forward to more of your plugins.

Thanks!

blobby
12-24-2007, 04:15 PM
Cheers m8y glad you like it XD

Regards

Blobby