Raised This Month: $40 Target: $400
 10% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 10-16-2012 , 07:00   Re: MetaMod: SpecialGeoip 1.0 [2011 C Sources] Linux + AMXX Connectors
Reply With Quote #21

Quote:
Originally Posted by Arkshine View Post
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 )
Thank you very much, Arkshine, definitely many persons were waiting for that.

--------------------------------

Edit on October 16, 2012

Tested, it works properly, like a charm!
__________________

Last edited by claudiuhks; 10-16-2012 at 17:16.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
bLacK-bLooD
AlliedModders Donor
Join Date: Jun 2008
Old 10-25-2012 , 13:13   Re: MetaMod: SpecialGeoip v1.0 [2011 C Sources] Linux + Windows
Reply With Quote #22

Code:
L 10/25/2012 - 19:36:14: -------- Mapchange to de_dust2 --------
L 10/25/2012 - 19:36:14: [AMXX] Plugin "SpecialGeoipAnnounce.amxx" failed to load: Module/Library "SpecialGeoip" required for plugin. Check modules.ini.
Why is this happening?
__________________
We all live under the same sky but we have different horizons.

Last edited by bLacK-bLooD; 10-25-2012 at 13:39.
bLacK-bLooD is offline
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 10-25-2012 , 13:55   Re: MetaMod: SpecialGeoip v1.0 [2011 C Sources] Linux + Windows
Reply With Quote #23

Quote:
Originally Posted by bLacK-bLooD View Post
Code:
L 10/25/2012 - 19:36:14: -------- Mapchange to de_dust2 --------
L 10/25/2012 - 19:36:14: [AMXX] Plugin "SpecialGeoipAnnounce.amxx" failed to load: Module/Library "SpecialGeoip" required for plugin. Check modules.ini.
Why is this happening?
Show meta list command. SpecialGeoip module must be loaded.
__________________
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 10-25-2012 , 14:25   Re: MetaMod: SpecialGeoip v1.0 [2011 C Sources] Linux + Windows
Reply With Quote #24

No. You have to install SpecialGeoip.amxx then SpecialGeoipAnnounce.amxx. The first one is the AMX Mod X connector. How a plugin to work without a connector?
__________________
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-25-2012 , 15:12   Re: MetaMod: SpecialGeoip v1.0 [2011 C Sources] Linux + Windows
Reply With Quote #25

If you have already AMXX installed, and you want to show only country/city, like you showed in your picture, it's not recommended to use this module. (Sorry, claudiuhks )
__________________

Last edited by Arkshine; 10-25-2012 at 15:13.
Arkshine is offline
bLacK-bLooD
AlliedModders Donor
Join Date: Jun 2008
Old 10-25-2012 , 15:25   Re: MetaMod: SpecialGeoip v1.0 [2011 C Sources] Linux + Windows
Reply With Quote #26

Quote:
Originally Posted by Arkshine View Post
If you have already AMXX installed, and you want to show only country/city, like you showed in your picture, it's not recommended to use this module. (Sorry, claudiuhks )
Well, and if i want only to show country and city, like i showed in the picture, what is recommended to use?
__________________
We all live under the same sky but we have different horizons.
bLacK-bLooD is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-25-2012 , 15:34   Re: MetaMod: SpecialGeoip v1.0 [2011 C Sources] Linux + Windows
Reply With Quote #27

This one : http://forums.alliedmods.net/showthread.php?t=95665 ; and I don't say that because it's my module, but SpecialGeoip uses a file to store datas, and to be used with AMXX you need a "connector" but the whole thing is very inefficient/slow. The module is useful if you have only metamod. Since you have AMXX, way better to use the direct way by using an AMXX module.
__________________

Last edited by Arkshine; 10-25-2012 at 15:36.
Arkshine is offline
bLacK-bLooD
AlliedModders Donor
Join Date: Jun 2008
Old 10-25-2012 , 15:42   Re: MetaMod: SpecialGeoip v1.0 [2011 C Sources] Linux + Windows
Reply With Quote #28

Quote:
Originally Posted by Arkshine View Post
This one : http://forums.alliedmods.net/showthread.php?t=95665 ; and I don't say that because it's my module, but SpecialGeoip uses a file to store datas, and to be used with AMXX you need a "connector" but the whole thing is very inefficient/slow. The module is useful if you have only metamod. Since you have AMXX, way better to use the direct way by using an AMXX module.
This sounds quite solid and well structured, but the main problem is that i am still in the process of learning amxx scripting, so at this moment i am not able to write a code by myself doing what i said i would want it to do. I mean just the code, i can deal with the installation of the module.
__________________
We all live under the same sky but we have different horizons.
bLacK-bLooD is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-25-2012 , 15:51   Re: MetaMod: SpecialGeoip v1.0 [2011 C Sources] Linux + Windows
Reply With Quote #29

Request a plugin in the appropriate section so.
__________________
Arkshine is offline
Old 10-27-2012, 05:53
xakintosh
This message has been deleted by xakintosh. Reason: Compiled Localy may fix my problem
Shumaxer96
Senior Member
Join Date: Jun 2011
Old 11-14-2012 , 15:25   Re: MetaMod: SpecialGeoip v1.0 [2011 C Sources] Linux + Windows
Reply With Quote #30

i dont understend how to istal this modul for windows :S
Shumaxer96 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 09:05.


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