local login, remote login, minilogin
I'm working on a new tool to replace the magelo clone, and incorporate several more parts of server management. One of these parts is allowing users to create some accounts and do some proof of ownership of a game account. From there they can have a pre-validated character move, and character transfer and a few other things.... When I started this I was working off of remove login server, and/or minilogin server.
From what I understand EQEmu's server would allow you to create a login acct, then when logging in to a play server the accounts login is passed to the play server and added to the "accounts" table. The password field remains empty. This is all correct? For Mini login, it also uses the "accounts" table. A tool of some sort would have to be used to create new "minilogin" accounts, which would add an entry to this accounts table, and save their password in plain text. Is that all correct? With the issues PEQ is dealing with, from what I understand it is possible for a server to be running the full login server, but locally... i.e. not rellying on EQEmu to pass to username. In this scenario, the new accounts would be created in this NEW login server accounts table. Then when a person logs into the play server, the account would also get plugged into the accounts table. The password in this login server accounts table is SHA1 hashed. My plan for local login server was to create their account in the login server table, AND in the account table. Do I have a proper understanding of this situation... or am I way off on this? My plan was to just have an admin option of "local login server", "remote login server", "minilogin" and then have these things happen automatically in the background. For instance, if they select remote login, then it would deactivate the "create account" portions since that would be handled by another site... |
also if there is an existing php script for full login server account creation, and for mini login server account creation that would probably suffice, I could just go through the code and incorporate it that way....
|
Code:
DROP TABLE IF EXISTS `account`; Code:
INSERT INTO account (name,STATUS, minilogin_ip) VALUES('edgar1898',250,'127.0.0.1'); for full local login... i'd do something like Code:
INSERT INTO $loginservertable (name,password) VALUES('%s',SHA1(%s)); |
I run a LAN only server and still use mini login. The validation that takes place is strictly by IP and even though you can store a password for the account, it doesn't have any effect that I have ever seen. You can store a password in the table, and actually log in using anything in the 'password' field when logging in, and it still logs in just fine. IP validation in mini login is also a problem when attempting to run more than one client on the same machine - both accounts have the same IP and cause issues. If you change any IP addresses on your LAN router, this can cause you to log into someone else's account and vice versa (or not at all) due to the IP address stored in the account table.
As far as account creation tools for mini login, I never came across any myself (not saying none exist, just always went from the instructions in the old server setup guide), I just edit / update the account table IP's when needed and go. You may want to exclude mini login from the scope of your project to maintain your sanity. Just my 2 coppers worth. |
All times are GMT -4. The time now is 08:55 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.