Raised This Month: $65 Target: $400
 16% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-31-2012 , 10:51   Re: MetaMod: SpecialGeoip 1.0 [2011 C Sources] Linux + AMXX Connectors
Reply With Quote #11

Sure, there is no others really suitable section. It's fine.
__________________
Arkshine is offline
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 08-31-2012 , 18:29   Re: MetaMod: SpecialGeoip 1.0 [2011 C Sources] Linux + AMXX Connectors
Reply With Quote #12

Quote:
Originally Posted by Shumaxer96 View Post
aaa this modul it's for linux i use windows
Hmm, I tried compiling it on Windows, but I got a few problems at MaxMind's source files.
Like pread function is undefined.

On Linux, I didn't get these errors. Files are just downloaded from MaxMind.

If someone may help me doing this extension on Windows it would be great. But I also would like to know why it sais that pread is undefined just on Windows.

But there are like eleven undefined functions, bad to hear 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
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-31-2012 , 20:18   Re: MetaMod: SpecialGeoip 1.0 [2011 C Sources] Linux + AMXX Connectors
Reply With Quote #13

I've somehow succeed to compile it, but it crashes right away when you start the server.
__________________
Arkshine is offline
Shumaxer96
Senior Member
Join Date: Jun 2011
Old 09-01-2012 , 04:00   Re: MetaMod: SpecialGeoip 1.0 [2011 C Sources] Linux + AMXX Connectors
Reply With Quote #14

csblackdebil zombie servers this is this modul ?
Shumaxer96 is offline
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 09-05-2012 , 17:35   Re: MetaMod: SpecialGeoip 1.0 [2011 C Sources] Linux + AMXX Connectors
Reply With Quote #15

Quote:
Originally Posted by Shumaxer96 View Post
csblackdebil zombie servers this is this modul ?
To see the MetaMod plugins from a server, type meta list in your game console while you are connected.
__________________

Last edited by claudiuhks; 09-05-2012 at 17:35.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
ScrappeR
Senior Member
Join Date: Dec 2010
Old 09-06-2012 , 14:07   Re: MetaMod: SpecialGeoip 1.0 [2011 C Sources] Linux + AMXX Connectors
Reply With Quote #16

[IMG]http://img69.**************/img69/2873/13609851.jpg[/IMG]

for geoips...
L 09/06/2012 - 18:28:52: -------- Mapchange to zm_ice_attack3 --------
L 09/06/2012 - 18:28:52: [GEOIP] Database info: GEO-106FREE 20080801 Build 1 Copyright (c) 2007 MaxMind LLC All Rights Reserved

I put .dat etc and look this
__________________

Last edited by ScrappeR; 09-06-2012 at 14:30.
ScrappeR is offline
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 09-06-2012 , 15:16   Re: MetaMod: SpecialGeoip 1.0 [2011 C Sources] Linux + AMXX Connectors
Reply With Quote #17

SpecialGeoip has no log information. It does not create any log data.
Please make sure you did everything needed from:

Installation

♠ Upload SpecialGeoip folder and special_geoip.so in your folder named addons
♠ Go to maxmind.com/download/geoip/database and download GeoLiteCity.dat.gz
♠ Uncompress it and rename it to SpecialGeoip.dat
♠ Upload it in addons/SpecialGeoip
♠ Attach it to MetaMod adding line linux addons/special_geoip.so in addons/metamod/plugins.ini
__________________
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
ScrappeR
Senior Member
Join Date: Dec 2010
Old 09-06-2012 , 20:00   Re: MetaMod: SpecialGeoip 1.0 [2011 C Sources] Linux + AMXX Connectors
Reply With Quote #18

Yes functions tnx, and my New State its Kosova how to get city ips or country pls ?
__________________
ScrappeR is offline
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 09-07-2012 , 14:02   Re: MetaMod: SpecialGeoip 1.0 [2011 C Sources] Linux + AMXX Connectors
Reply With Quote #19

What do you mean? May you please give more informations about what do you want to get?
It's really impossible for me to understand this:

"how to get city ips or country"

You may get the country with the native explained in the first post.
The IP address and the city also.
__________________

Last edited by claudiuhks; 09-07-2012 at 14:03.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-15-2012 , 20:18   Re: MetaMod: SpecialGeoip 1.0 [2011 C Sources] Linux + AMXX Connectors
Reply With Quote #20

I was playing with a metamod plugin, and I had trouble with crashes at startup, and figured out the problem was the metamod API written was not complete, something I've copied from another someone's project, when I should have just looked at the AMXX source code where a full and proper example already exist.

That's said, I've figured out it was the same for this project.

So, here a working version for windows.

@Author: In ClientPutInServer(), you should move GeoIPRecord_delete( Gr ); Gr = 0; in the check, otherwise it will crash if Gr is not found. (What I got from testing in local )
Attached Files
File Type: dll special_geoip.dll (221.5 KB, 277 views)
File Type: zip specialGeoip.zip (140.9 KB, 433 views)
__________________

Last edited by Arkshine; 10-16-2012 at 17:29.
Arkshine 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 06:19.


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