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

Connect Announce


Post New Thread Reply   
 
Thread Tools Display Modes
Ja-Forces
Senior Member
Join Date: Jul 2009
Location: Leningrad
Old 03-16-2019 , 11:25   Re: Connect Announce
Reply With Quote #881

Support GeoIP2 -

[ANY] GeoIP2
[ANY] Hattrick's Geo Resolver (1.0) [Dec 18, 2015] +Plug-ins
__________________

Last edited by Ja-Forces; 01-03-2020 at 13:00.
Ja-Forces is offline
Galen
New Member
Join Date: Jan 2019
Old 03-29-2019 , 17:54   Re: Connect Announce
Reply With Quote #882

I still have the same problem. Color {BLUE} sometimes get replaced with green. And sometimes works fine. Anyone know why?

Yes, I have multicolors and morecolors.

Last edited by Galen; 03-29-2019 at 17:55.
Galen is offline
Sh4d0ww
Junior Member
Join Date: Mar 2019
Old 04-15-2019 , 11:50   Re: Connect Announce
Reply With Quote #883

can I disable the steam ID and IP of this plugin's ad?
Sh4d0ww is offline
ozrich
AlliedModders Donor
Join Date: Oct 2015
Old 04-15-2019 , 12:44   Re: Connect Announce
Reply With Quote #884

Quote:
Originally Posted by Sh4d0ww View Post
can I disable the steam ID and IP of this plugin's ad?
You should be able to. Look in addons/sourcemod/data/cannounce_settings.txt

Once you make changes refresh the plugins or change map and test

Note, it's different for admins compared to non-admins for the messages. Also, custom messages can be set based on the settings.
__________________
ozrich is offline
Sh4d0ww
Junior Member
Join Date: Mar 2019
Old 04-15-2019 , 20:08   Re: Connect Announce
Reply With Quote #885

Quote:
Originally Posted by ozrich View Post
You should be able to. Look in addons/sourcemod/data/cannounce_settings.txt

Once you make changes refresh the plugins or change map and test

Note, it's different for admins compared to non-admins for the messages. Also, custom messages can be set based on the settings.
I looked inside the file quoted, but can I just delete some lines? I tried once more on the console reported several errors, so I opened the file "cannounce.sp" in "addons\sourcemod\source", deletes some lines and worked but gave error in the player message disconnected, it does not appear as it should.
Sh4d0ww is offline
ozrich
AlliedModders Donor
Join Date: Oct 2015
Old 04-16-2019 , 00:53   Re: Connect Announce
Reply With Quote #886

Quote:
Originally Posted by Sh4d0ww View Post
I looked inside the file quoted, but can I just delete some lines? I tried once more on the console reported several errors, so I opened the file "cannounce.sp" in "addons\sourcemod\source", deletes some lines and worked but gave error in the player message disconnected, it does not appear as it should.
Is there any text inside the "addons\sourcemod\data\cannounce_settings.txt " file on your server?

Mine is

PHP Code:
"CountryShow"
{
    
"messages"
    
{
        
"playerjoin"        "{PLAYERTYPE} {GREEN}{PLAYERNAME} {DEFAULT}<{LIGHTGREEN}{STEAMID}{DEFAULT}> connected from country {GREEN}{PLAYERCOUNTRY} {DEFAULT}({LIGHTGREEN}{PLAYERCOUNTRYSHORT}{DEFAULT}), IP {GREEN}{PLAYERIP}"
        "playerdisc"        "{PLAYERTYPE} {GREEN}{PLAYERNAME} {DEFAULT}<{LIGHTGREEN}{STEAMID}{DEFAULT}> from country {GREEN}{PLAYERCOUNTRY} {DEFAULT}({LIGHTGREEN}{PLAYERCOUNTRYSHORT}{DEFAULT}) disconnected from IP {GREEN}{PLAYERIP}{GREEN}reason: {DEFAULT}{DISC_REASON}"
    
}
    
"messages_admin"
    
{
        
"playerjoin"        "{PLAYERTYPE} {GREEN}{PLAYERNAME} {DEFAULT}<{LIGHTGREEN}{STEAMID}{DEFAULT}> connected from country {GREEN}{PLAYERCOUNTRY} {DEFAULT}({LIGHTGREEN}{PLAYERCOUNTRYSHORT}{DEFAULT}), IP {GREEN}{PLAYERIP}"
        "playerdisc"        "{PLAYERTYPE} {GREEN}{PLAYERNAME} {DEFAULT}<{LIGHTGREEN}{STEAMID}{DEFAULT}> from country {GREEN}{PLAYERCOUNTRY} {DEFAULT}({LIGHTGREEN}{PLAYERCOUNTRYSHORT}{DEFAULT}) disconnected from IP {GREEN}{PLAYERIP}{GREEN}reason: {DEFAULT}{DISC_REASON}"
    
}

What changes did you make in the cannounce.sp file? You shouldn't need to modify this.
__________________
ozrich is offline
Sh4d0ww
Junior Member
Join Date: Mar 2019
Old 04-16-2019 , 11:53   Re: Connect Announce
Reply With Quote #887

Spoiler



I discovered my problem, just the sandboxie, where in certain configuration files I need to open with this program to modify the ".cfg / txt ..." because I run my server inside it, now I was able to leave as I wanted, thanks for the attention.

Last edited by Sh4d0ww; 04-17-2019 at 19:42. Reason: Issue solved
Sh4d0ww is offline
Ja-Forces
Senior Member
Join Date: Jul 2009
Location: Leningrad
Old 05-10-2019 , 17:53   Re: Connect Announce
Reply With Quote #888

VERSION 1.8.3

* Converted plugin source to the latest syntax utilizing methodmaps
* GeoIP2 is now included with SourceMod 1.11.6703 (https://forums.alliedmods.net/showthread.php?t=311477)

-----------------------------------------------------------------------

LATEST DATABASE CAN BE DOWNLOAD FROM THIS LINK
Put downloaded ( ONLY ONE ' GeoLite2-City.mmdb ' ) file in to ...addons/sourcemod/configs/geoip

>>> Source on Github <<<
Attached Files
File Type: zip cannounce_1.8.3.zip (67.7 KB, 155 views)
__________________

Last edited by Ja-Forces; 09-05-2023 at 04:23. Reason: * Updated to new-syntax rules
Ja-Forces is offline
DPT
Member
Join Date: Jun 2011
Old 07-16-2019 , 10:02   Re: Connect Announce
Reply With Quote #889

Plugin works well in my CSGO server except that the sound isn't being played once a person disconnects / connects even the the cvars are set to 1. On the server console, it says sv_startsound not precached (0) etc etc.

Last edited by DPT; 07-16-2019 at 10:04.
DPT is offline
dantheman06
Member
Join Date: Nov 2010
Old 09-04-2019 , 22:55   Re: Connect Announce
Reply With Quote #890

sm_cvar sm_ca_playsound 1

When I put this on the server it reads it but no sound comes on.Is there a default one that comes with this or do I have to add one?


Also what is the setting so it doesnt show the steam id when people join?

Thanks,

Dan

Last edited by dantheman06; 09-05-2019 at 00:08.
dantheman06 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 04:06.


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