Cannot connect to server
Hi guys. I've set up a server to play across my LAN with the ultimate goal of offline-only play. I used Vales Wiki guide and followed it to the letter. The server starts up but I can't get in to the game.
From the server computer, I can log in but the server list is empty. From the other two computers I can't even log in (cannot connect to server error). I'm sure it's a setting somewhere that I've missed and would like your help. EQ version: Titanium (legit copies I had from when I played on Live) OS: Win XP (all three comps) Server: EQEmu-Rev1612-Bots DB: PEQ Rev 1589 (both DB and Quests) IPs of comps (192.168.x.x): Server - 0.198, clients 0.199 and 0.197 eqemu-config.xml Code:
<server> Code:
Port=5998 Code:
[LoginServer] |
Everything up there looks ok. My best guess is you haven't added any accounts to tblserveraccounts. It won't let you login without them. I saw some code for automatic entries but I don't think its been implemented yet or its problably not in your version. The account names and passwords are case sensitive, so mind your caps.
|
Thanks for the reply.
I have three entries in tblloginserveraccounts, the admin entry and two generic player entries. tblserveradminregistration has the full admin account. tblserverlisttype is filled out also. And the last one tblworldserverregistration looks correct as well. On the server computer I can login with all three accounts. But when I get to the next screen (server list) it is blank. On the two client computers I cannot log in at all; they both get the 'cannot connect to server' error. I made sure the router has the correct ports open (3306, 5998, 7000-7500, and 9000). I've tried port forwarding on the clients, port forwarding on the router, port forwarding on both clients and router, and no forwarding whatsoever. If the config files are correct I have to assume the problem is somewhere in the router then...but I'm at a loss what it could be. |
I see in your eqemu_config.xml you have the account and password left blank. Do you have something in there or is it blank?
A blank server select screen will result when your eqemu_config.xml account and password doesn't match the account and password in tblserveradministration. Putting in a password and account here will follow your entries in tblworldserverregistration. If you leave the password and account with no entry in your eqemu_config.xml file like you are showing here, your server will default to using the eqemu_config.xml entries for server shortname and longname. The server will display as a normal server. The following entry in your eqemu_config.xml is something I am not using and not familiar with. Code:
<!-- Sets the ip/port for the tcp connections. Both zones and console (if enabled). Defaults are show --> |
Okay I uninstalled/reinstalled everything and followed the guide again. I took out that line of code you had listed above; I thought it would help but obviously didn't.
I'm getting the same basic error. I have tried with and without the account/password filled in on the xml file. The world/zone/login servers report no trouble during the launch. When I run EQ I can login but no server shows up. I can even log in with an invalid uid/pw combo but it still 'logs in' and no server shows up. I changed all the IP info to localhost (am trying to get it running on the server computer only for now). I did this to ensure there wasn't anything weird on my router causing the trouble. I'm guessing there's something wrong in the SQL tables maybe? Or perhaps the login server is connecting with the world but not connecting with the database correctly? Just seems strange that the server computer itself isn't working properly. I've been staring at tutorials for emu and sql for the last couple days. My brain hurts now. |
If you can login with wrong password and stuff, then it sounds like you are using the minilogin and not using the eqemulogin. Do you have a start.bat to list or if not, what process/steps are you using to start your server?
|
Here's the ServerStart.bat file:
Code:
@echo off Code:
New Client UDP connection from 192.168.0.199:4895 |
It looks like the eqemulogin and the client aren't talking to one another. Double check to make sure that you have the login_opcodes.conf and EQEmuAuthCrypto.dll files are in the same directory as world.exe. And as always, make sure you have the correct ports opened up. I don't remember the exact numbers off the top of my head. I believe Trevius has them in his FAQ section.
This is what I see when I login Code:
New Client UDP connection from 192.168.1.101:52309 |
Yes, I got both of those files with the EMU server zip. They are in the same folder as the server exes. While I'm at it I'll just list all the files I have there.
C:\EQEMU\* \Maps\* (folder) \Quests \*(folder) Chatserver.exe EMuShareMem.dll eqemu_config.xml EQEmuAuthCrypto.dll eqemulogin.ini EQEmuLoginServer.exe eqlaunch.exe login_opcodes.conf opcodes.conf patch_6.2.conf patch_Anniversary.conf patch_Live.conf patch_SoD.conf patch_SoF.conf patch_Titanium.conf SeverStart.bat spells_en.txt (from client) spells_us.txt (from client) World.exe Zone.exe Does it look like I'm missing any files? That would be a problem solver right there. :) The login_opcodes.conf file looks like this: Code:
#EQEmu Public Login Server OPCodes I appreciate all your responses. Eventually I'm going to figure this out...and my head will stop throbbing... |
I've got a few more in mine listed below. You are going to want to go into your \quests folder and copy/paste \plugings to C:\EQEMU\plugins.
I'm running titanium and SoD out of the same directory so I'm not 100% sure the following files are needed or how and why they got there, its been a long time since I setup this directory. Make a C:\EQEMU\logs directory. This will log everything and might help to identify your problem. worldui.pl commands.pl plugin.pl mime.types mail_opcodes.conf login_opcodes_sod.conf |
First thing would be to focus on the mime.types file. If you are missing it, that could be your problem
Code:
<!-- Enable and set the port for the HTTP service --> http://code.google.com/p/projecteqem...utils/defaults EDIT: Updated better URL |
Code:
09/18/2010 03:28 PM <DIR> templates |
I was having this same problem. I got the opcodes from:
http://projecteqemu.googlecode.com/svn and that fixed my problem. they should be in this folder: \trunk\EQEmuServer\EQEmuLoginServer\login_util |
Quote:
After downloading the independent opcodes and inspecting them, I found the one I got in the emu zip to be missing several lines. This totally fixed my problem. I am able to get into the game now. Thank you SO MUCH guys for all the help. It was driving me crazy... Now, onto further craziness. :) |
All times are GMT -4. The time now is 11:44 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.