EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Server Connection Issues (https://www.eqemulator.org/forums/showthread.php?t=32662)

toad 12-09-2010 11:16 AM

Server Connection Issues
 
I think Claw and I need our own support group for a while.... ;)


Ok, i have my servers setup. startup.bat appears to work ok (world server stops at starting zone dynamic_05)

within my network, i can log into the login server, and i can see my server in the list, but i can not connect to it. I get the message saying the server connection may be interrupted or i need to repatch.

as a note, i have a login server and a seperate dedicated DB server. Since i can login, i'm pretty sure all the connections back to the DB are working.

Any Ideas?

Chanus 12-09-2010 11:22 AM

Are you getting an Error Code?

If it's 1017 (I think that's the number), you may need to reinstall your game client (not the server, but Everquest itself). The only changes you should make to a fresh install (of Titanium or Secrets of Faydwer at least) are to move nektulos.eqg and lavastorm.eqg to a backup folder, and make sure your eqgame.exe shortcut has patchme on the end of it.

(Properties > Target: "C:\...\Everquest\eqgame.exe" patchme) (include the quotes)

If your client gets patched it won't be able to connect.

toad 12-09-2010 11:29 AM

ok i moved those two files to a seperate folder (that wasn't listed in the wiki... is it actually required?).
Get error 1017. Cannot login to the everquest server. you may need to re-run the update patch. repeatedly seing this message indicates a loss of connectivity to the patch server. this is usually temporary.

The game client is a fresh install, just done today on a machine that has never had EQ on it.

Chanus 12-09-2010 11:57 AM

Hmm... just to make sure you're connecting to the right thing, your eqhost.txt (C:\...\Everquest\eqhost.txt) file should say this:

Code:

[LoginServer]
Host=eqemulator.net:5998

and nothing else.

Moving those files lets you enter those zones. There's an incompatibility between the installed versions and the playable versions (which are .s3d files). If you don't move them out of your directory, you'll zone in and just be falling through blackness.

Chanus 12-09-2010 11:57 AM

Unless you're connecting to your own server, in which case it should say:

Code:

[LoginServer]
Host=127.0.0.1:5999


toad 12-09-2010 12:03 PM

my host file points to the login server.

192.168.254.20:5998

i can get past the login screen to the server select screen, so my client is looking to the right place. there just seems to be some disconnect to accessing the world.

Chanus 12-09-2010 12:14 PM

Oh right, you've got a separate server set up.

Are you connecting over LAN or wireless, or how? The problem might be with port forwarding if it's wireless. You'd need to set your wireless router to allow traffic on port 5998 (I think)... but that's into territory I don't know much about.

toad 12-09-2010 12:15 PM

i'm still testing inside the internal network, so no firewall and no port forwarding needed. That will be an issue after i get it working internally ;)

Chanus 12-09-2010 12:20 PM

Humm... I'm at a loss.

That Error: 1017 usually means you have a problem with the client and reinstalling usually fixes it. Do you have a dbg.txt in your C:\...\Everquest\Logs directory? What does it say (I'm not sure if one would be generated just at server select).

toad 12-09-2010 12:33 PM

There is a good call! :)

from the dbg.txt file :

[Thu Dec 09 10:26:56 2010]00035:Networking: using port [61593].
[Thu Dec 09 10:26:56 2010]00036:Networking: Connection Established [1]
[Thu Dec 09 10:27:56 2010]00037:*** WorldAuthenticate. Error connecting to :9000 [client:DisconnectReasonConnectFail,server:Disconne ctReasonNone]

[Thu Dec 09 10:27:56 2010]00038:Networking: Connection Closed [0] with 0 pending bytes.
[Thu Dec 09 10:27:56 2010]00039:*** ERROR: WorldAuthenticate has failed after attempting to connect.


so it looks like when passing my creds to the world server (ie, the EQ DB) it said denied me access, which makes sense because i don't think i have an account on the EQ DB. Did i miss a step that tells me how to create an account on the EQ DB? I ran the player .sql import, but that was against the login server DB....

Quote:

Originally Posted by Chanus (Post 194987)
Humm... I'm at a loss.

That Error: 1017 usually means you have a problem with the client and reinstalling usually fixes it. Do you have a dbg.txt in your C:\...\Everquest\Logs directory? What does it say (I'm not sure if one would be generated just at server select).


Chanus 12-09-2010 12:38 PM

If you can log in to Server Select, you should be fine in that regard. It seems there's something your server doesn't like about your client, but I don't know what that would be. I'm only an Apprentice Guru at this point :P

I would check your ...\eqemu\logs folder (on the server end, wherever it is you put your server should have a \logs directory also) and see if you can determine where your server is rejecting the client.

toad 12-09-2010 01:23 PM

ok here are some errors i noticed

could not load eqtime file eqtime.cfg

unable to real perl file 'plugin.pl'
unable to real perl file 'commands.pl'

i think the perl commands are from trying to login to the server, so that's the first place i think i need to start.

the files reside in the eqemu\defaults folder. should they be in the root of eqemu?

Chanus 12-09-2010 01:38 PM

I know the eqtime.cfg error can be ignored. I don't think it's actually used anymore.

I've seen the other two errors, but I don't know if they actually matter either. I've seen them in my server's logs, but everything runs fine... so those may all be red herrings, unfortunately :\

When you try to connect to the server from server select, watch the CMD windows where your server is running if you can and see what it says. Should be in the main server window, not world or zone, where you want to look I think.

Lillu 12-09-2010 01:43 PM

Quote:

Originally Posted by toad (Post 194992)
unable to real perl file 'plugin.pl'
unable to real perl file 'commands.pl'

i think the perl commands are from trying to login to the server, so that's the first place i think i need to start.

the files reside in the eqemu\defaults folder. should they be in the root of eqemu?

just put a blank 'plugin.pl' and 'commands.pl' to your eqemu root to eliminate that error.

toad 12-09-2010 03:21 PM

The only window that reacts to my login attempt is the login server window.

it shows me log in, it shows the "Play Everquest Request" and sending "play everquest response" then says

removed credential for account 2
there are 0 credential records

sending client auth

client connection closed


btw, should i have more then 5 zones?


Quote:

Originally Posted by Chanus (Post 194993)
I know the eqtime.cfg error can be ignored. I don't think it's actually used anymore.

I've seen the other two errors, but I don't know if they actually matter either. I've seen them in my server's logs, but everything runs fine... so those may all be red herrings, unfortunately :\

When you try to connect to the server from server select, watch the CMD windows where your server is running if you can and see what it says. Should be in the main server window, not world or zone, where you want to look I think.


Chanus 12-09-2010 03:30 PM

5 zones is the default. You can change it to whatever you want, but it really just depends on how many you need running at the same time, I think. The more you have the more memory it uses, obviously.

Which client did you install? (Titanium, SoF, SoD?)

toad 12-09-2010 03:32 PM

Installed SoF client. Should i try with Titanium?


Quote:

Originally Posted by Chanus (Post 194996)
5 zones is the default. You can change it to whatever you want, but it really just depends on how many you need running at the same time, I think. The more you have the more memory it uses, obviously.

Which client did you install? (Titanium, SoF, SoD?)


Chanus 12-09-2010 03:34 PM

Might be worth a shot.

I know SoF can work, but I think there are still issues with it (and support for it may have been dropped to work on SoD/Underfoot clients), but Titanium works for sure.

toad 12-09-2010 03:48 PM

Ok, tried Titanium, get "an unknown error occurred while trying to join the server"

still only get response from the login server, nothing in world or zone window

Chanus 12-09-2010 04:02 PM

Maybe look at your eqemu_config.xml (in your server root directory).

The world section might be set to localhost or 127.0.0.1 instead of your server's ip address (it should be to the server's ip)

Derision 12-09-2010 04:04 PM

As Chanus says, check your eqemu_config.xml

Code:

[Thu Dec 09 10:27:56 2010]00037:*** WorldAuthenticate. Error connecting to :9000 [clientDisconnectReasonConnectFail,serverDisconnectReasonNone]
I would expect to see your server IP address before the :9000, e.g. 'Error connecting to 192.168.254.20:9000'

toad 12-09-2010 04:57 PM

Quote:

Originally Posted by Chanus (Post 195000)
Maybe look at your eqemu_config.xml (in your server root directory).

The world section might be set to localhost or 127.0.0.1 instead of your server's ip address (it should be to the server's ip)

