EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::General Support (https://www.eqemulator.org/forums/forumdisplay.php?f=598)
-   -   EQemu config file issue. (https://www.eqemulator.org/forums/showthread.php?t=39799)

royzzz 06-27-2015 01:27 PM

EQemu config file issue.
 
Going to start hosting a server that is already in existence. Have received all the files, have successfully sourced the db, updated to current emu source, port forwarding on router is set correctly etc... When using start.bat file, it pulls up 4 cmd prmpt windows, but shuts down quickly all but one. Followed the trouble shooting steps online, when i use world.exe it gives me
Unable to load 'eqemu_config.xml' : Failed to open file

I am going to post my config file, as humbly ask for your assistance in something i obviously messed up. I will remove my user/pw from db/worldserver ...otherwise everything will be as is in file. Thank you for any assistance!
EDIT: Took out my long untagged code as I got the help, also realized i posted this in general instead of server issues...sorry would move if i could...

Kingly_Krab 06-27-2015 01:48 PM

Here's my file, use [code] tags to make it easier to read like this:
Code:

<?xml version="1.0">
<server>
    <world>
        <shortname>PBKK</shortname>
        <longname>Pandora's Box</longname>
        <loginserver>
            <host>66.55.145.2</host>
            <port>5998</port>
            <account></account>
            <password></password>
        </loginserver>
        <locked/>
        <tcp ip="127.0.0.1" port="9000" telnet="enable"/>
        <key>12345678</key>
        <http port="9080" enabled="enable" mimefile="mime.types" />
    </world>
    <chatserver>
        <host>24.167.158.42</host>
        <port>7778</port>
    </chatserver>
    <mailserver>
        <host>24.167.158.42</host>
        <port>7778</port>
    </mailserver>
    <zones>
        <defaultstatus>0</defaultstatus>
        <ports low="7000" high="7100"/>
    </zones>
    <database>
        <host>127.0.0.1</host>
        <port>3306</port>
        <username>root</username>
        <password></password>
        <db>pandora</db>
    </database>
    <qsdatabase>
        <host>127.0.0.1</host>
        <port>3306</port>
        <username>root</username>
        <password></password>
        <db>pandora</db>
    </qsdatabase>
    <launcher>
        <!-- <logprefix>logs/zone-</logprefix> -->
        <!-- <logsuffix>.log</logsuffix> -->
        <!-- <exe>zone.exe</exe> -->
        <!-- <timers restart="10000" reterminate="10000"> -->
    </launcher>
    <files>
        <!-- <spells>spells_us.txt</spells> -->
        <!-- <opcodes>opcodes.conf</opcodes> -->
        <!-- <logsettings>log.ini</logsettings> -->
        <!-- <eqtime>eqtime.cfg</eqtime> -->
    </files>
    <directories>
        <!-- <maps>Maps</maps> -->
        <!-- <quests>quests</quests> -->
        <!-- <plugins>plugins</plugins> -->
    </directories>
</server>


royzzz 06-27-2015 02:04 PM

Thank you, appreciate your help Kingly! If under loginserver i typed in my worldserver name/pw that would add description and register my server with the login screen/correct?

demonstar55 06-27-2015 02:09 PM

Pro tip: what does the error message say?

Your config file isn't in the right location. It needs to be in the same folder as the exes.

Kingly_Krab 06-27-2015 02:11 PM

Quote:

Originally Posted by royzzz (Post 241257)
Thank you, appreciate your help Kingly! If under loginserver i typed in my worldserver name/pw that would add description and register my server with the login screen/correct?

Yes, that's correct, assuming you have an account. Also, take a look at Demonstar55's above post, is this file even in your base server folder with your world.exe?

dagulus2 06-27-2015 05:25 PM

Quote:

<!-- Set the shortname to ONE word. The longname is what shows up on server list -->
<shortname>Solo Server</shortname>
That is not one word.

royzzz 06-27-2015 06:41 PM

Config file is in the same folder as all the exe files.
I changed the shortname to one word, cant believe i missed that.

royzzz 06-27-2015 06:45 PM

Getting closer, I cut and pasted your info Kingly, then edited only my db name/login and worldserver info. Now the server shows on list, just down...still getting same message...

Uleat 06-27-2015 07:26 PM

You're still getting the 'failed to open file' message..but, your server is connecting?


EDIT: I was gonna mention that your server is set to locked based on what Kingly posted..but, you didn't repost your current config to verify that.

Shendare 06-27-2015 07:51 PM

It also takes a minute for the world to show as UP on the selection screen if you're too quick about starting up the .exes and then the game.

Sometimes you can get in even when it still says DOWN, though. In those cases, it's just the world & zone server catching up initialization.

royzzz 06-27-2015 07:59 PM

Server is up now. I moved the db inside the main eq directory and resourced in mysql. Had a visual studio executable error, redownloaded that , and bam server is up. Shows on list as up I can log in, now just to be sure my port forwarding is correct for others to log in as well. Shows the correct ports open on my router admin login, but went to port checker and shows as closed..Thank you all for your help!

SaunderTrade88 03-28-2016 04:45 AM

Man, I could really use your help guys. My config file has to be the problem. I'm trying to run a server that is LAN. I've gone through the Windows Server Setup Guide twice now and have spent almost 20 hours trying to get me server up.

Uleat 03-28-2016 11:41 AM

You'll need to post something for us to analyze :)

SaunderTrade88 03-28-2016 05:43 PM

Ok :)

<!--?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>login.eqemulator.net</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="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 enabled="false" mimefile="mime.types" port="9080">
</http></tcp></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 high="7100" low="7000">
</ports></zones>

<!-- Database configuration, replaces db.ini. Defaults shown -->
<database>
<host>localhost</host>
<port>3306</port>
<username>eq</username>
<password>eq</password>
<db>eq</db>
</database>

<!-- Launcher Configuration -->
<launcher>
<!-- <logprefix>logs/zone-</logprefix> -->
<!-- <logsuffix>.log</logsuffix> -->
<!-- <exe>zone.exe or ./zone</exe> -->
<!-- <timers restart="10000" reterminate="10000" initial="20000" interval="2000"> -->
</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>

This is the full config provided by Akkadius @
http://wiki.eqemulator.org/p?eqemu_config.xml&frm=Main

What exactly am I supposed to change? Maybe I screwed up the database part or something. I've tried changing everything I could think of. I copy and pasted several configs provided kindly by other people. I tinkered with those but still nothing. I'm guessing my problem lies within my config file right?

Uleat 03-28-2016 06:45 PM

The configuration has to be 'spot-on' before we can look at other areas.

Saying that, I need to know how you plan to run your server.


Will it be:

- Is it LAN-only?

- If using a private login server, have you configured it?

- Are all of the servers running on the same computer as the database?


There are many, many factors that go into getting a server setup correctly..though, it is reasonably straight-forward.

Problems could arise from the os or hardware..but, we really can't look at that stuff until we're sure that your configuration is correct.


All times are GMT -4. The time now is 10:07 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.