I was following: Kavren's stickied guide:
http://www.eqemulator.org/forums/showthread.php?t=31783
I have 2 machines on the lan, behind a router: Server2003(server) and Win7(client), both fully patched. I use DHCP, but made reservations for both the Server and Client, so they always get the same IPs.
I have ports (TCP and UDP) 7000-7100, 9080, 5998, 5999 all forwarded to the Server2003 machine. Don't even know if I need all those, but started getting desperate.
Trying to create a public server off of eqemulator.net. I can see it in the list unlocked, but when I try to connect from the client, after sever select it goes black, then crashes to login screen.
As far as errors, I only get 2:
From eqemu_debug_####.log
Code:
[11.28. - 20:49:10] [LAUNCHER__INIT] Loading server configuration..
[11.28. - 20:49:11] [NET__WORLD] WorldConnection connect: Connecting to the server localhost:9000 failed: TCPConnection::Connect(): connect() failed. Error: 10061
[11.28. - 20:49:11] [LAUNCHER__ERROR] worldserver.Connect() FAILED! Will retry.
[11.28. - 20:49:11] [LAUNCHER__INIT] Starting main loop...
[11.28. - 20:49:31] [NET__WORLD] Connected to World: localhost:9000
which I assume is irrelevant, due to last line, which I think I read it as a timing issue that resolves itself?
And I also get:
From eqemu_debug_world_####.log
Code:
[11.28. - 20:50:10] [WORLD__ZONE] [5] Auto zone port configuration. Telling zone to use port 7004
[11.28. - 20:54:46] [WORLD__CLIENT] New connection from 192.168.x.x:56264
[11.28. - 20:54:46] [NET__IDENT_TRACE] 192.168.x.x:56264: First opcode 0x4dd0 did not match expected 0x2792
[11.28. - 20:54:46] [NET__IDENT_TRACE] 192.168.x.x:56264: Tried patch 6.2_world, and it did not match.
[11.28. - 20:54:46] [NET__IDENT_TRACE] 192.168.x.x:56264: First opcode 0x4dd0 did not match expected 0x2ec9
[11.28. - 20:54:46] [NET__IDENT_TRACE] 192.168.x.x:56264: Tried patch 6.2_zone, and it did not match.
[11.28. - 20:54:46] [NET__IDENT_TRACE] 192.168.x.x:56264: First opcode matched 0x4dd0 and length matched 464
[11.28. - 20:54:46] [NET__IDENTIFY] Identified stream 192.168.x.x:56264 with signature Titanium_world
[11.28. - 20:54:46] [WORLD__CLIENT] Checking inbound connection 192.168.2.101 against BannedIPs table
[11.28. - 20:54:46] [WORLD__CLIENT] Connection 192.168.x.x PASSED banned IPs check. Processing connection.
[11.28. - 20:54:46] [WORLD__CLIENTLIST_ERR] Error adding local account for LS login: 'HeavyHand', duplicate name?
[11.28. - 20:54:46] [WORLD__CLIENT_ERR] NOCLE: Bad/Expired session key '103755'
which I think is the main culprit. There are definitely some other issues, as I tried accessing outside of the LAN by VPNing into work and get no connections listed at all; maybe I am off base with this test?
I mentioned in the guide thread that I don't have an eqemulogin.ini, only a login.ini which I copied over instead.
As for my config files:
login.ini
Code:
[database]
host = localhost
port = 3306
db = peqlogindb
user = root
password = <my_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 = 192.168.x.x (actual internal Server IP in the config)
[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
and eqemu_config.xml:
Code:
<?xml version="1.0">
<server>
<world>
<shortname>TZTBG</shortname>
<longname>TZT Battlegrounds</longname>
<!-- Only specify these two if you really think you need to. (read: You don't) -->
<!-- <address>tztbg.game-host.org</address> -->
<!-- <localaddress>192.168.x.x</localaddress> -->
<!-- Loginserver information. Defaults shown -->
<loginserver>
<!-- <host>tztbg.game-host.org</host> -->
<host>eqemulator.net</host>
<port>5998</port>
<!--comment out the login info below for local logins-->
<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>some long random string</key> -->
<key>something_I_made_up</key>
<!-- Enable and set the port for the HTTP service. Defaults are shown -->
<http port="9080" enabled="true" 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>my_password</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>
It's been a nerdy Thanksgiving "vacation," but fun so far. Thoughts?