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

Connect Announce


Post New Thread Reply   
 
Thread Tools Display Modes
eric0279
AlliedModders Donor
Join Date: May 2007
Old 04-13-2015 , 19:12   Re: Connect Announce
Reply With Quote #781

Hello,

is what supports SourceBans?

eg:

{PLAYERNAME} has left. [Sourcebans] You have been banned from this server >> {DISC_REASON}
eric0279 is offline
enermax
Member
Join Date: May 2015
Old 06-03-2015 , 10:18   Re: Connect Announce
Reply With Quote #782

Hello
How do I set the not the message Admin comes?
__________________
enermax is offline
virusking
AlliedModders Donor
Join Date: Jul 2014
Location: Helsinki
Old 06-03-2015 , 18:23   Re: Connect Announce
Reply With Quote #783

Quote:
Originally Posted by enermax View Post
Hello
How do I set the not the message Admin comes?
csgo/addons/sourcemod/data > cannounce_settings.txt

Change {PLAYERTYPE} to {PLAYERNAME} and it will show just the nickname, instead of the type of player (player with B flag or not).

For example, this is what I use (I have disabled messages_admin in cannounce.cfg):
Spoiler

My cannounce.cfg in csgo/cfg
Spoiler
__________________
Founder of TooEZ Gaming, laid back community focused on gaming.

https://tooezgaming.com/
virusking is offline
enermax
Member
Join Date: May 2015
Old 06-04-2015 , 04:19   Re: Connect Announce
Reply With Quote #784

Thank you
__________________
enermax is offline
Blakes7
Senior Member
Join Date: Dec 2012
Location: New England
Old 06-08-2015 , 23:33   Re: Connect Announce
Reply With Quote #785

None of the sound files seem to play even the default sound files for players joining and leaving the server?

These are already installed under HalfLife and don't need to be downloaded?
// Sound to play on player connect if sm_ca_playsound = 1
// -
// Default: "ambient\alarms\klaxon1.wav"
sm_ca_playsoundfile "ambient\alarms\klaxon1.wav"

I tried adding my own sound files which work on the server and download through the download.ini, but when I configure them for users joining the server nothing plays?

"CustomJoinMessages"
{
sm_setjoinsndid STEAM_0:0:5259168 SnakeGoingIn.mp3
sm_setjoinsndid STEAM_0:1:7914864 HavaCigar_chat.mp3
sm_playsnd HavaCigar_chat.mp3
}

Any ideas or suggestions please? the mp3 files are directly under the sound/ directory.
Do I need to switch the direction of the "\" to "/"

Also is there an updated geocities.dat file for the city locations, thanks! Seems to get some of the Cities in the US!
__________________

Last edited by Blakes7; 06-08-2015 at 23:34.
Blakes7 is offline
Blakes7
Senior Member
Join Date: Dec 2012
Location: New England
Old 06-09-2015 , 20:56   Re: Connect Announce
Reply With Quote #786

Figured it out this worked!: (The .wav and .mp3 are directly under "sound/")

addons/sourcemod/data/cannounce_messages.txt

"CustomJoinMessages"
{
"STEAM_0:0:XXXXXX"
{
"playerwasnamed" "Capt.Blakes7"
"message" "{GREEN}Watch The Bloody Brits About!!"
"soundfile" "SnakeGoingIn.mp3"
}
"STEAM_0:1:XXXXXX"
{
"playerwasnamed" "HAVA"
"message" "Let the {GREEN}HAVA Cigar Madness Begin!"
"soundfile" "HavaCigar_chat.mp3"
}
}
__________________

Last edited by Blakes7; 06-09-2015 at 21:09.
Blakes7 is offline
s.m.a.c head
Senior Member
Join Date: Apr 2012
Location: Liverpool
Old 07-05-2015 , 12:55   Re: Connect Announce
Reply With Quote #787

Quote:
Originally Posted by kwski43 View Post
This version will ignore map start connect messages for the time specified in sm_ca_mapstartnosound
Wow fantastic job for this, always hate that map change spam
THANKS
s.m.a.c head is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 07-21-2015 , 10:04   Re: Connect Announce
Reply With Quote #788

Hallo people. Can somebody help me to delete reason in disconnect message(showed after users IP) and why I can see only Country, city isn't show. I installed GeoLitecity and it loaded correctly, but Geoip loaded too )

Code:
[07] GeoIP (1.7.2): Geographical IP information
[08] GeoIPCity (1.1.2): Geographical IP information

Attached Thumbnails
Click image for larger version

Name:	conn.png
Views:	796
Size:	25.6 KB
ID:	146698   Click image for larger version

Name:	disc.png
Views:	849
Size:	39.5 KB
ID:	146699  

Last edited by ZASTRELIS; 07-21-2015 at 10:05.
ZASTRELIS is offline
GaFooB
Member
Join Date: Dec 2014
Old 07-21-2015 , 11:31   Re: Connect Announce
Reply With Quote #789

Quote:
Originally Posted by ZASTRELIS View Post
Hallo people. Can somebody help me to delete reason in disconnect message(showed after users IP) and why I can see only Country, city isn't show. I installed GeoLitecity and it loaded correctly, but Geoip loaded too )

Code:
[07] GeoIP (1.7.2): Geographical IP information
[08] GeoIPCity (1.1.2): Geographical IP information

go to addons\sourcemod\data and open cannounce_settings.txt. I believe whats happening here is that your code is missing a {DEFAULT} before "reason" as well as a space between it and the IP. if you dont want to figure it out yourself, just send me the code in that text file and i'll fix it up for ya.
__________________

GaFooB is offline
GaFooB
Member
Join Date: Dec 2014
Old 07-21-2015 , 11:32   Re: Connect Announce
Reply With Quote #790

I noticed that the cannounce plugin removed logging because it no longer worked,
but I want to see if anyone has got it working on theirs. That or if i could get redirected
to a plugin that actually logs player's IP addresses. I need this so I can IP ban users
who are no longer connected in my server.

Edit: Nevermind this post, I found a solution, and for those of you wanting the same solution, go here
https://forums.alliedmods.net/showthread.php?t=201967
__________________


Last edited by GaFooB; 07-21-2015 at 13:22.
GaFooB 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 14:02.


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