that was set as local host, but it is really local host, but i did change. No help

Quote:

Originally Posted by DERISION (Post 195001)
I would expect to see your server IP address before the :9000, e.g. 'Error connecting to 192.168.254.20:9000'

where is the client looking for that information? the only thing i changed on the client is the login server. which is working. the only thing i see for port 9000 is in the eqemu_config, which says
<tcp ip=eq.toadville.org" port="9000" telnet="disable" />

on the server, my host record points that name to 127.0.0.1, on the client, my host record points that name to the ip address of the server 192.168.254.20

Derision 12-09-2010 05:17 PM

The client is hardcoded to connect to world on udp port 9000. This is the section in eqemu_config.xml that specifies your world address:
Code:


        <world>
                <address>yourserver.ip.address.or.dns.name</address>-->
                <localaddress>192.168.1.100</localaddress>-->

                <loginserver>
                      <host>localhost</host>
                      <port>5998</port>
                      <account>account</account>
                      <password>password</password>
                </loginserver>
                <key>Some Long Random String</key>

                <shortname>BTG3</shortname>
                <longname>ZZZ BWG2 Private</longname>
                <http port="9080" enabled="true" mimefile="mime.types" />
        </world>

I use the latest version of EQEmuloginserver from the source code SVN, but I don't think I have changed that config section from when I used minilogin for my private server.

