View Full Version : Server not receiving clients from the login server
pfyon
01-30-2010, 05:35 PM
I have tried both the public login and open source version of the login servers, so I'm assuming the problem lies in my eqemu server configuration.
When I log in, I get to server select and can see the server listed there. When I go to enter world, it loads for a while then boots me back to server select with the 'you may have to re run the update patch' message. This happens with both SoF and Titanium clients.
I'm running on ubuntu server 9.04 (or 9.10, don't remember). This is the output of ufw status:
$ sudo ufw status
Status: loaded
To Action From
-- ------ ----
22/tcp ALLOW Anywhere
22/udp ALLOW Anywhere
80/tcp ALLOW Anywhere
80/udp ALLOW Anywhere
Anywhere ALLOW 192.168.1.101
7000:7100/udp ALLOW Anywhere
9000/tcp ALLOW Anywhere
25/tcp ALLOW Anywhere
25/udp ALLOW Anywhere
5999/tcp ALLOW Anywhere
5999/udp ALLOW Anywhere
22/tcp LIMIT Anywhere
Anywhere ALLOW 192.168.1.104
192.168.1.104 is the IP of the server on the network, 192.168.1.101 is my main computer that I'm testing from.
edit: I remember in the past there were some log settings that detailed clients connecting to world. I'm not seeing that, or that logging isn't enabled.
prickle
01-30-2010, 06:37 PM
If you're going to run your own log in server you need to use the "full" eqemu_config.xml file.
The following is my "ful" eqemu_config.xml file <?xml version="1.0">
<server>
<world>
<shortname>Max</shortname>
<longname>Maximillian</longname>
<!-- Only specify these two if you really think you need to. (read: You dont) -->
<address>192.168.1.135</address>
<localaddress>192.168.1.135</localaddress>
<!-- Loginserver information. Defaults shown -->
<loginserver>
<host>192.168.1.135</host>
<port>5998</port>
<account>**YOUR INFO**</account>
<password>**YOUR INFO**</password>
</loginserver>
<!-- Server status. Default is unlocked -->
<unlocked/>
<!-- Sets the ip/port for the tcp connections. Both zones and console (if enabled). Defaults are shown -->
<tcp ip="192.168.1.135" port="9000" telnet="disable"/>
<!-- Sets the shared key used by zone/launcher to connect to world -->
<key>some long random string</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>192.168.1.135</host>
<port>7778</port>
</chatserver>
<!-- Mailserver (in-game mail) information. Defaults shown -->
<mailserver>
<host>192.168.1.135</host>
<port>7779</port>
</mailserver>
<zones>
<defaultstatus>20</defaultstatus>
<!-- Sets port range for world to use to auto configure zones -->
<ports low="7000" high="7400"/>
</zones>
<!-- Database configuration, replaces db.ini. Defaults shown -->
<database>
<host>localhost</host>
<port>3306</port>
<username>**YOUR INFO**</username>
<password>**YOUR INFO**</password>
<db>**YOUR INFO**</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>
hope this helps
pfyon
01-30-2010, 07:28 PM
Yeah, I have done that. address is my host name, localaddress 192.168.1.104. I didn't post it since I can see that the login server is receiving connections okay, and the only other part of eqemu_config.xml that matters in this case is address and localaddress.
prickle
01-30-2010, 07:52 PM
When I first setup my server, this is the section of the eqemu_config.xml file that prevented me from connecting to the server:
<!-- Only specify these two if you really think you need to. (read: You don't) -->
<!-- <address>some.server.com</address> -->
<!-- <localaddress>192.168.0.5</localaddress> -->
Specifically, I forgot to uncomment the <address> and <localaddress> lines
pfyon
02-18-2010, 03:07 PM
Alright, back working on this problem again. It seems I can log in on my LAN when I set both address and localaddress to 192.168.1.104 (its lan IP). I have tried the following:
<address>peterfyon.homeunix.com</address>
<localaddress>192.168.1.104</localaddress>
and my eqhost.txt set to both 192.168.1.104 and peterfyon.homeunix.com and
<address>peterfyon.homeunix.com</address>
<localaddress>peterfyon.homeunix.com</localaddress>
and setting eqhost.txt to peterfyon.homeunix.com. Neither of the above work.
OscarGrouch05
02-23-2010, 04:10 AM
when you was refering to this : detailed clients connecting to world
your refering to PEQUpdatePack-4.0-1124.exe as well as another file
was removed from downloads a few years ago EQEmu-0.7.0-1124.zip
all still works great chat with cavedude see if he still has them files
i still have them old tools and files great stuff to have at hand.
This below is what you was use to seeing
Login Server
Tcp Server
Ls_World
Ls_Server
i still have the sorce code files for this version. but others are saying they don't undstand what i'm trying to say.
I hope you can undstand what i'm trying to tell you but they broke the client.
might want to double check your server settings using EQEmuServerPack-Config-3.6.exe if you still have it around still works for changing the settings.
Comment: Working together gets you feather in life! 80)
Kobaz
02-23-2010, 06:14 AM
You might want to see if setting your FQDN in your /etc/host file to your internal address and seeing if that helps. If so it would suggest that your resolver could be borked.
Secrets
02-24-2010, 04:11 AM
when you was refering to this : detailed clients connecting to world
your refering to PEQUpdatePack-4.0-1124.exe as well as another file
was removed from downloads a few years ago EQEmu-0.7.0-1124.zip
all still works great chat with cavedude see if he still has them files
i still have them old tools and files great stuff to have at hand.
This below is what you was use to seeing
Login Server
Tcp Server
Ls_World
Ls_Server
i still have the sorce code files for this version. but others are saying they don't undstand what i'm trying to say.
I hope you can undstand what i'm trying to tell you but they broke the client.
might want to double check your server settings using EQEmuServerPack-Config-3.6.exe if you still have it around still works for changing the settings.
Comment: Working together gets you feather in life! 80)
Wait... what?
Kobaz
02-24-2010, 09:06 PM
I think Oscar missed the bit about "Linux" in the forum title... but I don't think english is his 1st language, so be gentle with him/her.
pfyon
04-27-2010, 04:31 PM
Sigh, I am back trying to fix this, this time with a SoD client. Here's some more information.
Relevant output from the open source login server:
[Network] [04.27.10 - 16:12:30] New world server connection from 127.0.0.1:40350
[World] [04.27.10 - 16:12:30] Server Test(test) did not attempt to log in but unregistered servers are allowed.
[Network] [04.27.10 - 16:17:21] New SoD client connection from 111.111.111.111:5118
[Network] [04.27.10 - 16:17:21] Application packet recieved from client (size 14)
[Network] [04.27.10 - 16:17:21] Session ready recieved from client.
[Network] [04.27.10 - 16:17:22] Application packet recieved from client (size 28)
[Network] [04.27.10 - 16:17:22] Login recieved from client.
[Client] [04.27.10 - 16:17:22] User: pfyon
[Client] [04.27.10 - 16:17:22] Hash: a94a8fe5ccb19ba61c4c0873d391e987982fbbd3
[Network] [04.27.10 - 16:17:22] Application packet recieved from client (size 12)
[Network] [04.27.10 - 16:17:22] Server list request recieved from client.
[Network] [04.27.10 - 16:17:24] Application packet recieved from client (size 16)
[Network] [04.27.10 - 16:17:24] Play recieved from client, server number 3 sequence 5.
[Network Trace] [04.27.10 - 16:17:24] User-To-World Response recieved.
[Network] [04.27.10 - 16:17:25] Client disconnected from the server, removing client.
[Network] [04.27.10 - 16:18:26] New SoD client connection from 111.111.111.111:5145
[Network] [04.27.10 - 16:18:26] Application packet recieved from client (size 14)
[Network] [04.27.10 - 16:18:26] Session ready recieved from client.
[Network] [04.27.10 - 16:18:26] Application packet recieved from client (size 28)
[Network] [04.27.10 - 16:18:26] Login recieved from client.
[Client] [04.27.10 - 16:18:26] User: pfyon
[Client] [04.27.10 - 16:18:26] Hash: a94a8fe5ccb19ba61c4c0873d391e987982fbbd3
[Network] [04.27.10 - 16:18:27] Application packet recieved from client (size 12)
[Network] [04.27.10 - 16:18:27] Server list request recieved from client.
[Debug] Unable to convert EQ opcode 0x0003 to an Application opcode.
[Network] [04.27.10 - 16:18:31] Application packet recieved from client (size 12)
[Network Error] [04.27.10 - 16:18:31] Recieved unhandled application packet from the client opcode index 0
[Network] [04.27.10 - 16:18:31] Client disconnected from the server, removing client.
(Note: that's the first time I've seen the errors in a few trials, this time I clicked 'logout' on the server select screen instead of just pressing escape, so that could be the cause for those). I also removed the mildly personally identifying information from the logs.
Relevant output of eqemu_debug_world.log:
5947 [04.27. - 16:13:44] [WORLD__CONSOLE] New zoneserver #4 from 127.0.0.1:44217
5947 [04.27. - 16:13:44] [WORLD__CONSOLE] New zoneserver #5 from 127.0.0.1:44216
5947 [04.27. - 16:13:44] [WORLD__ZONE] [5] Zone started with name dynamic_05 by launcher zone
5947 [04.27. - 16:13:44] [WORLD__ZONE] [5] Auto zone port configuration. Telling zone to use port 7001
5947 [04.27. - 16:13:44] [WORLD__ZONE] [4] Zone started with name dynamic_03 by launcher zone
5947 [04.27. - 16:13:44] [WORLD__ZONE] [4] Auto zone port configuration. Telling zone to use port 7002
5947 [04.27. - 16:13:44] [WORLD__ZONE] [3] Zone started with name dynamic_04 by launcher zone
5947 [04.27. - 16:13:44] [WORLD__ZONE] [3] Auto zone port configuration. Telling zone to use port 7003
5947 [04.27. - 16:13:44] [WORLD__ZONE] [2] Zone started with name dynamic_02 by launcher zone
5947 [04.27. - 16:13:44] [WORLD__ZONE] [2] Auto zone port configuration. Telling zone to use port 7004
5947 [04.27. - 16:17:24] [WORLD__LS_TRACE] Recevied ServerPacket from LS OpCode 0x04x
5947 [04.27. - 16:17:24] [WORLD__LS_TRACE] 0000: 02 00 00 00 03 00 00 00 - 00 00 00 00 00 00 00 00 | ................
5947 [04.27. - 16:17:24] [WORLD__LS_TRACE] Recevied ServerPacket from LS OpCode 0x04x
5947 [04.27. - 16:17:24] [WORLD__LS_TRACE] 0000: 02 00 00 00 70 66 79 6f - 6e 00 00 00 00 00 00 00 | ....pfyon.......
5947 [04.27. - 16:17:24] [WORLD__LS_TRACE] 0016: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 | ................
5947 [04.27. - 16:17:24] [WORLD__LS_TRACE] 0032: 00 00 41 31 53 4a 43 50 - 43 36 50 4f 00 00 00 00 | ..A1SJCPC6PO....
5947 [04.27. - 16:17:24] [WORLD__LS_TRACE] 0048: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 | ................
5947 [04.27. - 16:17:24] [WORLD__LS_TRACE] 0064: 00 00 00 63 f5 e8 95 00 - | ...c....
Here's the contents of my server folder:
-rw-rw-r-- 1 eqemu users 10781 2009-08-19 18:18 addcomments.sql
lrwxrwxrwx 1 eqemu users 21 2010-01-27 15:57 cleanipc -> source/utils/cleanipc
lrwxrwxrwx 1 eqemu users 33 2010-01-27 15:57 commands.pl -> source/utils/defaults/commands.pl
-rw-rw-r-- 1 eqemu users 7348 2010-04-27 14:33 crashlog
lrwxrwxrwx 1 eqemu users 21 2009-08-09 09:22 database -> ../peqdb/peqdatabase/
-rw-rw-r-- 1 eqemu users 2430 2010-04-27 15:44 eqemu_config.xml
lrwxrwxrwx 1 eqemu users 42 2010-04-27 16:03 eqemulogin.ini -> EQEmuLoginServer/login_util/eqemulogin.ini
lrwxrwxrwx 1 eqemu users 24 2010-04-26 19:39 EQEmuLoginServer -> source/EQEmuLoginServer/
lrwxrwxrwx 1 eqemu users 24 2010-01-27 15:58 eqlaunch -> source/eqlaunch/eqlaunch
-rw-rw-r-- 1 eqemu users 29 2010-04-27 16:12 eqtime.cfg
-rw-rw-r-- 1 eqemu users 4877 2009-08-20 11:22 import_spells.pl
lrwxrwxrwx 1 eqemu users 36 2010-01-27 15:59 libEMuShareMem.so -> source/EMuShareMem/libEMuShareMem.so
lrwxrwxrwx 1 eqemu users 29 2010-01-27 15:59 log.ini -> source/utils/defaults/log.ini
lrwxrwxrwx 1 eqemu users 35 2010-04-27 16:11 login_opcodes.conf -> EQEmuLoginServer/login_opcodes.conf
lrwxrwxrwx 1 eqemu users 26 2010-01-27 15:59 logs -> source/utils/defaults/logs
lrwxrwxrwx 1 eqemu users 16 2009-08-07 12:17 Maps -> ../peqmaps/Maps/
lrwxrwxrwx 1 eqemu users 32 2010-01-27 16:00 mime.types -> source/utils/defaults/mime.types
lrwxrwxrwx 1 eqemu users 27 2010-01-27 16:00 patch_6.2.conf -> source/utils/patch_6.2.conf
lrwxrwxrwx 1 eqemu users 35 2010-01-27 16:00 patch_Anniversary.conf -> source/utils/patch_Anniversary.conf
lrwxrwxrwx 1 eqemu users 28 2010-01-27 16:01 patch_Live.conf -> source/utils/patch_Live.conf
lrwxrwxrwx 1 eqemu users 27 2010-04-26 19:41 patch_SoD.conf -> source/utils/patch_SoD.conf
lrwxrwxrwx 1 eqemu users 27 2010-01-27 16:03 patch_SoF.conf -> source/utils/patch_SoF.conf
lrwxrwxrwx 1 eqemu users 32 2010-01-27 16:05 patch_Titanium.conf -> source/utils/patch_Titanium.conf
-rwxrw-r-x 1 eqemu users 213 2009-08-09 10:16 persist_world
lrwxrwxrwx 1 eqemu users 31 2010-01-27 16:05 plugin.pl -> source/utils/defaults/plugin.pl
lrwxrwxrwx 1 eqemu users 29 2010-01-27 16:05 plugins -> source/utils/defaults/plugins
lrwxrwxrwx 1 eqemu users 25 2009-08-07 22:03 quests -> ../peqquests/trunk/quests
lrwxrwxrwx 1 eqemu users 17 2010-01-25 22:09 source -> /home/eqemu/code/
-rw-rw-r-- 1 eqemu users 9434199 2007-09-27 10:45 spells_us.txt
-rwxrw-r-x 1 eqemu users 898 2009-08-09 10:15 start
-rwxrw-r-x 1 eqemu users 295 2009-08-21 23:36 stop
lrwxrwxrwx 1 eqemu users 31 2010-01-27 16:04 templates -> source/utils/defaults/templates
-rwxrw-r-x 1 eqemu users 150 2009-08-16 14:41 update
lrwxrwxrwx 1 eqemu users 18 2010-01-27 16:04 world -> source/world/world
lrwxrwxrwx 1 eqemu users 29 2010-01-27 16:04 worldui -> source/utils/defaults/worldui
lrwxrwxrwx 1 eqemu users 32 2010-01-27 16:05 worldui.pl -> source/utils/defaults/worldui.pl
lrwxrwxrwx 1 eqemu users 16 2010-01-27 16:05 zone -> source/zone/zone
And the content of my login server folder:
total 44712
-rw-r--r-- 1 eqemu users 9810 2010-04-26 14:34 Client.cpp
-rw-r--r-- 1 eqemu users 3349 2010-04-26 14:34 Client.h
-rw-r--r-- 1 eqemu users 4521 2010-04-26 14:34 ClientManager.cpp
-rw-r--r-- 1 eqemu users 2005 2010-04-26 14:34 ClientManager.h
-rw-r--r-- 1 eqemu users 132812 2010-04-26 14:36 ClientManager.o
-rw-r--r-- 1 eqemu users 108056 2010-04-26 14:36 Client.o
-rw-r--r-- 1 eqemu users 4677 2010-04-26 14:34 Config.cpp
-rw-r--r-- 1 eqemu users 2140 2010-04-26 14:34 Config.h
-rw-r--r-- 1 eqemu users 210504 2010-04-26 14:37 Config.o
-rw-r--r-- 1 eqemu users 2679 2010-04-26 14:34 Database.h
-rw-r--r-- 1 eqemu users 5926 2010-04-26 14:34 DatabaseMySQL.cpp
-rw-r--r-- 1 eqemu users 2988 2010-04-26 14:34 DatabaseMySQL.h
-rw-r--r-- 1 eqemu users 226624 2010-04-26 14:37 DatabaseMySQL.o
-rw-r--r-- 1 eqemu users 6417 2010-04-26 14:34 DatabasePostgreSQL.cpp
-rw-r--r-- 1 eqemu users 2836 2010-04-26 14:34 DatabasePostgreSQL.h
-rw-r--r-- 1 eqemu users 3329 2010-04-26 14:34 Encryption.cpp
-rw-r--r-- 1 eqemu users 3076 2010-04-26 14:34 Encryption.h
-rw-r--r-- 1 eqemu users 1167 2010-04-26 14:34 EQCryptoAPI.h
-rw-r--r-- 1 eqemu users 6209 2010-04-26 14:34 EQEmuDatabase.cpp
-rwxr-xr-x 1 eqemu users 9629414 2010-04-26 14:37 EQEmuLoginServer
-rw-r--r-- 1 eqemu users 11173 2010-04-26 14:34 EQEmuLoginServer.vcproj
-rw-r--r-- 1 eqemu users 2312 2010-04-26 14:34 ErrorLog.cpp
-rw-r--r-- 1 eqemu users 1958 2010-04-26 14:34 ErrorLog.h
-rw-r--r-- 1 eqemu users 19844 2010-04-26 14:37 ErrorLog.o
-rw-r--r-- 1 eqemu users 34357226 2010-01-15 18:28 libcryptopp.a
-rw-r--r-- 1 eqemu users 265026 2010-01-15 19:18 libEQEmuAuthCrypto.a
lrwxrwxrwx 1 eqemu users 20 2010-04-26 14:39 login.ini -> login_util/login.ini
lrwxrwxrwx 1 eqemu users 29 2010-04-26 14:39 login_opcodes.conf -> login_util/login_opcodes.conf
lrwxrwxrwx 1 eqemu users 33 2010-04-26 14:39 login_opcodes_sod.conf -> login_util/login_opcodes_sod.conf
-rw-r--r-- 1 eqemu users 1796 2010-04-26 14:34 LoginServer.h
-rw-r--r-- 1 eqemu users 3104 2010-04-26 14:34 LoginStructures.h
drwxr-xr-x 5 eqemu users 4096 2010-04-27 16:11 login_util
drwxr-xr-x 2 eqemu users 4096 2010-04-27 15:44 logs
-rw-r--r-- 1 eqemu users 7909 2010-04-26 14:34 Main.cpp
-rw-r--r-- 1 eqemu users 244124 2010-04-26 14:37 Main.o
-rw-r--r-- 1 eqemu users 684 2010-04-26 14:34 makefile
-rw-r--r-- 1 eqemu users 890 2010-04-26 14:34 makefile.common
-rw-r--r-- 1 eqemu users 4267 2010-04-26 14:34 Options.h
-rw-r--r-- 1 eqemu users 7919 2010-04-26 14:34 ServerManager.cpp
-rw-r--r-- 1 eqemu users 2358 2010-04-26 14:34 ServerManager.h
-rw-r--r-- 1 eqemu users 152372 2010-04-26 14:37 ServerManager.o
-rw-r--r-- 1 eqemu users 13290 2010-04-26 14:34 WorldServer.cpp
-rw-r--r-- 1 eqemu users 4132 2010-04-26 14:34 WorldServer.h
-rw-r--r-- 1 eqemu users 139348 2010-04-26 14:37 WorldServer.o
Relevant section of eqemu_config.xml:
<!-- Only specify these two if you really think you need to. (read: You don't) -->
<address>peterfyon.homeunix.com</address>
<localaddress>192.168.1.104</localaddress>
<!-- Loginserver information. Defaults shown -->
<loginserver1>
<host>localhost</host>
<port>5997</port>
<account></account>
<password></password>
</loginserver1>
And the only difference in the login server's login.ini from the defaults, aside from the db information, is:
listen_port = 5997
I am using the most recent version of the login server and eqemu server, compiled under ubuntu 8.10 (I believe) myself.
edit: Also, my eqhost.txt file is pointing at Host=peterfyon.homeunix.com:5999, and I'm sure there's a few unneeded files in the server folders by now.
edit2: I also updated my /etc/hosts file to direct the hostname to the internal IP.
Kobaz
04-28-2010, 01:05 AM
Just out of curiosity, what happens if you set your eqhost.txt to
Host=peterfyon.homeunix.com:5997
or
Host=peterfyon.homeunix.com:5998
so you are using the same port as the loginserver is listening to?
I'd also try replacing all the "localhost" entries with the ip addresses (internal and/or external), just to see what difference that makes.
pfyon
04-28-2010, 02:21 PM
Changing the ip to the host name in any place didn't do anything, and listen_port is the port the login server listens on for connections from world servers.
In conclusion, still having that problem :(.
Does anyone have a log entry of a successful login from their eqemu_debug_world.log ?
mmaker
04-30-2010, 02:14 AM
<loginserver1>
<host>localhost</host>
<port>5997</port>
<account></account>
<password></password>
</loginserver1>
Is that correct? I have the hostname of the machine in there, not localhost.
I also have an account and password, though I can't remember what account that refers to :).
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.