[Plugin] GeoIP Plugin v0.1.4 (Country detector) - 04/05/2008
#41

Thanks 999x
Reply
#42

@ Reamis: FR.amx and FR.pwn have to be in the folder filterscripts not gamemodes.
Reply
#43

You can download up2date database versions from here:

http://www.maxmind.com/app/geolitecountry
and
http://www.maxmind.com/app/geolitecity (you have to rename GeoLiteCity.dat to GeoIPCity.dat)
Reply
#44

Quote:
Originally Posted by FUNExtreme
@ Reamis: FR.amx and FR.pwn have to be in the folder filterscripts not gamemodes.
I know, it's plugin problem.
Reply
#45

How can I make this to work only with
Код:
GetCountryCode
and to remove the others because I don't use City names and stuff so they just use space for nothing, thanks
Reply
#46

rly nice and useful man
Reply
#47

Nice,
But, if a player connected a It does lagg for 3 sec.
Reply
#48

Quote:
Originally Posted by »»[DG
тσкyσDяιFт[SU]™«« ]
Nice,
But, if a player connected a It does lagg for 3 sec.
Works fine for me.
Reply
#49

This is really nice last time I used it though I couldn't get it to work (was some time ago I was newb to PAWN lol). Has anybody successfully created a time function with this so that each player can have their own GMT show up on the clock?

I'll try to make my own when I get time, just wondering if anybody has attempted this yet? :P
Reply
#50

Good work ! Its very useful plugin , thanks
Reply
#51

makes the server lag out for a couple seconds each time a lookup is done
Reply
#52

Oh? I can't say I've come across that.... maybe you just need a good host? I can see why it's doing that though.... the look-up file is 26MB..................................
Reply
#53

Most of times it shows Private IP instead of country, dunno why, even if i know where these people are from. And they ain't from Africa or Antarctica.
Reply
#54

There was something similar to this made... a PAWN filterscript though... no plugin. I will search for it now. It's a shame this project is no longer developed


EDIT: Yah, http://forum.sa-mp.com/index.php?topic=110829.0
Reply
#55

Quote:
Originally Posted by [PTM
MaTrIx4057 ]
Most of times it shows Private IP instead of country, dunno why, even if i know where these people are from. And they ain't from Africa or Antarctica.
Get the latest update...

http://www.maxmind.com/app/geoip_country
Reply
#56

Uh, which one do you download? There is only CSV or IPv6.dat......
Reply
#57

Great!
Reply
#58

can anyone update this for 0.3b ?
Reply
#59

Quote:
Originally Posted by DarK TeaM PT
Посмотреть сообщение
can anyone update this for 0.3b ?
Why? It works and it doesn't manipulate the memory, so you do not have to update any addresses.

Quote:
Originally Posted by kurta999
Посмотреть сообщение
How i can run this plugin on linux ? ( Plugin doesn't started )

Loading pugin: GeoIP.so
Failed.

And server closing.
Add GeoIP instead of GeoIP.so in the config.
OR rename in the plugins folder "GeoIP" to "GeoIP.so"
(usually it is GeoIP.so, but the creator took "GeoIP" without .so as name)



Moreover I recompiled this plugin with a newer version if GeoIP (1.4.6)
http://www.jeffersongta.de/downloads/GeoIP-plugin.zip (too big for attachments)
Changelog : http://pastebin.com/67wkhVzp
But there are not any new functions. Just some fixes and more timezones and countries.

It also contains the update GeoIP.dat. Worked without any problems on linux/gnu and windows for me.


Edit: Iam thinking about adding "GeoIP_range_by_ip" : returns the start and end IP address for the range containing the IP address. Maybe I update this plugin again with this function.
Reply
#60

Cool, but it would be nice if someone actually made the GetPlayerCity work.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)