EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Can't connect to own loginserver (https://www.eqemulator.org/forums/showthread.php?t=30109)

Traul 12-18-2009 11:08 PM

Can't connect to own loginserver
 
So I'm trying to use my own loginserver following Vale's stickied guide, but I just can't seem to figure out why it won't connect.

I load up EQEmuLoginServer.exe just fine.

I boot up World.exe and it runs fun right until the end where it tries to connect, then I get:
Quote:

[Debug] [WORLD__INIT] Zone (TCP) listener started.
[Debug] [WORLD__INIT] Client (UDP) listener started.
[Debug] [NET__IDENTIFY] Registered patch 6.2
[Debug] [NET__IDENTIFY] Registered patch Titanium
[Debug] [NET__IDENTIFY] Registered patch SoF
[Debug] [WORLD__LS] Connecting to login server...
[Debug] [WORLD__LS_ERR] Could not connect to login server: TCPConnection::Connec
t(): connect() failed. Error: 10061
[Debug] [WORLD__LS] Connecting to login server...
[Debug] [WORLD__LS_ERR] Could not connect to login server: TCPConnection::Connec
t(): connect() failed. Error: 10061
[Debug] [WORLD__LS] Connecting to login server...
[Debug] [WORLD__LS_ERR] Could not connect to login server: TCPConnection::Connec
t(): connect() failed. Error: 10061
I've opened port 5998, and I can't figure it out why I'm still getting the error.

Here's my eqemu_confix.xml

Quote:

<?xml version="1.0">
<server>
<world>
<shortname>ash</shortname>
<longname>Ashfall</longname>

<-- Only specify these two if you really think you need to. (read: You don't) -->
<address>lafleche.dyndns.org</address>
<localaddress>192.168.2.25</localaddress>

<!-- Loginserver information. Defaults shown -->
<loginserver>
<host>lafleche.dyndns.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="localhost" port="9000" telnet="disable"/>

<!-- Sets the shared key used by zone/launcher to connect to world -->
<key>bigstring</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>localhost</host>
<port>3306</port>
<username>root</username>
<password>mypassword</password>
<db>eq</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>
Any help would be much appreciated.

OscarGrouch05 12-19-2009 01:03 AM

WORLD__LS_ERR = World Login Server Error! Opcodes are incorrect
might want to make sure you have as well Opcodes Below.

#Login opcodes
OP_SessionReady=0x0001
OP_Login=0x0002
OP_ServerListRequest=0x0004
OP_PlayEverquestRequest=0x000d
OP_PlayEverquestResponse=0x0021
OP_ChatMessage=0x0016
OP_LoginAccepted=0x0017
OP_ServerListResponse=0x0018
OP_Poll=0x0029
OP_EnterChat=0x000f
OP_PollResponse=0x0011

Traul 12-19-2009 01:19 AM

Quote:

Originally Posted by OscarGrouch05 (Post 181750)
WORLD__LS_ERR = World Login Server Error! Opcodes are incorrect
might want to make sure you have as well Opcodes Below.

#Login opcodes
OP_SessionReady=0x0001
OP_Login=0x0002
OP_ServerListRequest=0x0004
OP_PlayEverquestRequest=0x000d
OP_PlayEverquestResponse=0x0021
OP_ChatMessage=0x0016
OP_LoginAccepted=0x0017
OP_ServerListResponse=0x0018
OP_Poll=0x0029
OP_EnterChat=0x000f
OP_PollResponse=0x0011

Yep, got em in login_opcodes.conf in my Eqemu directory.

Traul 12-19-2009 01:23 AM

Sorry, the title might be a little confusing.

I can connect to the loginserver and get into the server select screen through Everquest. It's just my actual server won't connect to the loginserver.

OscarGrouch05 12-19-2009 01:45 AM

<-- Only specify these two if you really think you need to. (read: You don't) -->
<address>lafleche.dyndns.org</address>
<localaddress>127.0.0.1</localaddress>


<!-- Database configuration, replaces db.ini. Defaults shown -->
<database>
<host>localhost</host>
<port>3306</port>
<username>root</username>
<password>mypassword</password>
<db>peq</db>
</database>


if you want to try a test run too see if you need to open up more
ports on router unblockfirewall on computer and router.
make sure your starting minilogin.exe first then click eqstart.bat
make you have unblocked world.exe and zone.exe undertworking

i changed <localaddress>127.0.0.1</localaddress>
i changed the <db>peq</db>

pfyon 12-19-2009 12:02 PM

If you're hosting the login server on the same machine that's hosting the eq server, you could try

Code:

<loginserver>
<host>192.168.2.25</host>
<port>5998</port>
<account></account>
<password></password>
</loginserver>

Or even 127.0.0.1 for the host. I don't remember what I used when I did it.

Traul 12-19-2009 09:11 PM

Quote:

Originally Posted by pfyon (Post 181756)
If you're hosting the login server on the same machine that's hosting the eq server, you could try

Code:

<loginserver>
<host>192.168.2.25</host>
<port>5998</port>
<account></account>
<password></password>
</loginserver>

Or even 127.0.0.1 for the host. I don't remember what I used when I did it.

This worked but then I was getting 1017 errors, so I gave PrivateLogin a shot and it works like a charm.

Thanks for the help guys :)

pfyon 12-20-2009 01:45 PM

Oh, yeah, I've never been able to get the loginserver included in the source to work (on a linux system anyway).


All times are GMT -4. The time now is 12:08 AM.

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