toad 12-09-2010 11:24 PM

I'm using the regular eqemuloginserver, not minilogin, is that my problem?

Chanus 12-10-2010 09:55 AM

No, you want to use that one.

Go through your eqemu_config.xml and eqemulogin.ini and make sure you don't have some places saying port 5998 and others saying 5999 maybe.

And try:

Code:

<world>
                <address>eq.toadville.org</address>-->
                <localaddress>192.168.254.20</localaddress>-->

in the eqemu_config.xml

toad 12-10-2010 10:18 AM

I think i found it.....

<!-- Sets the shared key used by zone/launcher to connect to world -->
<key> some long random string</key>

i'm guessing i need to put something in there. Is there a min/max or any thing i need to know about this line?

Chanus 12-10-2010 10:24 AM

Actually, "some long random string" is also a long, random string... so no, you don't really need to change that unless you are going to be making your server public.

What that does is basically act like a password so unauthorized zones can't join your server.

toad 12-10-2010 10:25 AM

ok that didn't seem to fix it.

what about under login server information....

<loginserver>
<host>eq.toadville.org</host>
<port>5998</port>
<account></account>
<password></password>

do i need an account and password in there? if so, what do i use?

Chanus 12-10-2010 10:32 AM

You don't need an account or password there, but I think your eqhost.txt file needs to say the same as what's listed there.

Or, try making "host" your IP address (the 192.168.254.20) instead of the dns name.

toad 12-10-2010 10:38 AM

nope, no good there either.

toad 12-10-2010 10:41 AM

OK, here is the eqeum_config.xml file..

<?xml version="1.0">
<server>
<world>
<shortname>greybearden</shortname>
<longname>Grey Bear Den</longname>

