Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 09-20-2014, 10:20 PM
whodey
Fire Beetle
 
Join Date: Sep 2014
Posts: 4
Default Failed to connect to zoneserver

I've recently set up and configured a server, and it appears that one of the clients I'm using isnt getting over to the zoneserver after character select. I've been able to view the server, character create, and receive error on the client machine :

sony\everquest\logs\dbg.txt

Code:
2014-09-20 23:56:56	Initializing character select UI.
2014-09-20 23:56:56	Resetting game UI.
2014-09-20 23:57:10	Zone Connect -- 0 -- Received MSG_ZONE_ADDRESS
2014-09-20 23:57:10	Zone addr [:23579] received...
2014-09-20 23:57:10	ZONING
2014-09-20 23:57:10	Networking: Connection Closed [0] with 0 pending bytes.
2014-09-20 23:57:11	Networking: using port [50895].
2014-09-20 23:57:11	Networking: Connection Established [1]
2014-09-20 23:58:11	Could not connect to :7004 [client:DisconnectReasonConnectFail,server:DisconnectReasonNone].  Negotiation count: 600.
2014-09-20 23:58:11	
2014-09-20 23:58:11	Networking: Connection Closed [0] with 0 pending bytes.
2014-09-20 23:58:11	Failed to connect to zoneserver (, port 7004), result = 1, for MSG_ZONE_ADDRESS.
2014-09-20 23:58:11	
2014-09-20 23:58:11	THE SERVER IS NOT RESPONDING.
2014-09-20 23:58:11	
2014-09-20 23:58:11	end of DisplayScreen
2014-09-20 23:58:11	
2014-09-20 23:58:13	disconnected at C:\EQ\EverQuest\EverQuest.cpp:17153 (char. select) g_world == NULL
2014-09-20 23:58:13	
2014-09-20 23:58:13	Character is .
2014-09-20 23:58:13	
2014-09-20 23:58:13	YOU HAVE BEEN DISCONNECTED.
I notice that it never shows a client connected to zone.exe when attempting to connect from the other workstation.

I am able to zone just fine when connecting as a client from the server, but nothing from a different workstation. I have also verified that it is not account related from the server machine. Firewalls are turned off and Ive forwarded ports as necessary. Hell, I've even wired both server and client to make sure it wasnt a wifi latency issue lol.

I did see somewhere that the zone connection time can be increased.

Any thoughts would be greatly appreciated
Reply With Quote
  #2  
Old 09-20-2014, 10:30 PM
jdoran
Hill Giant
 
Join Date: Jul 2012
Posts: 212
Default

These are on the same network segment? Or is there a router? I still like the idea of port forwarding being the issue. What do the zone logfiles say?

Is the server running linux? Can you run a zone server from the command-line (in case it is crashing)
Reply With Quote
  #3  
Old 09-20-2014, 10:46 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Post your config files, if you would. We can take a look to see if there's something askew.

(Obfuscate your uid/pw, please)


It may be something as simple as configuring for localhost when you need to have it setup on your LAN card's IP.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #4  
Old 09-20-2014, 10:51 PM
whodey
Fire Beetle
 
Join Date: Sep 2014
Posts: 4
Default

Sorry i should have been more clear. This is a home lan on the same router. To try and eliminate the issue altogether I have forwarded 1-65535.

I'm using win7 pro to host at the moment. The workstation is also win 7 pro. I was trying this from server 2012, but I was getting tons of errors. Server 2012 is kinda a learning project now lol

eqemu_zone_2612.txt

Code:
[09.20. - 22:50:19] ---- Zone server halas, listening on port:7004 ----
[09.20. - 22:51:19] Zone shutdown: going to sleep
login

