matthiasvegh Posted July 16, 2007 Share Posted July 16, 2007 ok, if i know correctly, by the first 2 parts of an ip address (ie.: the 85.66 of 85.66.164.208) you could be able to identify a players current location. if this is true then you should be able to make a script that identifies the country right? i would make an ini of all subnets and add a country value to it ie.: IPLocations.ini IPCodes85.66 = Hungary something like this, of course, if we dont want to make the code like..: if getip(player) = 84.******** return country 1elseif getip (player) = 85.***** return country 2 etc.... then your gonna have to make the script do this by itsself. any ideas?? thx Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now