EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Issue logging into Private Login Server (https://www.eqemulator.org/forums/showthread.php?t=39030)

corvette4evr 11-21-2014 10:43 AM

Issue logging into Private Login Server
 
Hello all,

I have have read multiple guides and followed the steps in them to the letter.

https://github.com/EQEmu/Server/wiki...up-using-XAMPP

and

http://wiki.eqemulator.org/p?Complet...ide&frm=Main#5

And in between that I have found other threads to help me through other issues I encountered along the way.

However, in spite of getting everything to appear to run correctly now. I get an error, logged by EQEmu Login Server, whenever I click on play everquest from my clients. They then immediately get disconnected.

In keeping with what I have seen from other posts here are my login.ini and my eguemu_confix.xml.

---------------------------------------------------------------------
eqemu_config.xml
---------------------------------------------------------------------

Code:

<?xml version="1.0"?>
<server>
        <world>
                <shortname>Marks</shortname>
                <longname>Marks EQ Server</longname>
                <loginserver>
                            <host>localhost</host>
                                        <port>5998</port>
                            <account></account>
                            <password></password>
                </loginserver>
        </world>
<!-- Chatserver (channels) information.  Defaults shown -->
        <chatserver>
                <host>127.0.0.1</host>
                <port>7778</port>
        </chatserver>

        <!-- Mailserver (in-game mail) information.  Defaults shown -->
        <mailserver>
                <host>127.0.0.1</host>
                <port>7778</port>
        </mailserver>
       
        <database>
        <host>localhost</host>
        <port>3306</port>
        <username>root</username>
        <password>********</password>
        <db>peq</db>
    </database>
               
                    <!-- Queryserv Database configuration -->
    <qsdatabase>
        <host>localhost</host>
        <port>3306</port>
        <username>root</username>
        <password>********</password>
        <db>peq</db>
    </qsdatabase>
</server>

---------------------------------------------------------------------

login.ini
---------------------------------------------------------------------

Code:

[database]
host = 127.0.0.1
port = 3306
db = peq
user = root
password =********
subsystem = MySQL

[options]
unregistered_allowed = TRUE
reject_duplicate_servers = FALSE
trace = TRUE
world_trace = FALSE
dump_packets_in = FALSE
dump_packets_out = FALSE
listen_port = 5998
local_network = 10.224.1.151

[security]
plugin = EQEmuAuthCrypto
mode = 5

[Titanium]
port = 5998
opcodes = login_opcodes.conf

[SoD]
port = 5999
opcodes = login_opcodes_sod.conf

[schema]
account_table = tblLoginServerAccounts
world_registration_table = tblWorldServerRegistration
world_admin_registration_table = tblServerAdminRegistration
world_server_type_table = tblServerListType

Below is the error I am getting.

Quote:

C:\EQ>loginserver.exe
[Debug] [11.21.14 - 09:50:41] Logging System Init.
[Debug] [11.21.14 - 09:50:41] Config System Init.
[Debug] [11.21.14 - 09:50:41] MySQL Database Init.
[Debug] [11.21.14 - 09:50:41] Encryption Initialize.
[Debug] [11.21.14 - 09:50:41] Encryption Loaded Successfully.
[Debug] [11.21.14 - 09:50:41] Server Manager Initialize.
[Network] [11.21.14 - 09:50:41] ServerManager listening on port 5998
[Debug] [11.21.14 - 09:50:41] Client Manager Initialize.
[Network] [11.21.14 - 09:50:41] ClientManager listening on Titanium stream.
[Network] [11.21.14 - 09:50:41] ClientManager listening on SoD stream.
[Debug] [11.21.14 - 09:50:41] Server Started.
[Network] [11.21.14 - 09:51:16] New world server connection from 127.0.0.1:62389

[Network Error] [11.21.14 - 09:51:16] Handle_NewLSInfo error, remote address was
null, defaulting to stream address 127.0.0.1.
[World] [11.21.14 - 09:51:16] Server Marks EQ Server(Marks) did not attempt to l
og in but unregistered servers are allowed.
[Network] [11.21.14 - 09:52:19] New SoD client connection from 10.224.1.144:5955
9
[Network] [11.21.14 - 09:52:19] Application packet received from client (size 14
)
[Network] [11.21.14 - 09:52:19] Session ready received from client.
[Network] [11.21.14 - 09:52:19] Application packet received from client (size 12
)
[Network] [11.21.14 - 09:52:19] Server list request received from client.
[Network] [11.21.14 - 09:52:39] Client disconnected from the server, removing cl
ient.
[Network] [11.21.14 - 09:53:17] New Titanium client connection from 10.224.1.144
:56935
[Network] [11.21.14 - 09:53:17] Application packet received from client (size 14
)
[Network] [11.21.14 - 09:53:17] Session ready received from client.
[Network] [11.21.14 - 09:53:17] Application packet received from client (size 28
)
[Network] [11.21.14 - 09:53:17] Login received from client.
[Client] [11.21.14 - 09:53:17] User: mark
[Client] [11.21.14 - 09:53:17] Hash: f1b5a91d4d6ad523f2610114591c007e75d15084
[Network] [11.21.14 - 09:53:17] Application packet received from client (size 12
)
[Network] [11.21.14 - 09:53:17] Server list request received from client.
[Network] [11.21.14 - 09:53:22] Application packet received from client (size 16
)
[Network] [11.21.14 - 09:53:22] Play received from client, server number 2 seque
nce 5.
[Network Trace] [11.21.14 - 09:53:22] User-To-World Response received.
[Client] [11.21.14 - 09:53:22] Trying to find client with user id of 2.
[Client] [11.21.14 - 09:53:22] Found client with user id of 2 and account name o
f mark.
[Client] [11.21.14 - 09:53:22] Found sequence and play of 5 2
[Network Trace] [11.21.14 - 09:53:22] dumping packet of size 20:
0000: 05 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 | ................
0016: 02 00 00 00 | ....
[Network Trace] [11.21.14 - 09:53:22] Sending play response with following data,
allowed 1, sequence 5, server number 2, message 101
[Network Trace] [11.21.14 - 09:53:22] dumping packet of size 20:
0000: 05 00 00 00 00 00 00 00 - 00 00 01 65 00 00 00 00 | ...........e....
0016: 02 00 00 00 | ....
[Network Trace] [11.21.14 - 09:53:22] Sending play response for mark.
[Network Trace] [11.21.14 - 09:53:22] dumping packet of size 20:
0000: 05 00 00 00 00 00 00 00 - 00 00 01 65 00 00 00 00 | ...........e....
0016: 02 00 00 00 | ....
[Network] [11.21.14 - 09:53:24] Client disconnected from the server, removing cl
ient.
If anyone is able to help I would be extremely grateful! I have been working on getting this live for several days in my spare time and I have just plain reached an stone wall on this. Also I have been able to connect my clients to public servers. They are EQ Titanium, fresh installs, unpatched. Game launched via eqgame.exe patchme. Host files pointing to 10.224.1.151:5998.


The server is a VMware VM running Windows 7 x64. All plugins and compiling was done via x32, as recommended by the guides. I have rebuilt the binaries as of this morning, 11/21/14 around midnight.

Thanks in advance

-=Mark=-

vsab 11-21-2014 11:52 AM

I had the same problem, so trying remember.... Pretty sure my issue was that clients were getting redirected to 127.0.0.1 when they log in, so try setting these:-

Code:

<address>10.224.1.151</address>
<localaddress>10.224.1.151</localaddress>


corvette4evr 11-21-2014 12:22 PM

You sir are worthy of riches and treasures beyond my means! That fixed the issue and everything is working. Instead of the royal bounty that you deserve I can only offer you my undying thanks! I was almost ready to give up on this.

Many Many Thanks,

-=Mark=-

SoltanHeatwave 12-30-2014 05:40 PM

I am having the same problem. In What files do you add that code or change it? I am assuming the EQEmu_config.xml file, but I don't see the <address> or the <localaddress> sections. Never mind I found it, right after the World Section. In the do not edit section. lol.

corvette4evr 12-30-2014 06:02 PM

Solution
 
Yes this should be in your eqemu_config.xml. This is what mine looks like now. At least the sections that pertain to this thread. The local IP of my server is 10.224.1.151. It goes in the <world> section

[CODE<?xml version="1.0"?>
<server>
<world>
<shortname>Marks</shortname>
<longname>Marks EQ Server</longname>
<loginserver>
<host>localhost</host>
<port>5998</port>
<account></account>
<password></password>
</loginserver>
<address>10.224.1.151</address>
<localaddress>10.224.1.151</localaddress>
</world>
CODE]

SoltanHeatwave 12-30-2014 06:39 PM

Thank you very much. I made the corrections and everything is working now. I really appreciate the help I find here.

mattdef11 04-08-2022 10:51 AM

Quote:

Originally Posted by vsab (Post 235690)
I had the same problem, so trying remember.... Pretty sure my issue was that clients were getting redirected to 127.0.0.1 when they log in, so try setting these:-

Code:

<address>10.224.1.151</address>
<localaddress>10.224.1.151</localaddress>


Was having the error 2017 and adding these lines (with the appropriate local IP address) into the "eqemu_config.json" file under the "loginserver" entry finally solved it!


All times are GMT -4. The time now is 05:10 AM.

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