Code:
[Network] [09.20.14 - 22:48:33] New Titanium client connection from 192.168.1.101:61801
[Network] [09.20.14 - 22:48:33] Application packet received from client (size 14)
[Network] [09.20.14 - 22:48:33] Session ready received from client.
[Network] [09.20.14 - 22:48:33] Application packet received from client (size 36)
[Network] [09.20.14 - 22:48:33] Login received from client.
[Client] [09.20.14 - 22:48:33] User: admin
[Client] [09.20.14 - 22:48:33] Hash: 5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8
[Network] [09.20.14 - 22:48:34] Application packet received from client (size 12)
[Network] [09.20.14 - 22:48:34] Server list request received from client.
[Network] [09.20.14 - 22:48:35] Application packet received from client (size 16)
[Network] [09.20.14 - 22:48:35] Play received from client, server number 2 sequence 5.
[Network Trace] [09.20.14 - 22:48:35] User-To-World Response received.
[Client] [09.20.14 - 22:48:35] Trying to find client with user id of 1.
[Client] [09.20.14 - 22:48:35] Found client with user id of 1 and account name of admin.
[Client] [09.20.14 - 22:48:35] Found sequence and play of 5 2
[Network Trace] [09.20.14 - 22:48:35] dumping packet of size 20
05 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  | ................
02 00 00 00                                        | ....
[Network Trace] [09.20.14 - 22:48:35] Sending play response with following data, allowed 1, sequence 5, server number 2, message 101
[Network Trace] [09.20.14 - 22:48:35] dumping packet of size 20
05 00 00 00 00 00 00 00 - 00 00 01 65 00 00 00 00  | ...........e....
02 00 00 00                                        | ....
[Network Trace] [09.20.14 - 22:48:35] Sending play response for admin.
[Network Trace] [09.20.14 - 22:48:35] dumping packet of size 20
05 00 00 00 00 00 00 00 - 00 00 01 65 00 00 00 00  | ...........e....
02 00 00 00                                        | ....
[Network] [09.20.14 - 22:48:35] Client disconnected from the server, removing client.
[Network] [09.20.14 - 22:51:28] New Titanium client connection from 192.168.1.101:52763
[Network] [09.20.14 - 22:51:28] Application packet received from client (size 14)
[Network] [09.20.14 - 22:51:28] Session ready received from client.
[Network] [09.20.14 - 22:51:28] Application packet received from client (size 12)
[Network Error] [09.20.14 - 22:51:28] Recieved unhandled application packet from the client: [OpCode OP_Unknown (0x0012) Size=10].
[Network] [09.20.14 - 22:51:28] Application packet received from client (size 36)
[Network] [09.20.14 - 22:51:28] Login received from client.
[Client] [09.20.14 - 22:51:28] User: admin
[Client] [09.20.14 - 22:51:28] Hash: 5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8
[Network] [09.20.14 - 22:51:28] Application packet received from client (size 12)
[Network] [09.20.14 - 22:51:28] Server list request received from client.
[Network] [09.20.14 - 22:51:30] Client disconnected from the server, removing client.
I dont think zone is crashing, it says up and allows connections from the server itself.
Reply With Quote
  #5  
Old 09-20-2014, 10:55 PM
whodey
Fire Beetle
 
Join Date: Sep 2014
Posts: 4
Default

Thanks, this is making me cross-eyed lol


Code:
<?xml version="1.0"?>
<server>
	<world>
		<shortname>Local</shortname>
		<longname>Local Server</longname>

		<!-- Only specify these two if you really think you need to.  (read: You don't) -->
		<!-- <address>some.server.com</address> -->
		<localaddress>192.168.1.x</localaddress>

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

		<!-- Sets the shared key used by zone/launcher to connect to world -->
		<key>1234567890qwertyuiop</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.x</host>
		<port>7778</port>
	</chatserver>

	<!-- Mailserver (in-game mail) information.  Defaults shown -->
	<mailserver>
		<host>192.168.1.x</host>
		<port>7778</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>127.0.0.1</host>
		<port>3306</port>
		<username>root</username>
		<password>qwerty</password>
		<db>peq</db>
	</database>

	<qsdatabase>
		<host>127.0.0.1</host>
		<port>3306</port>
		<username>root</username>
		<password>qwerty</password>
		<db>peq</db>
	</qsdatabase>

	<!-- 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>
Code:
[database]
host = localhost
port = 3306
db = peq
user = root
password = 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.1.112

[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
Reply With Quote
  #6  
Old 09-21-2014, 02:56 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

In login.ini:
Code:
[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.1.112
Change local_network to:
Code:
local_network = 192.168.1.
Just remove the 112 and leave the dot.

That was telling your login server to listen for specific traffic at '1.112' instead of the '1.x' subnet.


Post back if you're still having issues.


EDIT: You probably want to enable and set this to the same address as your local as well:
Code:
<!-- <address>some.server.com</address> -->
__________________
Uleat of Bertoxxulous

Compilin' Dirty

Last edited by Uleat; 09-21-2014 at 03:02 PM..
Reply With Quote
  #7  
Old 09-21-2014, 03:40 PM
whodey
Fire Beetle
 
Join Date: Sep 2014
Posts: 4
Default

I updated both settings and it worked. Thanks for your help!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 04:59 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3