PDA

View Full Version : World/Zones not config properly


bthomsen0312
11-10-2009, 07:30 PM
So, i followed the Wiki step by step and i end up with this error on world/zones
---------------------------------------------
[11.10. - 15:33:23] Starting Log: logs/eqemu_debug_world_0260.log
[11.10. - 15:33:23] [WORLD__INIT] Loading server configuration..
[11.10. - 15:33:23] [WORLD__INIT_ERR] Loading server configuration failed.

here is my eqemu config file, maybe i have something wrong?
<?xml version="1.0">
<server>
<world>
<shortname>iforgot</shortname>
<longname>toenterthisinfoe</longname>
<address>localhost</address>
<localaddress>192.168.0.105</localaddress>
<!-- Loginserver information. Defaults shown -->
<loginserver>
<host>208.64.37.23</host>
<port>5998</port>
<account></account>
<password></password>
</loginserver>

<database>
<host>localhost</host>
<port>3306</port>
<username>root</username>
<password>****</password>
<db>PEQ</db>
</database>
Port=5998
DumpPacketsIn=true
DumpPacketsOut=true
Trace=true
DatabaseServerName=localhost
DatabaseCatalogName=PEQLoginDB
DatabaseUserName=root
DatabaseUserPassword=****
OPCodePathAndFileName=login_opcodes.conf

</server>

bthomsen0312
11-11-2009, 05:45 PM
so i fixed that problem, but now im getting
[11.11. - 13:11:55] Starting Log: logs/eqemu_error_world_3112.log
[11.11. - 13:11:55] Failed to connect to database: Error: #1045: Access denied for user 'eq'@'localhost' (using password: YES)

my eqemu host looks like
<?xml version="1.0">
<server>
<world>
<shortname>SOML</shortname>
<longname>Sitonmylaps house</longname>
<address>Sitonmylap.dyndns.org</address>
<localaddress>192.168.0.105</localaddress>
<loginserver>
<host>sitonmylap.dyndns.org</host>
<port>5998</port>
<account></account>
<password></password>
</loginserver>
<database>
<host>localhost</host>
<port>3306</port>
<username>root</username>
<password>****</password>
<db>PEQ</db>
</database>
</world>

</server>

Shin Noir
11-11-2009, 05:53 PM
<?xml version="1.0">
<server>
<world>
<shortname>Rawr</shortname>
<longname>Another EQEMU Server</longname>

<!-- Only specify these two if you really think you need to. -->
<address>test.com</address>
<localaddress>127.0.0.1</localaddress>
<!-- Loginserver information. -->
<loginserver>
<host>eqemulator.net</host>
<port>5998</port>
<account></account>
<password></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>root</username>
<password>password</password>
<db>peq</db>
</database>
</server>


There's my configuration..

[11.11. - 13:11:55] Failed to connect to database: Error: #1045: Access denied for user 'eq'@'localhost' (using password: YES)

If you look, it is trying to access MYSQL with username "eq" but your config file states it is trying to log in as "root", so your config file isn't being read correctly.

Make sure the config file is in the same directory as the executable file, and is named eqemu_config.xml

bthomsen0312
11-11-2009, 06:05 PM
using your config worked great! why mine didnt work i have no idea as my server is not showing up under the servers list


now this is interesting, now when i try to join the server with another computer zone sees it trying to join but i just eventually time out and go back to the login screen. It shows up on the eqemu login server and but when i go to connect it never even loads the screen art
http://s933.photobucket.com/albums/ad180/bthomsen0312/?action=view&current=serverstuff.jpg


also i receive error 1017 on the other computer after it times out

also
http://www.t1shopper.com/tools/scan.php4
says
67.171.166.112 isn't responding on port 5998 (). 5998 is blocked for my ip on this system on my router and on windows firewall 5998 and 5999. World.exe and zone.exe are also unblocked

bthomsen0312
11-11-2009, 08:57 PM
I meant 5998 and 5999 are both unblocked on my router and firewall =P