Raised This Month: $71 Target: $400
 17% 

Module: GeoIP+ (v1.3)


Post New Thread Reply   
 
Thread Tools Display Modes
ish12321
Veteran Member
Join Date: May 2016
Old 11-15-2016 , 06:38   Re: Module: GeoIP+ (v1.3)
Reply With Quote #211

Any idea of adding 1 more native
get_ISP
To get the name of ISP by IP if possible ?
__________________
['O|s|G'] | Death Wins a.k.a Ish Chhabra was here
ish12321 is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 11-15-2016 , 11:12   Re: Module: GeoIP+ (v1.3)
Reply With Quote #212

Why?
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
ish12321
Veteran Member
Join Date: May 2016
Old 11-15-2016 , 11:33   Re: Module: GeoIP+ (v1.3)
Reply With Quote #213

Just asking
As in our countries there are few ISP's which are very bad
People say they lag so if we know their ISP we can tell if it's due to their internet (ISP) or our server
__________________
['O|s|G'] | Death Wins a.k.a Ish Chhabra was here
ish12321 is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 11-15-2016 , 16:11   Re: Module: GeoIP+ (v1.3)
Reply With Quote #214

You can just tell them that by their connection quality(ping amount & stability, loss, etc).
__________________
Zombie Plague Nightmare Mod + all sub-plugins
Appreciate my help or want to support me release awesome plugins?
PayPal
Donate Steam games or items

georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
Old 12-28-2016, 04:43
shehzad1234
This message has been deleted by shehzad1234.
ish12321
Veteran Member
Join Date: May 2016
Old 12-28-2016 , 04:47   Re: Module: GeoIP+ (v1.3)
Reply With Quote #215

szIP and szIp are not same
AMXMODx is a case sensitive
So make that P also capital else change case for complete others too
__________________
['O|s|G'] | Death Wins a.k.a Ish Chhabra was here
ish12321 is offline
shehzad1234
Senior Member
Join Date: Jan 2016
Old 12-28-2016 , 05:06   Re: Module: GeoIP+ (v1.3)
Reply With Quote #216

Quote:
Originally Posted by ish12321 View Post
szIP and szIp are not same
AMXMODx is a case sensitive
So make that P also capital else change case for complete others too
ok ish now see error.

PHP Code:
#include <amxmodx>
#include <geoip>
#include <colorchat>

#define PLUGIN "Test plugin by shehzad"
#define VERSION "1.0"
#define AUTHOR "Muhammad shehzad"

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
   }
public 
client_putinserver(id

    
set_task(10.0"OwnerWelcome"id

public 
OwnerWelcome(id)
{
    if( !
is_user_bot(id) ) { 
    new 
szName[32], szIP[21], szCountry[46], szCity[21]
    
get_user_name(idszNamecharsmax(szName))
    
get_user_ip(idszIPcharsmax(szIP))
    
geoip_country(szIPszCountrycharsmax(szCountry))
    
geoip_city(szIPszCitycharsmax(szCity))
         
        if( 
get_user_flags(id) & ADMIN_RCON 
            
ColorChat(0GREY"^4P[K]K^3 OWNER^4 %s ^3has connected! ^1[^4Country^1:^3%s^1][^4City^1:^3%s^1]"szNameszCountryszCity);
    else  if( 
get_user_flags(id) & ADMIN_KICK )
            
ColorChat(0GREY"^4P[K]K^3 Admin^4 %s ^3has connected! ^1[^4Country^1:^3%s^1][^4City^1:^3%s^1]"szNameszCountryszCity);
        else
            
ColorChat(0GREY"^4P[K]K^3 Player^4 %s ^3has connected! ^1[^4Country^1:^3%s^1][^4City^1:^3%s^1]"szNameszCountryszCity); 
         
    } 
}
public 
client_disconnectid )
{
    if( !
is_user_bot(id) )

    new 
szName[32], szIP[21], szCountry[46], szCity[21]
    
get_user_name(idszNamecharsmax(szName))
    
get_user_ip(idszIPcharsmax(szIP))
    
geoip_country(szIPszCountrycharsmax(szCountry))
    
geoip_city(szIPszCitycharsmax(szCity))  
         
        if( 
get_user_flags(id) & ADMIN_RCON 
            
ColorChat(0GREY"^4P[K]K^3 OWNER^4 %s ^3has disconnected! ^1[^4Country^1:^3%s^1][^4City^1:^3%s^1]"szNameszCountryszCity); 
        else  if( 
get_user_flags(id) & ADMIN_KICK 
            
ColorChat(0GREY"^4P[K]K^3 Admin^4 %s ^3has disconnected! ^1[^4Country^1:^3%s^1][^4City^1:^3%s^1]"szNameszCountryszCity);
        else
            
ColorChat(0GREY"^4P[K]K^3 Player^4 %s ^3has disconnected! ^1[^4Country^1:^3%s^1][^4City^1:^3%s^1]"szNameszCountryszCity); 
 
    } 

errors
Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2013 ITB CompuPhase, AMX Mod X Team

Error: Undefined symbol "geoip_city" on line 23
Error: Number of arguments does not match definition on line 23
Error: Undefined symbol "geoip_city" on line 42
Error: Number of arguments does not match definition on line 42

4 Errors.
Could not locate output file C:\Users\shehzad\Desktop\my plugin\owner_player_welcome.amx (compile failed).
__________________
Contact : Facebook
All Join -=}BBI{=- Hns Server :- 103.50.161.8:10001
shehzad1234 is offline
silsfocs
Member
Join Date: Oct 2016
Location: Ocidental Praia Lusitana
Old 12-28-2016 , 18:12   Re: Module: GeoIP+ (v1.3)
Reply With Quote #217

YOU GOT THE OLD GEOIP.INC FILE!
for the last time update it!
and then compile it again!
that's the third post from you in differents treads!
silsfocs is offline
Andrey777
New Member
Join Date: Mar 2017
Old 03-16-2017 , 12:19   Re: Module: GeoIP+ (v1.3)
Reply With Quote #218

Можно ли изменить название стран на русский?

Andrey777 is offline
dimmrus
New Member
Join Date: Nov 2018
Old Yesterday , 12:34   Re: Module: GeoIP+ (v1.3)
Reply With Quote #219

cat it be used with amxx plug ins ? or only amx ?
dimmrus 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 03:40.


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