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:
Code:
[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:
Code:
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:
Code:
-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:
Code:
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:
Code:
<!-- 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:
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.