28.04.2012, 02:33
[Include] Ip Locator Adds Callback OnRetrieveIpLocation(playerid, country[], city[])
28.04.2012, 09:59
Quote:
@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. |
28.04.2012, 11:22
Nice Include i useing it, thanks
28.04.2012, 13:44
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.
28.04.2012, 16:10
(
Last edited by iggy1; 28/04/2012 at 06:12 PM.
Reason: repeated myself :confused:
)
Quote:
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. |
Line 1:
pawn Code:
#if !defined _samp_included
@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.
30.04.2012, 13:27
Very nice include mate, good job!
-FalconX
-FalconX
08.07.2012, 09:54
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.
08.07.2012, 17:38
I have updated the link, i must have changed something last minute without compiling. Sorry about that.
09.07.2012, 06:58
I see only this link http://dl.dropbox.com/u/76608104/iploc1.1.inc
What's the new?
What's the new?
09.07.2012, 07:03
Edit: Fixed.
19.02.2013, 18:28
I included .inc file but I have errors
how to fix?
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.
19.02.2013, 21:46
Nice, kinda useful I will try it
21.06.2014, 17:41
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 ?
« Next Oldest | Next Newest »
Users browsing this thread: 3 Guest(s)