View Single Post
  #22  
Old 07-15-2014, 01:49 PM
Nightrider84's Avatar
Nightrider84
Discordant
 
Join Date: Aug 2010
Location: Colorado
Posts: 410
Default

ok here is an example of the full file ill try and explain it

<!--?xml version="1.0"-->
<server>
<world>
<shortname>shortname of your server</shortname>
<longname>server name you will see when login</longname>

<!-- Only specify these two if you really think you need to. (read: You don't) -->
<!-- <address>change this ONLY if you want other people to access your server as a private login.</address> -->
<!-- <localaddress>local address for the computer your server is on. IE 192.168.1.7/localaddress> -->

<!-- Loginserver information. Defaults shown -->
<loginserver>
<host>>local address for the computer your server is on. IE 192.168.1.7</host>
<port>5998</port>
<account>Usually Admin</account> <-----this part might seem confusing but in your database under tblserveradminregistration the values under that will represent what to put here for your account and password.
<password>Usually Password</password> <-----As far as I know you dont hafto put anything in here its only recommended if you know how to do it.
</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>Change this to 0 so players dont get gm status</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>your mysql username</username>
<password>your mysql password</password>
<db>name of your database usually peq</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>


thats about the basics of how to setup that config file. as for the start.bat file make a text file and and click save as. and save it as start.bat it should change the file type to .bat
once thats change open the file and insert this into it. once the file is changed to a .bat file you can rename the file to whatever you want. btw you WILL need heidisql if you have no experience using the command prompt to change values. and it just makes it easier aswell make sure you install that. Hope this helps



@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

Last edited by Nightrider84; 07-15-2014 at 01:57 PM.. Reason: Added more information
Reply With Quote