<!-- Only specify these two if you really think you need to. (read: You don't) -->
<address>EQ.Toadville.org</address>
<localaddress>192.168.254.20</localaddress>

<!-- Loginserver information. Defaults shown -->
<loginserver>
<host>eq.toadville.org</host>
<port>5998</port>
<account></account>
<password></password>
</loginserver>

<!-- Server status. Default is unlocked -->
<!--<locked/>-->
<!-- <unlocked/> -->

<!-- Sets the ip/port for the tcp connections. Both zones and console (if enabled). Defaults are shown -->
<tcp ip="eq.toadville.org" port="9000" telnet="disable"/>

<!-- Sets the shared key used by zone/launcher to connect to world -->
<key>1234567890987654321</key>

<!-- Enable and set the port for the HTTP service. Defaults are shown -->
<http port="9080" enabled="false" mimefile="mime.types" />
</world>

<!-- Chatserver (channels) information. Defaults shown -->
<chatserver>
<host>channels.eqemulator.net</host>
<port>7778</port>
</chatserver>

<!-- Mailserver (in-game mail) information. Defaults shown -->
<mailserver>
<host>channels.eqemulator.net</host>
<port>7779</port>
</mailserver>

<zones>
<defaultstatus>20</defaultstatus>

<!-- Sets port range for world to use to auto configure zones -->
<ports low="7000" high="7100"/>
</zones>

<!-- Database configuration, replaces db.ini. Defaults shown -->
<database>
<host>eqdb</host>
<port>3306</port>
<username>root</username>
<password>obscured</password>
<db>PEQ</db>
</database>

<!-- Launcher Configuration -->
<launcher>
<!-- <logprefix>logs/zone-</logprefix> -->
<!-- <logsuffix>.log</logsuffix> -->
<!-- <exe>zone.exe or ./zone</exe> -->
<!-- <timers restart="10000" reterminate="10000"> -->
</launcher>

<!-- File locations. Defaults shown -->
<files>
<!-- <spells>spells_us.txt</spells> -->
<!-- <opcodes>opcodes.conf</opcodes> -->
<!-- <logsettings>log.ini</logsettings> -->
<!-- <eqtime>eqtime.cfg</eqtime> -->
</files>
<!-- Directory locations. Defaults shown -->
<directories>
<!-- <maps>Maps</maps> -->
<!-- <quests>quests</quests> -->
<!-- <plugins>plugins</plugins> -->
</directories>
</server>

toad 12-10-2010 10:42 AM

Here is EQEMULOGIN.ini


[LoginConfig]
loginserver=localhost
port=5998
DumpPacketsIn=true
DumpPacketsOut=true
Trace=true
DatabaseServerName=eqdb
DatabaseCatalogName=PEQLoginDB
DatabaseUserName=root
DatabaseUserPassword=obscured
OPCodePathAndFileName=Login_opcodes.conf

toad 12-10-2010 10:43 AM

so short of letting someone onto the server what else would be helpful in troubleshooting this? :)

Chanus 12-10-2010 10:48 AM

Hmm.... my eqemulogin.ini doesn't have the "loginserver=localhost" line.

Worth a shot to try removing it? Can always just put it back if that doesn't work. Also, if that doesn't work, try changing it to eq.toadville.org since that's what your eqemu_config.xml says.

As well, I have "localhost" under "host" here:

Code:


<!-- Database configuration, replaces db.ini. Defaults shown -->
<database>
<host>eqdb</host>
<port>3306</port>
<username>[removed]</username>
<password>[removed]</password>
<db>PEQ</db>
</database>

Try making that eq.toadville.org as well... or localhost (not sure which).

Also, try every combination of these things just for kicks :)

Edit: I also edited out your DB user and password

toad 12-10-2010 10:59 AM

does your eqemulogin.ini have host= instead of loginserver= ? you gotta have some pointer as to where the login server is followed by the port?

i can't change the part under the DB section because my DB server is NOT local host, it is a seperate server. I could try the IP address, but since i am able to successfully login to the login server, i MUST be hitting the DB properly because i'm being authenticated.


edit : while root is my user name (no big surprise there) obscured is NOT my password ;)

Chanus 12-10-2010 11:09 AM

This is my eqemulogin.ini:

Code:

Port=5999
DumpPacketsIn=true
DumpPacketsOut=true
Trace=true
DatabaseServerName=localhost
DatabaseCatalogName=peqlogindb
DatabaseUserName=[removed]
DatabaseUserPassword=[removed]
OPCodePathAndFileName=login_opcodes.conf


toad 12-10-2010 11:29 AM

removing the host line didn't work either

Chanus 12-10-2010 11:52 AM

Hrmm. I am totally out of ideas :|

That doesn't necessarily mean anything, as I only know so much.

But crap.

Derision 12-10-2010 01:46 PM

Try adding this line to the c:\windows\system32\drivers\etc\hosts file of the PC you are running the client on:
Code:

192.168.254.20        EQ.Toadville.org

toad 12-12-2010 07:56 PM

Quote:

Originally Posted by Derision (Post 195024)
Try adding this line to the c:\windows\system32\drivers\etc\hosts file of the PC you are running the client on:
Code:

192.168.254.20        EQ.Toadville.org

that is already there.


All times are GMT -4. The time now is 05:44 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.