Re: Ip Locator Adds Callback OnRetrieveIpLocation(playerid, country[], city[]) -
Niko_boy - 28.04.2012
Quote:
Originally Posted by iggy1
EDIT: Re-written should work fine now. I never did find the bug but i have made the code a lot smaller and more efficient. I don't see any reason why this wouldn't work on linux.
|
Oh no :/ it was city part i liked it more but fuu GREEDY SITES
|
Re: Ip Locator Adds Callback OnRetrieveIpLocation(playerid, country[], city[]) -
Michael@Belgium - 28.04.2012
Quote:
Originally Posted by iggy1
@Michael@Belgium Thanks for the report i never thought i'd need to test on linux TBH.
I will re-write it now.
Is it just the player who crashes or the server?
EDIT: Re-written should work fine now. I never did find the bug but i have made the code a lot smaller and more efficient. I don't see any reason why this wouldn't work on linux.
|
Yes the player crash. When joining server ... 2 sec later -> timeout.
Re: Ip Locator Adds Callback OnRetrieveIpLocation(playerid, country[], city[]) -
James Coral - 28.04.2012
Nice Include
i useing it, thanks
Respuesta: Ip Locator Adds Callback OnRetrieveIpLocation(playerid, country[], city[]) -
Manuel7284 - 28.04.2012
Code:
C:\Users\\-\-\\Documents\-\-\pawno\include\iploc.inc(1) : error 010: invalid function or declaration
C:\Users\\-\-\\Documents\-\-\pawno\include\iploc.inc(7) : error 026: no matching "#if..."
C:\Users\\-\-\Documents\-\-\ip.pwn(11) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Errors.
Help...
Re: Respuesta: Ip Locator Adds Callback OnRetrieveIpLocation(playerid, country[], city[]) -
iggy1 - 28.04.2012
Quote:
Originally Posted by Manuel7284
Code:
C:\Users\\-\-\\Documents\-\-\pawno\include\iploc.inc(1) : error 010: invalid function or declaration
C:\Users\\-\-\\Documents\-\-\pawno\include\iploc.inc(7) : error 026: no matching "#if..."
C:\Users\\-\-\Documents\-\-\ip.pwn(11) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Errors.
Help...
|
Looks like you never copied the code correct, since the matching "#if" on line 7 - is on line 1.
Line 1:
pawn Code:
#if !defined _samp_included
That isn't invalid.
@Michael@Belgium Thanks very much for testing it again, it's the first time i have used HTTP func and I'm not sure how it works, I'm posting in scripting discussion now for advice.
Re: Ip Locator Adds Callback OnRetrieveIpLocation(playerid, country[], city[]) -
FalconX - 30.04.2012
Very nice include mate, good job!
-FalconX
Respuesta: Ip Locator Adds Callback OnRetrieveIpLocation(playerid, country[], city[]) -
Dovahkiin96 - 08.07.2012
I've got this error:
Code:
C:\Users\Paolo\Desktop\ServerMacros\pawno\include\iploc.inc(65) : error 017: undefined symbol "szCountryBuff"
C:\Users\Paolo\Desktop\ServerMacros\pawno\include\iploc.inc(69) : error 017: undefined symbol "szCountryBuff"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Re: Ip Locator Adds Callback OnRetrieveIpLocation(playerid, country[], city[]) -
iggy1 - 08.07.2012
I have updated the link, i must have changed something last minute without compiling. Sorry about that.
Re: Ip Locator Adds Callback OnRetrieveIpLocation(playerid, country[], city[]) -
Dovahkiin96 - 09.07.2012
I see only this link
http://dl.dropbox.com/u/76608104/iploc1.1.inc
What's the new?
Re: Ip Locator Adds Callback OnRetrieveIpLocation(playerid, country[], city[]) -
Dovahkiin96 - 09.07.2012
Edit: Fixed.
Re: Ip Locator Adds Callback OnRetrieveIpLocation(playerid, country[], city[]) -
AhmadKing - 19.02.2013
I included .inc file but I have errors
Code:
C:\Users\hp\Desktop\s4-host\filterscripts\gm.pwn(10) : error 031: unknown directive
C:\Users\hp\Desktop\s4-host\filterscripts\gm.pwn(5045) : warning 235: public function lacks forward declaration (symbol "OnRetrieveIpLocation")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
how to fix?
Re: Ip Locator Adds Callback OnRetrieveIpLocation(playerid, country[], city[]) -
RuthlessThuG - 19.02.2013
Nice, kinda useful I will try it
Re: Ip Locator Adds Callback OnRetrieveIpLocation(playerid, country[], city[]) -
Juvanii - 21.06.2014
Why did you choose "http://www.hostip.info" for locating the ip ? if somebody is from your country and joined the server, it say's "Private Country" or am i wrong ?