EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Configuring My First Server (https://www.eqemulator.org/forums/showthread.php?t=41500)

Xenuite 08-31-2017 08:05 PM

Configuring My First Server
 
I'm having some trouble following the guide for configuring the eqemu_config.xml file.

Here's what I have:
Code:

<?xml version="1.0"?>
<server>
        <world>
                <shortname>Castaway</shortname>
                <longname>Project Castaway</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="127.0.0.1" port="9000" telnet="disable"/>

                <!-- Sets the shared key used by zone/launcher to connect to world -->
                <key>rugmywlvrdc67wsp18pt</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>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>eq</username>
                <password>eq</password>
                <db>xampp\mysql\data\peq</db>
        </database>

        <qsdatabase>
                <host>127.0.0.1</host>
                <port>3306</port>
                <username>eq</username>
                <password>eq</password>
                <db>eq</db>
        </qsdatabase>

        <!-- Launcher Configuration -->
        <launcher>
                <logprefix>zone-</logprefix>
                <logsuffix>.log</logsuffix>
                <exe>zone.exe</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> -->
                <!-- <plugin.pl>plugin.pl</plugin.pl> -->
        </files>
        <!-- Directory locations.  Defaults shown -->
        <directories>
                <!-- <maps>Maps/</maps> -->
                <!-- <quests>quests/</quests> -->
                <!-- <plugins>plugins/</plugins> -->
                <!-- <lua_modules>lua_modules/</lua_modules> -->
                <!-- <patches>./</patches> -->
                <!-- <shared_memory>shared/</shared_memory> -->
                <!-- <logs>logs/</logs> -->
        </directories>
</server>

I think my problem lies with the <database> section. I created my databases as directed in the Windows server setup guide, but I'm not sure how to direct the config file to that location. Also, what username and password should I be using? I recall creating a password when I created the database, but not a username. Is there a default?

Thanks in advance.

Toony 08-31-2017 08:18 PM

default user should be "root" without quotes

Xenuite 09-01-2017 12:05 AM

What about the database location? Do I need a drive letter? Do I need to move the database into the EQEmuServer folder?

jia_jacky 09-01-2017 02:04 AM

Quote:

Originally Posted by Xenuite (Post 255692)
What about the database location? Do I need a drive letter? Do I need to move the database into the EQEmuServer folder?

Not need a drive letter. And this line in your configure file would be incorrect.
<db>xampp\mysql\data\peq</db>
You should fill the database's name here, not a path. Why don't you install your eqemu using eqemu_server.pl with "New Server" option if you are not sure about many things.


All times are GMT -4. The time now is 05:38 PM.

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