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

Connect Announce


Post New Thread Reply   
 
Thread Tools Display Modes
Arg!
Veteran Member
Join Date: Jul 2008
Location: Australia
Old 12-02-2009 , 15:21   Re: Connect Announce
Reply With Quote #321

If the users IP address is not in the geoip.dat or if your connecting from a lan it will do that sure.

(Also from your example i had no idea localhost was in Hong Kong )
__________________
Arg! is offline
billabonker
Senior Member
Join Date: May 2009
Old 12-02-2009 , 20:37   Re: Connect Announce
Reply With Quote #322

so how DO i place the player's ip in geoip.dat
and it was an example -.-

and that was 2nd example was what i got when my friend entered when he was at home

Last edited by billabonker; 12-02-2009 at 20:41.
billabonker is offline
Arg!
Veteran Member
Join Date: Jul 2008
Location: Australia
Old 12-02-2009 , 20:40   Re: Connect Announce
Reply With Quote #323

the geoip.dat file is included in the sourcemod installation, im 99% sure it comes from these guys - http://www.maxmind.com/app/geoip_country

Although i havent tried this, you could attempt to download the latest from the above site and replace it in your sourcemod install (backup the original one first).

There is no way to add data to this file, afaik. It appears to be a propriety format.
__________________

Last edited by Arg!; 12-02-2009 at 21:19. Reason: formaT not formay
Arg! is offline
billabonker
Senior Member
Join Date: May 2009
Old 12-02-2009 , 23:07   Re: Connect Announce
Reply With Quote #324

still the same

Admin DarkAngeL[SG] <STEAM_1:1:24543538> connected from country Unknown (??), IP 127.0.0.1

still teh same!!

Last edited by billabonker; 12-02-2009 at 23:12.
billabonker is offline
Arg!
Veteran Member
Join Date: Jul 2008
Location: Australia
Old 12-02-2009 , 23:35   Re: Connect Announce
Reply With Quote #325

thats because you are connecting from localhost, not an internet IP
__________________
Arg! is offline
billabonker
Senior Member
Join Date: May 2009
Old 12-02-2009 , 23:45   Re: Connect Announce
Reply With Quote #326

im not connecting from localhost
my ip is different from 127.0.0.1
and my friends ip was 0.0.0.2 when he entered and when he joined in 4 times later on, he's ip became 0.0.0.6
how is this happening?
billabonker is offline
Arg!
Veteran Member
Join Date: Jul 2008
Location: Australia
Old 12-03-2009 , 00:45   Re: Connect Announce
Reply With Quote #327

that is very wrong....sounds like some funky network issues youve got there.

The geoip part of this plugin is simple, it takes what the source engine thinks your IP is and looks it up in the file, im not in a position to assist you beyond that.
__________________
Arg! is offline
billabonker
Senior Member
Join Date: May 2009
Old 12-03-2009 , 01:18   Re: Connect Announce
Reply With Quote #328

wait

GeoIPCity-534-Location.csv has a huge amount of data

maxmind FAQ

The particular cities in a database can actually vary from release to release depending on which ones have an IP address mapped to them. However, you can download our LocationID Table below to see all of the possible entries. To find the cities for a particular country, import the table into a RDBMS like MySQL or PostgreSQL and then sort by country.

is there a way to put GeoIPCity-534-Location.csv in a particular table in mysqL?

executing GeoIPCity-534-Location.csv

Script line: 1 MySQL server has gone away ERROR NO. 2006

details = approximately 111600 lines

columns

IP START, IP END , LATITUDE(if im not wrong) , LONGTITUDE (if im not wrong) , COUNTRY NICK , COUNTRY NAME

http://geolite.maxmind.com/download/...CountryCSV.zip for .csv file

Last edited by billabonker; 12-03-2009 at 01:30.
billabonker is offline
Arg!
Veteran Member
Join Date: Jul 2008
Location: Australia
Old 12-03-2009 , 03:01   Re: Connect Announce
Reply With Quote #329

bring it up with the sourcemod core development team. Like i said my plugin uses the sourcemod api which in turn uses the lite version of the geolookup file.
__________________
Arg! is offline
Asgardcfr
Junior Member
Join Date: May 2009
Old 12-04-2009 , 08:30   Re: Connect Announce
Reply With Quote #330

Hello,
Someone can post an example for the file cannounce_messages.txt

It doesn't appear when i connect to server
I would like to customize the greeting

Thanks
__________________
Left4dead2 Server
l4d1 server:91.121.64.184:27016 (Off CPU limited)
l4d2 server:91.121.64.184:27015
Asgardcfr 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 18:22.


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