Raised This Month: $ Target: $400
 0% 

Module: Special Geoip v1.0.0.1 (Linux + Windows)


Post New Thread Reply   
 
Thread Tools Display Modes
aSu1
Junior Member
Join Date: Sep 2012
Old 04-22-2014 , 07:16   Re: Module: Special Geoip v1.0.0.1 (Linux + Windows)
Reply With Quote #61

Hy.
http://************/image/cpic01z1r/ why dont show country..
aSu1 is offline
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 04-22-2014 , 16:56   Re: Module: Special Geoip v1.0.0.1 (Linux + Windows)
Reply With Quote #62

Quote:
Originally Posted by aSu1 View Post
Hy.
http://************/image/cpic01z1r/ why dont show country..
This is just a module, a development one. I will create a plugin for that.
__________________
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
souvikdas95
Senior Member
Join Date: Mar 2012
Old 04-22-2014 , 17:02   Re: Module: Special Geoip v1.0.0.1 (Linux + Windows)
Reply With Quote #63

maybe do the honour of answering me as well.. GeoIP2 is on the roll... much accurate... can you use that now?
souvikdas95 is offline
hichamera
Senior Member
Join Date: Feb 2014
Location: Algeria
Old 04-22-2014 , 17:32   Re: Module: Special Geoip v1.0.0.1 (Linux + Windows)
Reply With Quote #64

hattrick ¨PLugin Spectating & from - city make one for CLassic With level :p To Mé And seend private :p :p
__________________

Try & Try & Try Nothing Is impossible
hichamera is offline
Send a message via Skype™ to hichamera
smiley92
Senior Member
Join Date: Jun 2011
Location: Romania
Old 05-26-2014 , 15:12   Re: Module: Special Geoip v1.0.0.1 (Linux + Windows)
Reply With Quote #65

Posteaza si pluginul/urile sa arate tara si orasul de unde se conecteaza, cum era inainte...
smiley92 is offline
R@OUFE
Member
Join Date: Jul 2014
Old 08-26-2014 , 08:48   Re: Module: Special Geoip v1.0.0.1 (Linux + Windows)
Reply With Quote #66

who have this 2 incoulde
SpecialGeoipConst.inc
SpecialGeoip.inc
R@OUFE is offline
RateX
Veteran Member
Join Date: Jun 2012
Location: 0o. SEA .o0
Old 08-26-2014 , 10:35   Re: Module: Special Geoip v1.0.0.1 (Linux + Windows)
Reply With Quote #67

What the hell is wrong with you? SpecialGeoip.inc is right in the first post.
Stop asking people to give you stuff and start searching

Last edited by RateX; 08-26-2014 at 10:37.
RateX is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-27-2014 , 07:58   Re: Module: Special Geoip v1.0.0.1 (Linux + Windows)
Reply With Quote #68

Quote:
Originally Posted by R@OUFE View Post
who have this 2 incoulde
SpecialGeoipConst.inc
SpecialGeoip.inc
You are lazy or you can't read a simple theard. Right under the image is a big link called DOWNLOAD. I hope this is enough for you.
__________________
HamletEagle is offline
BaD CopY
Senior Member
Join Date: Oct 2014
Location: Home
Old 10-13-2014 , 04:08   Re: Module: Special Geoip v1.0.0.1 (Linux + Windows)
Reply With Quote #69

I make plugin using Special GeoIP but I need some help.

PHP Code:
#include < amxmodx >
#include < special_geoip >

#define PLUGIN "Connect Message"
#define VERSION "v1"
#define AUTHOR "[BaD CopY"

new const g_Address[] =    "24.44.246.135";

public 
plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)

}

public 
client_putinserver(id)
{
    
set_task(3.0"pb_geoip"id)
}

public 
pb_geoip(id)
{
        new 
Name[33]
    new 
Country[64]
    new 
City[64]
    
    
get_user_name(idName32)
    
GeoipInfo(g_AddressGI_CountryCountrycharsmax(Country));
    
GeoipInfo(g_AddressGI_CityCitycharsmax(City));
    
    
ColorChat(0GREEN"^1Player ^4%s ^1connected from [^4%s^1] [^4%s^1]."NameCountryCity)

Plugin work fine and I can compile it without errors but... here is problem:
PHP Code:
new const g_Address[] =    "24.44.246.135"
I am from Bosnia and Herzegovina, Sarajevo. I connect to the server and I can see message "Player [BaD CopY connect from the (ip country)". How can I make to get_user_g_Addres To show player's country and city, not from IP I add ?
BaD CopY is offline
Send a message via Yahoo to BaD CopY Send a message via Skype™ to BaD CopY
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 10-14-2014 , 00:10   Re: Module: Special Geoip v1.0.0.1 (Linux + Windows)
Reply With Quote #70

I suggest Get User Ip.

PHP Code:
static Ip[128];
get_user_ip(clientIdIpcharsmax(Ip), /*stripPort=TRUE*/); 
Per-clientId tasks should check whether or not the client is in-game.
Add the code below.

PHP Code:
if (!is_user_connected(clientId))
  return; 
Furthermore, AMX Mod X already includes the GeoIP City/ Region feature. Download the latest version of AMX Mod X.
You just need modules/geoip and scripting/include/geoip.
__________________

Last edited by claudiuhks; 10-14-2014 at 00:14.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
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 03:21.


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