5.8 login
so i decided the play around with 5.8 but when booting my server to play with things
Code:
[Status] CURRENT_WORLD_VERSION:EQEMu 0.5.8 |
how did you get to source for 5.8? I tryed the cvs but i cant find anything
|
I'm getting the same errors, except my sessions keys are all not only wrong but also negative ;) Something I found interesting was one of the CVS version from the other day still used the old login server and thus the old client. I recieved the same error message with that version, except in that case the sessions keys were correct compared to what they are in the database. The other difference was when usernames not in the database try to connect with the newest CVS, you get the session key error, but on the older version I mentioned above, the client timed out with no error output to world. I guess it has something to do with the player profile. I was going to *try* to look at it today.
Oh, and CVS is found here: http://sourceforge.net/cvs/?group_id=88515 |
i said i went there and got nothing, tryed using wincvs and it said no modules were found
|
well i found it now, but it seems with 5.8 it cant keep a connection with mysql...
|
To explain the cause of this let me tell you how login works. You login to the login server and click play everquest on a server. The login server then sends all your information to that server, and then tells you to connect to the server. Once you try to login to the server, world looks through its list to find your connection information it received from the login server that corresponds to the info that your client is sending it.
The problem arises when your internal ip doesnt match your external ip address. It then cannot find the data that corresponds and disconnects you. To fix this you can use one of two options: 1. Connect to your world server using your external ip address by forwarding port 9000 on your router and listing the world address in LoginServer.ini as your external ip address. OR 2. As long as you server isnt handling multiple logins at once, you will be safe making the following change: zoneserver.cpp line 2158: change: Code:
if (loginIP==ip && strncmp(plskey, iKey,10) == 0) { Code:
if (strncmp(plskey, iKey,10) == 0) { ONLY try the second method if the first one fails. |
Thanks a lot! The second option worked for me.
The first did not, and I believe it may be due to my router. I cannot put my external IP in for worldaddress or the router will cut me off. I have to use a dns service and put that in there. Of course, I then have that dns name bound to my internal IP in my HOSTS file. So, ultimately my world server is still going to be given my internal IP. For the 5.7 servers this is no problem, but I guess you had to make some changes to satisfy the new client. |
All times are GMT -4. The time now is 03:10 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.