View Single Post
  #8  
Old 08-23-2016, 04:07 AM
zhangshen147
Fire Beetle
 
Join Date: Nov 2009
Posts: 17
Default

Quote:
Originally Posted by image View Post
this isn't very clear you quote the guy who says you are trying to run 1 world server for 2 login servers, but you mention your original problem being 2 worlds connecting to one login server, where the world servers reside on the same box.

2 world servers on the same box.. routing is the first problem, you sure UDP is using the right interface going out of your box? The logic for the 'resolved' IP/hostname on the login server typically fell to the 'worldaddress' field in eqemu_config.xml -- if you don't provide the worldaddress, the login server will guess based on what you connect with (hence routing).
Sorry, is my description of the problem. I am using KVM virtual machine:
No.1 EMU server and local Login Server in VM1
No.2 EMU server in VM2.
VM Host VM1 VM2 Are using different Internet IP address。
VM Host IP address : XXX.XXX.253.2
VM1 IP address : XXX.XXX.253.3
eqemu_config.xml
Quote:
<address>XXX.XXX.253.3</address>
<localaddress>XXX.XXX.253.3</localaddress>

<!-- Loginserver information. Defaults shown -->
<loginserver1>
<host>login.eqemulator.net</host>
<port>5998</port>
<account></account>
<password></password>
</loginserver1>

<loginserver2>
<host>127.0.0.1</host>
<port>5998</port>
<account></account>
<password></password>
</loginserver2>
login.ini
Quote:
[database]
host = 127.0.0.1
port = 3306
db =
user =
password =
subsystem = MySQL

[options]
unregistered_allowed = TRUE
reject_duplicate_servers = TRUE
trace = TRUE
world_trace = FALSE
dump_packets_in = FALSE
dump_packets_out = FALSE
listen_port = 5998
local_network = xxx.xxx.253.
VM2 IP address : XXX.XXX.253.4
eqemu_config.xml
Quote:
<address>XXX.XXX.253.4</address>
<localaddress>XXX.XXX.253.4</localaddress>

<!-- Loginserver information. Defaults shown -->
<loginserver1>
<host>login.eqemulator.net</host>
<port>5998</port>
<account></account>
<password></password>
</loginserver1>

<loginserver2>
<host>XXX.XXX.253.3</host>
<port>5998</port>
<account></account>
<password></password>
</loginserver2>
Reply With Quote