accounts that can only be logged in from a certain IP? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: accounts that can only be logged in from a certain IP? (
/showthread.php?tid=340293)
accounts that can only be logged in from a certain IP? -
xXitsgodzillaXx - 06.05.2012
So, lately someone has been managing to get in my admin accounts, I'm using "LuxAdmin" but they keep getting my password, i was curious if there was any way if i could make it so that name can only connect to the server from the original IP adress? im assuming i would have to have a MySql server for it?
Re: accounts that can only be logged in from a certain IP? -
Shabi RoxX - 06.05.2012
nope u can even check no matter ini or sq on login if player current ip is same as store in player data file.
Re: accounts that can only be logged in from a certain IP? -
xXitsgodzillaXx - 06.05.2012
oh well, thanks anyways.
Re: accounts that can only be logged in from a certain IP? -
Mento - 06.05.2012
You can do it, just when the player connects get their IP, and compare it to the one that is saved in their player account, and if doesn't match, Kick(playerid);
Re: accounts that can only be logged in from a certain IP? -
MP2 - 06.05.2012
Are your passwords encrypted? Work out how they are getting it and fix it.