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 02-16-2011, 04:50 AM
Xakkis
Fire Beetle
 
Join Date: May 2010
Posts: 14
Default Issue initializing world

Hello all. I've spent several of hours trying to properly configure my server setup. Pretty sure I'm almost there, after countless reinstalls/uninstalls and getting rid of that 10061 error. Now what's bothering me is that when I execute my batch file, one of my consoles begins to load files and then freezes (Windows reports that it has stopped working and eventually leaves me no choice but to close the program.

Here is my log of that console:

Code:
---------------------------------------------
[02.16. - 02:46:18] Starting Log: logs/eqemu_debug_world_4960.log
[02.16. - 02:46:18] [WORLD__INIT] Loading server configuration..
[02.16. - 02:46:18] [WORLD__INIT] Log settings loaded from log.ini
[02.16. - 02:46:18] [WORLD__INIT] CURRENT_WORLD_VERSION:EQEmulator 0.8.0
[02.16. - 02:46:18] [WORLD__INIT] Added loginserver eqemulator.net:5998
[02.16. - 02:46:18] [WORLD__INIT] Connecting to MySQL...
[02.16. - 02:46:18] [WORLD__INIT] HTTP world service disabled.
[02.16. - 02:46:18] [WORLD__INIT] Loading variables..
[02.16. - 02:46:18] [WORLD__INIT] Loading zones..
[02.16. - 02:46:18] [WORLD__INIT] Clearing groups..
[02.16. - 02:46:18] [WORLD__INIT] Clearing raids..
[02.16. - 02:46:18] [WORLD__INIT] Loading items..
[02.16. - 02:46:21] [WORLD__INIT] Loading guilds..
[02.16. - 02:46:21] [WORLD__INIT] Loaded default rule set 'default'
[02.16. - 02:46:21] [WORLD__INIT] Clearing temporary merchant lists..
[02.16. - 02:46:21] [WORLD__INIT] Loading EQ time of day..
[02.16. - 02:46:21] [WORLD__INIT_ERR] Unable to load eqtime.cfg
[02.16. - 02:46:21] [WORLD__INIT] Loading launcher list..
[02.16. - 02:46:21] [WORLD__INIT] Reboot zone modes ON
[02.16. - 02:46:21] [WORLD__INIT] Deleted 0 stale player corpses from database
[02.16. - 02:46:21] [WORLD__INIT] Deleted 0 stale player backups from database
[02.16. - 02:46:21] [WORLD__INIT] Loading adventures...
[02.16. - 02:46:21] [WORLD__INIT] Purging expired instances
[02.16. - 02:46:21] [WORLD__INIT] Zone (TCP) listener started.


^^after this it freezes. I used Huppy's guide to setting up my server, and followed it to a T.

I appreciate the help in advance.

EDIT: Just to clarify, I am using SoD client, trying to use the Bots Release. Please let me know if you would like to see the contents of any file(s).
__________________

Last edited by Xakkis; 02-16-2011 at 05:32 AM.. Reason: Clarification
Reply With Quote
  #2  
Old 02-16-2011, 09:04 AM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default

Can you post your eqemu_config.xml file? (without the db password of course.)

It sounds like something is wrong with the tcp port config for world, indicating an issue on port 9000. Make sure nothing is running on port 9000.
Reply With Quote
  #3  
Old 02-16-2011, 07:53 PM
Xakkis
Fire Beetle
 
Join Date: May 2010
Posts: 14
Default

So I used netstat to find out if port 9000 was in use and lo and behold, another program was using it. It's one I don't use often so I just exited it and it freed up the port.
Thank you Secrets.

This next question could be sort of trivial but I've looked at plenty of threads and it becomes difficult to find a simple answer that matches up to my specific desire.

I want to make the server private, as my whole basis for creating one is to learn how to develop. Can anyone either:

a) Point me to a thread that tells me how to
-Make my server private (and describes the necessary changes to config files therein)
-Setup the login server or application accordingly (EQEmulogin? Minilogin?)

or

b) Just describe to me the changes I need to make, as I'm sure they are few in number at this point.

