View Single Post
  #15  
Old 04-28-2014, 05:08 PM
NickW
Sarnak
 
Join Date: Apr 2014
Posts: 72
Default

Quote:
Originally Posted by vsab View Post
Try port 5998. If that doesn't work, what does the output window of loginserver.exe say? I mean, you are running it I presume?
That has to be it. So far I have been running Xampp > MySQL > start.bat > then the EQ client. I just tried running loginserver.exe. It pops up for half a second and then disappears.



That's the best screenshot I can get. It closes very quickly. It says:

Logging System Init.
Config System Init.
Database Initialization Failure.
Config System Shutdown.
Log System Shutdown.

My start.bat

Code:
@echo off
shared_memory.exe
start loginserver.exe
start world.exe
echo Waiting for the world to finish loading before starting zones...
ping -n 10 127.0.0.1 > nul
start queryserv.exe
start ucs.exe
start eqlaunch.exe zone
exit
It is supposed to be starting the loginserver.exe. Apparently, the database initialization failure is stopping it..

Edit: I forgot to mention I tried port 5998 in the host.txt. No change.


Quote:
Originally Posted by Kingly_Krab View Post
Code:
[LoginServer]
Host=127.0.0.1:5999
That's what you have in your host file? If you're using the public loginserver and trying to connect using that, it won't work.

Try this:
Code:
[LoginServer]
Host=login.eqemulator.net:5999
Also, when the "0: sleeping" changes it means it's looking at a zone like this 7004: tutorial, 1 clients". It is not an issue for this to not be sleeping (unless no one is actually online).

Also, may I see your eqemu_config.xml, with the username and password to your database removed?
I am currently trying to log into my own personal server. I can log onto the public servers no problem with my original host.txt.

Here's my EqEmuConfig.xml:

Code:
<?xml version="1.0"?>
<server>
	<world>
		<shortname>setme</shortname>
		<longname>I Forgot To Edit My Config</longname>

		<!-- 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> -->

		<!-- Loginserver information.  Defaults shown -->
		<loginserver>
  			<host>127.0.0.1</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="127.0.0.1" 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>channels.eqemulator.net</host>
		<port>7778</port>
	</chatserver>

	<!-- Mailserver (in-game mail) information.  Defaults shown -->
	<mailserver>
		<host>channels.eqemulator.net</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>XXXX</password>
		<db>peq</db>
	</database>

	<qsdatabase>
		<host>127.0.0.1</host>
		<port>3306</port>
		<username>root</username>
		<password>XXXX</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>
I underlined the bits I changed while following the setup guide.
Reply With Quote