Quote:
Originally Posted by chrsschb
Hey if I do a binary update (running 233 right now) do I need to worry about the updates overwriting anything I've changed thus far?
|
None of the updates you do for the server code should cause any problems with changes you have made to the database. The only thing that can is if you update the database as well. It is always good to keep regular database backups just in case though and I do one before each time I update my server.
As for the alternate login server setup, I was thinking about it a bit. It could probably use it's own thread just for discussing it, since it isn't really the main subject of this thread. But, my ideas so far would be to setup a way to have both the normal login server, and also a backup mini-login type login server that is used only when the main LS is down. My idea is to create a command that allows players to set a password for their account manually on the server they play on. Basically, they would enter a password from in game and it would encrypt it with MD5 and save it to the accounts table. Then, when the login server was down, after not being able to reach it for a minute or 2, the server would then connect to it's own mini login server if it was setup and running. Players could probably edit their eqhost.txt and set both the normal login server and their main play server's mini login in there too. So, if it can't reach the normal LS, it would try to connect to the mini login for that server. If the password had been set while they were using the normal LS, it would verify that the person who set it should be the right person to use that account. It wouldn't allow new accounts to connect, or accounts that hadn't set their password yet, but I think that would still be better than no one being able to login at all while it was down. Then, the server keeps trying to connect to the normal Login Server while it is running the mini login and if it is able to connect and stay connected for a couple of minute, it would switch itself back to using the normal LS instead of the mini login.
I haven't really messed with the mini login stuff much, but I imagine something like this would work and be as secure as possible. The only way to do it better would be if we had a way to keep a mirror login server somewhere and have it sync it's database with the normal LS pretty often.