My world/zones load fine, I have properly configured my db. I am using the SoD client. I am using the Bots release (which probably doesn't matter to you).

My aim to is to be able to setup this private server (as right now my login and everything is configured to connect to eqemulator.net:5999) and then login and test out changes that I might make to my code.

Thank you.
__________________
Reply With Quote
  #4  
Old 02-16-2011, 08:06 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

I use eqemuloginserver for my private server. Just changing all the addresses in your config to point to your local IP address, or 127.0.0.1 if it's all on the same machine should work.
Reply With Quote
  #5  
Old 02-16-2011, 10:45 PM
Xakkis
Fire Beetle
 
Join Date: May 2010
Posts: 14
Default

Well, the only issue I'm having now is that it can't connect to the login server. The address I access my router through is 192.168.2.1. It is also the IP that shows up as "Default Gateway" under ipconfig (perhaps obvious).

I have my router forwarding ports 5998, 5999, 9000, 7000-7100, and 10234 for mail/chat. I have to enter a private IP in the same line as the port to forward, and I chose 192.168.2.3.

Here are my various config files:

eqhost.txt
Code:
[LoginServer]
Host=192.168.2.1:5999

eqemu_config.xml
Code:
<?xml version="1.0">
<server>
	<world>
		<shortname>falseidols</shortname>
		<longname>Age of the False Idols</longname>

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

		<!-- Loginserver information.  Defaults shown -->
		<loginserver>
			<host>192.168.2.1</host>
			<port>5999</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="localhost" 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.2.1</host>
		<port>10234</port>
	</chatserver>

	<!-- Mailserver (in-game mail) information.  Defaults shown -->
	<mailserver>
		<host>192.168.2.1</host>
		<port>10234</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>****</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>

eqemulogin.ini
Code:
[LoginServer]
loginserver=192.168.2.1
loginport=5999
DumpPacketsIn=false
DumpPacketsOut=false
Trace=false
DatabaseServerName=localhost
DatabaseCatalogName=peqlogin
DatabaseUserName=root
DatabaseUserPassword=****
OPCodePathAndFileName=login_opcodes_sod.conf


login.ini
Code:
[database]
host = localhost
port = 3306
db = peqlogin
user = root
password = ****
subsystem = MySQL

[options]
unregistered_allowed = TRUE
reject_duplicate_servers = TRUE
trace = FALSE
world_trace = FALSE
dump_packets_in = FALSE
dump_packets_out = FALSE
listen_port = 5999
local_network = 192.168.2.

[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
I feel like I am probably using the wrong IP, but am unsure. Again, my aim is to create a LAN or private server for me to play with on my own. I already ran the sql queries to generate myself an account in the loginserver DB (obviously my loginserver DB is called peqlogin) and to register my server on the list.

Basically, it tries to connect to one of the several IPs I've tried to enter for the login server (localhost, 192.168.2.1, 192.168.2.3 tried all three) and gives me a 10061 error. Meanwhile all the zones load up and are fine. This seems to be my last barrier.

I've tried looking around at Huppy's guide and others, but feel like I am missing something.

Thank you.
__________________
Reply With Quote
  #6  
Old 02-16-2011, 10:55 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

Are you running the client on the same machine as the server? If so, change all the IP addresses to 127.0.0.1, including your eqhost.txt file for the login server address.

If not, go to a command prompt on the server and type ipconfig. That is the address you should use in the eqhost.txt file on the client, and the address you should use for all of the addresses in your config file.
Reply With Quote
  #7  
Old 02-16-2011, 11:00 PM
Xakkis
Fire Beetle
 
Join Date: May 2010
Posts: 14
Default

Yes, I am running both on the same machine. I changed all the IP addresses wherein previously I had used some variation of 192.168.2.x to 127.0.0.1.

It gave me the same error. Not sure...

Thanks for the reply by the way.
__________________
Reply With Quote
  #8  
Old 02-16-2011, 11:05 PM
Xakkis
Fire Beetle
 
Join Date: May 2010
Posts: 14
Default

Figured I'd add this log to help perhaps:

Code:

---------------------------------------------
[02.16. - 21:01:55] Starting Log: logs/eqemu_debug_world_34724.log
[02.16. - 21:01:55] [WORLD__INIT] Loading server configuration..
[02.16. - 21:01:55] [WORLD__INIT] Log settings loaded from log.ini
[02.16. - 21:01:55] [WORLD__INIT] CURRENT_WORLD_VERSION:EQEmulator 0.8.0
[02.16. - 21:01:55] [WORLD__INIT] Added loginserver 127.0.0.1:5999
[02.16. - 21:01:55] [WORLD__INIT] Connecting to MySQL...
[02.16. - 21:01:55] [WORLD__INIT] HTTP world service disabled.
[02.16. - 21:01:55] [WORLD__INIT] Loading variables..
[02.16. - 21:01:55] [WORLD__INIT] Loading zones..
[02.16. - 21:01:55] [WORLD__INIT] Clearing groups..
[02.16. - 21:01:55] [WORLD__INIT] Clearing raids..
[02.16. - 21:01:55] [WORLD__INIT] Loading items..
[02.16. - 21:01:59] [WORLD__INIT] Loading guilds..
[02.16. - 21:01:59] [WORLD__INIT] Loaded default rule set 'default'
[02.16. - 21:01:59] [WORLD__INIT] Clearing temporary merchant lists..
[02.16. - 21:01:59] [WORLD__INIT] Loading EQ time of day..
[02.16. - 21:01:59] [WORLD__INIT_ERR] Unable to load eqtime.cfg
[02.16. - 21:01:59] [WORLD__INIT] Loading launcher list..
[02.16. - 21:01:59] [WORLD__INIT] Reboot zone modes ON
[02.16. - 21:01:59] [WORLD__INIT] Deleted 0 stale player corpses from database
[02.16. - 21:01:59] [WORLD__INIT] Deleted 0 stale player backups from database
[02.16. - 21:01:59] [WORLD__INIT] Loading adventures...
[02.16. - 21:01:59] [WORLD__INIT] Purging expired instances
[02.16. - 21:01:59] [WORLD__INIT] Zone (TCP) listener started.
[02.16. - 21:01:59] [WORLD__INIT] Client (UDP) listener started.
[02.16. - 21:01:59] [NET__IDENTIFY] Registered patch 6.2
[02.16. - 21:01:59] [NET__IDENTIFY] Registered patch Titanium
[02.16. - 21:01:59] [NET__IDENTIFY] Registered patch SoF
[02.16. - 21:01:59] [NET__IDENTIFY] Registered patch SoD
[02.16. - 21:01:59] [NET__IDENTIFY] Registered patch Underfoot
[02.16. - 21:01:59] [NET__IDENTIFY] Registered patch HoT
[02.16. - 21:01:59] [WORLD__LS] Connecting to login server: 127.0.0.1:5999
[02.16. - 21:02:00] [WORLD__LS_ERR] Could not connect to login server: 127.0.0.1:5999 TCPConnection::Connect(): connect() failed. Error: 10061
[02.16. - 21:02:05] [WORLD__ZONE] New TCP connection from 127.0.0.1:61550
[02.16. - 21:02:05] [WORLD__CONSOLE] New launcher from 127.0.0.1:61550
[02.16. - 21:02:05] [WORLD__LAUNCH] Adding pending launcher 1
[02.16. - 21:02:05] [WORLD__LAUNCH] Launcher Identified itself as 'zone'. Loading zone list.
[02.16. - 21:02:05] [WORLD__LAUNCH] Removing pending launcher 1. Adding zone to active list.
[02.16. - 21:02:10] [WORLD__LAUNCH] zone: dynamic_01 reported state STARTED (1 starts)
__________________
Reply With Quote
  #9  
Old 02-16-2011, 11:08 PM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,332
Default

Quote:
Originally Posted by Xakkis View Post
Well, the only issue I'm having now is that it can't connect to the login server. The address I access my router through is 192.168.2.1. It is also the IP that shows up as "Default Gateway" under ipconfig (perhaps obvious).

I have my router forwarding ports 5998, 5999, 9000, 7000-7100, and 10234 for mail/chat. I have to enter a private IP in the same line as the port to forward, and I chose 192.168.2.3.
This is an example of what I get when I type ipconfig (in windows):
(I have indicated the internal IP result that has to be used with my server.)

Code:
C:\>ipconfig

Windows IP Configuration


Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . : my.cableisp.net
   Link-local IPv6 Address . . . . . : fe80::2907:65d4:cd3a:c043%10
   IPv4 Address. . . . . . . . . . . : 192.168.1.101 <<<<<--------my server IP
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.1

Tunnel adapter Local Area Connection* 6:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

Tunnel adapter Local Area Connection* 7:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

C:\>
Reply With Quote
  #10  
Old 02-16-2011, 11:14 PM
Xakkis
Fire Beetle
 
Join Date: May 2010
Posts: 14
Default

Using my IPv4 address then, I still reach the same result.
I checked to make sure that the port wasn't being used by something else as well.

Thanks for the reply Huppy. Even if I had configured something wrongly in the setup aspect, I feel like the connection could still be made to the loginserver.

Dunno :(
__________________
Reply With Quote
  #11  
Old 02-16-2011, 11:25 PM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,332
Default

Quote:
Originally Posted by Xakkis View Post
Using my IPv4 address then, I still reach the same result.
I checked to make sure that the port wasn't being used by something else as well.

Thanks for the reply Huppy. Even if I had configured something wrongly in the setup aspect, I feel like the connection could still be made to the loginserver.

Dunno :(
Just curious, when the eqemuloginserver.exe window starts up, is it showing any errors ?
Reply With Quote
  #12  
Old 02-16-2011, 11:31 PM
Xakkis
Fire Beetle
 
Join Date: May 2010
Posts: 14
Default

Hmm, a eqemuloginserver.exe window does not start up. I've been curious about that, as with the old Minilogin a console window popped up before.

The only two console windows that open are those of world.exe and eqlaunch.exe.
__________________
Reply With Quote
  #13  
Old 02-16-2011, 11:32 PM
Xakkis
Fire Beetle
 
Join Date: May 2010
Posts: 14
Default

Figured it out. Didn't have opcodes_sod in my server folder. Wow.
__________________
Reply With Quote
  #14  
Old 02-16-2011, 11:35 PM
Huppy's Avatar
Huppy
Demi-God
 
Join Date: Oct 2010
Posts: 1,332
Default

Quote:
Originally Posted by Xakkis View Post
Hmm, a eqemuloginserver.exe window does not start up. I've been curious about that, as with the old Minilogin a console window popped up before.

The only two console windows that open are those of world.exe and eqlaunch.exe.
Ok, then thats why your server is not connecting to the login, you need to
simply download the eqemuloginserver.rar file from here :

http://code.google.com/p/projecteqemu/downloads/list

And then unzip/unrar all the files in to your eqemu server folder.
Reply With Quote
  #15  
Old 02-16-2011, 11:35 PM
Xakkis
Fire Beetle
 
Join Date: May 2010
Posts: 14
Default

Thanks for helping me figure it out Huppy, and for posting that updated Jan-2011 guide. Appreciate the help, mate.
__________________
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 08:11 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