Log in

View Full Version : Interesting Issue


reddogut
05-22-2009, 06:32 PM
I have a local minilogin server running on my PC (535, running great) So I created two accounts: admin with a status of 250 and a minilogin_ip of 127.0.0.1 and player with a status of 0 and a minilogin_ip of 127.0.0.1.

I log in with admin and create a character and play him. Then after loging off the admin account (and completely shutting down the PC and restarting it) I login later with my player account and I can see and play the character I created with my admin account. Is that normal?

I checked the account table and there are definately two accounts with two different ID's (admin account ID=1 and player account ID=2) and I checked the characters table and verified that my admin account character is tied to account ID 1.

Any ideas?

Shendare
05-22-2009, 06:42 PM
Minilogin doesn't use your username and password for authentication. It logs you in solely by your IP address.

Therefore, if both accounts are set to be logged in from the same IP address, Minilogin will choose the first one from the list that the database happens to pass to it.

To use multiple logins with Minilogin, you have to use different IP addresses, or update the Account table to set the desired account's IP address to your current one before logging in.