View Single Post
n3wton
Senior Member
Join Date: Mar 2010
Old 04-15-2010 , 10:09   Re: [INC] GeoCity (Get Players City From IP)
Reply With Quote #3

Thanks, I know its been done before, but his code doesn't actually work, as sourcemod only allows up to a 16 bisgned integer, and there for if the first block of your IP address is greater than 128 it doesn't work.

1. Thanks, I didn't really know how to write an include, so I figured when I post my code, someone will be able to help me tidy it up

2. ok, read the wiki page, never new that thanks

3. So I should make a global query handle?

4. I tried adding thread cos I knew it would stop the lag, but they comfused the hell out of me lol. Anyone know of any examples/tutorials?

and Thanks

EDIT:
Updated the first post with modified code. points 1, 2 and 3 have been added, still looking into threaded querys

Yours
N3wton

Last edited by n3wton; 04-15-2010 at 10:27.
n3wton is offline