(Help) Creating a Automatic Login System
#1

So, I would like to create a Auto Login System, that when you type in a specified command, it would save your password, and the next time you connect to the server, you wouldn't be prompted for your password, as it would log you in automatically. HOWEVER If possible, make it only save for one Ip address, to prevent players from hacking other players, just by taking their name. I would like to be shown how this would work. If you could, please
Reply
#2

I'm not an expert, but I'm pretty sure it's not possible.
Reply
#3

It is possible to do such, Realds.
Reply
#4

This is possible, Why don't you use MySQL and save the IP and check if it matches the clients current one to log them in?
Reply
#5

Quote:
Originally Posted by zT KiNgKoNg
Посмотреть сообщение
This is possible, Why don't you use MySQL and save the IP and check if it matches the clients current one to log them in?
That's a very bad idea, many players like me have dynamic ip. If the ip changes you lose your account? Besides that I can't figure out another way to match player with acount.
Reply
#6

Quote:
Originally Posted by HurtLocker
Посмотреть сообщение
That's a very bad idea, many players like me have dynamic ip. If the ip changes you lose your account? Besides that I can't figure out another way to match player with acount.
Dynamic IP is a IP address that doesn't change, do you mean Static IP? and If your address changed, you would be prompted for the password, easily done. I just don't know how to do this.
Reply
#7

Quote:
Originally Posted by Th3b3ast5
Посмотреть сообщение
Dynamic IP is a IP address that doesn't change, do you mean Static IP? and If your address changed, you would be prompted for the password, easily done. I just don't know how to do this.
A static IP is the one that doesn't change, dynamic does
Reply
#8

static means just that.. it does not change
dynamic means? yes it changes


simple todo this,
log the last ip used when the user logged in,
next time they go to connect check there name and last ip against the current ip,
if the ip's match bypass the password check.
when they donot match ask for password.

Iv done this on a lan server before, do not advise it on a public server.
Reply
#9

Quote:
Originally Posted by Jonny5
Посмотреть сообщение
static means just that.. it does not change
dynamic means? yes it changes


simple todo this,
log the last ip used when the user logged in,
next time they go to connect check there name and last ip against the current ip,
if the ip's match bypass the password check.
when they donot match ask for password.

Iv done this on a lan server before, do not advise it on a public server.
It'd be really useful to me at the moment, due to I'm running constant GMX's and I hate retyping my password every single time, and if you could I would be really thankful, if you could Pm me the layout for this, as I understand what you're talking about, I just don't know how to script it.
Reply
#10

Bump, anyone help?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)