LAN config
I had trouble with this the first time I set it up to... Maybe this will help you
All of my machines connected from private IPs (192.168.0.n) and their database accounts listed this IP in the minilogin_ip field.
My minilogin server was set to 192.168.0.2 and was on the same machine as the world server.
I used Private IPs for all of my addresses except for the database connection, which remained "localhost".
The important things to keep in mind are that the world server looks for the minilogin server as advertised and tells it the IP address that you have listed for others to use for connections. Meaning, if you tell the minilogin server that your world server has an IP of 127.0.0.1 or localhost everyone connecting to your minilogin server will look for the server on 127.0.0.1 (local loopback address) which is incorrect.
Here is a copy of my LAN config...
<?xml version="1.0">
<server>
<world>
<shortname>BlackmooreBetaLAN070</shortname>
<longname>Blackmoore Beta LAN 070</longname>
<!-- Only specify these two if you really think you need to. -->
<address>192.168.0.2</address>
<localaddress>192.168.0.2</localaddress>
<!-- Loginserver information. -->
<loginserver>
<host>192.168.0.2</host>
<port>5999</port>
<account>eq</account>
<password>eq</password>
</loginserver>
<!-- 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. -->
<http port="9080" enabled="true" mimefile="mime.types" />
</world>
<!-- Database configuration, replaces db.ini. -->
<database>
<host>localhost</host>
<port>3306</port>
<username>eq</username>
<password>eq</password>
<db>eq</db>
</database>
</server>
|