Raised This Month: $ Target: $400
 0% 

Connect Announce


Post New Thread Reply   
 
Thread Tools Display Modes
VSG
Junior Member
Join Date: May 2019
Location: Britain for now
Old 07-10-2020 , 21:11   Re: Connect Announce
Reply With Quote #911

I tried testing this plugin -which is awesome btw- on a more recent sourcemod version, before I was running it on 1.8 and now, 1.10. It still works even without compiling it. On linux.

The problem is, GeoIP databases are not updated anymore and the last one is quite outdated now, from February.

A manual workaround would be nice, I can suggest 2 sites where I found some legacy material and somebody could tell us which one is the right one to upload:

https://www.miyuru.lk/geoiplegacy

https://mailfud.org/geoip-legacy/
VSG is offline
flashing
Member
Join Date: Jul 2019
Location: Delhi, India
Old 07-11-2020 , 03:00   Re: Connect Announce
Reply With Quote #912

Quote:
Originally Posted by VSG View Post
I tried testing this plugin -which is awesome btw- on a more recent sourcemod version, before I was running it on 1.8 and now, 1.10. It still works even without compiling it. On linux.

The problem is, GeoIP databases are not updated anymore and the last one is quite outdated now, from February.

A manual workaround would be nice, I can suggest 2 sites where I found some legacy material and somebody could tell us which one is the right one to upload:

https://www.miyuru.lk/geoiplegacy

https://mailfud.org/geoip-legacy/
you have to use this extension https://github.com/Accelerator74/GeoIP2 which uses new database format from MaxMind .mmdb
then download and use the latest database file from here https://dev.maxmind.com/geoip/geoip2/geolite2/
__________________

        Discord: FLASHING#8548
              Steam

Last edited by flashing; 07-11-2020 at 03:02.
flashing is offline
Ja-Forces
Senior Member
Join Date: Jul 2009
Location: Leningrad
Old 07-11-2020 , 05:55   Re: Connect Announce
Reply With Quote #913

https://forums.alliedmods.net/showpo...&postcount=888
__________________
Ja-Forces is offline
Coz
New Member
Join Date: Jul 2020
Old 07-12-2020 , 02:57   Re: Connect Announce
Reply With Quote #914

can you change this
"messages_admin"
{
"playerjoin" "{PLAYERTYPE} {GREEN}{PLAYERNAME} {DEFAULT}<{LIGHTGREEN}{STEAMID}{DEFAULT}> connected from country {GREEN}{PLAYERCOUNTRY} {DEFAULT}({LIGHTGREEN}{PLAYERCOUNTRYSHORT}{DE FAULT}), IP {GREEN}{PLAYERIP}"
"playerdisc" "{PLAYERTYPE} {GREEN}{PLAYERNAME} {DEFAULT}<{LIGHTGREEN}{STEAMID}{DEFAULT}> from country {GREEN}{PLAYERCOUNTRY} {DEFAULT}({LIGHTGREEN}{PLAYERCOUNTRYSHORT}{DE FAULT}) disconnected from IP {GREEN}{PLAYERIP}{GREEN}reason: {DEFAULT}{DISC_REASON}"
}


to this ? After I did this nothing happened . I unloaded the plugin and loaded it back but still nothing .
"messages_admin"
{
"playerjoin" "{PLAYERTYPE} {GREEN}{PLAYERNAME} s-a conectat pe server !"
"playerdisc" "{PLAYERTYPE} {GREEN}{PLAYERNAME} {DEFAULT}<{LIGHTGREEN}{STEAMID}{DEFAULT}> from country {GREEN}{PLAYERCOUNTRY} {DEFAULT}({LIGHTGREEN}{PLAYERCOUNTRYSHORT}{DE FAULT}) disconnected from IP {GREEN}{PLAYERIP}{GREEN}reason: {DEFAULT}{DISC_REASON}"
}

Last edited by Coz; 07-12-2020 at 02:58.
Coz is offline
VSG
Junior Member
Join Date: May 2019
Location: Britain for now
Old 07-12-2020 , 11:18   Re: Connect Announce
Reply With Quote #915

Thanks for your help, @flashing and @Ja-Forces, much appreciated. I'll try with that soon again and post how it went.
__________________
VSG is offline
Ja-Forces
Senior Member
Join Date: Jul 2009
Location: Leningrad
Old 07-15-2020 , 05:32   Re: Connect Announce
Reply With Quote #916

Quote:
Originally Posted by Coz View Post
can you change this
"messages_admin"
{
"playerjoin" "{PLAYERTYPE} {GREEN}{PLAYERNAME} {DEFAULT}<{LIGHTGREEN}{STEAMID}{DEFAULT}> connected from country {GREEN}{PLAYERCOUNTRY} {DEFAULT}({LIGHTGREEN}{PLAYERCOUNTRYSHORT}{DE FAULT}), IP {GREEN}{PLAYERIP}"
"playerdisc" "{PLAYERTYPE} {GREEN}{PLAYERNAME} {DEFAULT}<{LIGHTGREEN}{STEAMID}{DEFAULT}> from country {GREEN}{PLAYERCOUNTRY} {DEFAULT}({LIGHTGREEN}{PLAYERCOUNTRYSHORT}{DE FAULT}) disconnected from IP {GREEN}{PLAYERIP}{GREEN}reason: {DEFAULT}{DISC_REASON}"
}


to this ? After I did this nothing happened . I unloaded the plugin and loaded it back but still nothing .
"messages_admin"
{
"playerjoin" "{PLAYERTYPE} {GREEN}{PLAYERNAME} s-a conectat pe server !"
"playerdisc" "{PLAYERTYPE} {GREEN}{PLAYERNAME} {DEFAULT}<{LIGHTGREEN}{STEAMID}{DEFAULT}> from country {GREEN}{PLAYERCOUNTRY} {DEFAULT}({LIGHTGREEN}{PLAYERCOUNTRYSHORT}{DE FAULT}) disconnected from IP {GREEN}{PLAYERIP}{GREEN}reason: {DEFAULT}{DISC_REASON}"
}
after loading plugin, file 'addons/sourcemod/data/cannounce_settings.txt' gets created which can be used to change the connect/disconnect messages. Here you can customise the standard messages and the ones displayed to admins when sm_ca_showenhancedadmins is set.
__________________
Ja-Forces is offline
Reply


Thread Tools
Display Modes

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 08:21.


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