View Single Post
  #2  
Old 03-28-2008, 05:05 AM
TheLieka
Developer
 
Join Date: Oct 2004
Location: THE ATL (wut wut)
Posts: 325
Default

I've never done it before personally, but I believe you'd do it like this:

Server 1 (World Server):
Have the following in your eqemu folder:
World.exe
EMuSharedMem.dll
eqemu_config.xml
eqtime.cfg
opcodes.conf
patch_Anniversary.conf
patch_Live.conf
patch_Titanium.conf
.\worldui
.\templates
spells_us.txt

Server 2 (Zone Server):
Have the following in your eqemu folder:
.\quests
.\maps
.\plugins
Zone.exe
eqemu_config.xml
eqlaunch.exe (if you use it)
EMuSharedMem.dll
eqtime.cfg

eqemu_config.xml for both servers:
Code:
<?xml version="1.0">
<server>
	<world>
	    <shortname>Whatever Your Server's Short Name Is</shortname>
	    <longname>Whatever Your Server's Long Name Is</longname>
	           	           
	<!-- Only specify these two if you really think you need to. -->
 	<!-- <address>127.0.0.1</address> -->
	<!-- <localaddress>127.0.0.1</localaddress> -->
	   
	<!-- Loginserver information.  -->
	 <!--    <loginserver>  -->
	   <!--      <host></host>  -->
	    <!--     <port></port>  -->
	    <!--     <account></account>  -->
	    <!--     <password></password>  -->
	    </loginserver>
	   
	    <!-- Sets the shared key used by zone/launcher to connect to world -->
	    <key>Some Long String of Text That You Come Up with (must be the same on both servers)</key>

	    <tcp ip="Read explanation of this at the bottom of the post" port="9000" telnet="disable"/>

	    <!-- Enable and set the port for the HTTP service. -->
	    <http port="9080" enabled="true" mimefile="mime.types" />
	</world>

	<!-- Database configuration, replaces db.ini. -->
	<database>
	    <host>IP Address of Server 1</host>
	    <port>3306</port>
	    <username>MySQL Login Name</username>
	    <password>MySQL Password</password>
	    <db>Database Name</db>
	</database>
</server>
After that's all said and done, set up port forwarding on your router/firewall to send requests over tcp/udp 9000 to your world server's IP address, then ports 7000 - 7100 to your zone server's IP address (depending on how many zones you want to run, each one will need a port, and they increment from 7000 - whatever the last one is).

You will also need to make sure that MySQL is configured to allow your MySQL Login name to connect from the zone server. If you're using "root", the default option in MySQL is to not allow it to connect from any machine other than "localhost". So you'll need to fix that too.

Again, I've never done it, but I believe that would work.

Explanation of "<tcp ip=" tag.
DNS Name of Server 1 (this must be accessible by the public, and zone server, you can accomplish this by creating a host record for the public DNS record, then specifying name and IP in the host record on zone and world servers - i.e. myserver1.dyndns.org = 72.34.56.123 to the public (your public IP), so on your zone server's host file (assuming you're using window: c:\windows\system32\drivers\etc\hosts - open with notepad), you'd make an entry for: myserver1.dyndns.org <tab> 192.168.1.65 (your world server's private IP address). Then on your world server's host file, you'd make an entry for: myserver1.dyndns.org <tab> 192.168.1.65 (your world server's private IP address). Now, when the world or zone servers try to access myserver1.dyndns.org, they will get the internal IP address of your world server, and when players outside of your network try to access myserver1.dyndns.org, they will get your public IP.

Thanks,
Dax
__________________
Daxum



Former ServerOp - Vallon Zek / Tallon Zek Emu Server - Legit / Guild PvP - (2007 - 2011 RIP)

Last edited by TheLieka; 03-28-2008 at 01:09 PM..
Reply With Quote