World will not connect to login server 10061 error.
Hi, my progress so far:
1). I have been able to setup the client side to use the servers on emulator
site.
2) I managed to get the server code to compile under windows although I had to ditch the winders 7 thing and did it under XP. I'll likely revisit the windows 7 thing as I am stubborn. I setup the "game" database and the "login" databse.
So here is where I am at: When I run the server the only thing that fails is that the world does not seem to be able to connect to the loginserver. Below is what I get:
---------------------------------------------
[01.17. - 01:44:15] Starting Log: logs/eqemu_debug_world_1848.log
[01.17. - 01:44:15] [WORLD__INIT] Loading server configuration..
[01.17. - 01:44:15] [WORLD__INIT] Log settings loaded from log.ini
[01.17. - 01:44:15] [WORLD__INIT] CURRENT_WORLD_VERSION:EQEmulator 0.8.0
[01.17. - 01:44:15] [WORLD__INIT] Added loginserver localhost:5999
[01.17. - 01:44:15] [WORLD__INIT] Connecting to MySQL...
[01.17. - 01:44:15] [WORLD__INIT] HTTP world service disabled.
[01.17. - 01:44:15] [WORLD__INIT] Loading variables..
[01.17. - 01:44:15] [WORLD__INIT] Loading zones..
[01.17. - 01:44:15] [WORLD__INIT] Clearing groups..
[01.17. - 01:44:15] [WORLD__INIT] Clearing raids..
[01.17. - 01:44:15] [WORLD__INIT] Loading items..
[01.17. - 01:44:28] [WORLD__INIT] Loading guilds..
[01.17. - 01:44:28] [WORLD__INIT] Loaded default rule set 'default'
[01.17. - 01:44:28] [WORLD__INIT] Clearing temporary merchant lists..
[01.17. - 01:44:28] [WORLD__INIT] Loading EQ time of day..
[01.17. - 01:44:28] [WORLD__INIT_ERR] Unable to load eqtime.cfg
[01.17. - 01:44:28] [WORLD__INIT] Loading launcher list..
[01.17. - 01:44:28] [WORLD__INIT] Reboot zone modes ON
[01.17. - 01:44:28] [WORLD__INIT] Deleted 0 stale player corpses from database
[01.17. - 01:44:28] [WORLD__INIT] Deleted 0 stale player backups from database
[01.17. - 01:44:28] [WORLD__INIT] Loading adventures...
[01.17. - 01:44:28] [WORLD__INIT] Purging expired instances
[01.17. - 01:44:28] [WORLD__INIT] Zone (TCP) listener started.
[01.17. - 01:44:28] [WORLD__INIT] Client (UDP) listener started.
[01.17. - 01:44:28] [NET__IDENTIFY] Registered patch 6.2
[01.17. - 01:44:28] [NET__IDENTIFY] Registered patch Titanium
[01.17. - 01:44:28] [NET__IDENTIFY] Registered patch SoF
[01.17. - 01:44:28] [NET__IDENTIFY] Registered patch SoD
[01.17. - 01:44:28] [NET__IDENTIFY] Registered patch Underfoot
[01.17. - 01:44:28] [NET__IDENTIFY] Registered patch HoT
[01.17. - 01:44:28] [WORLD__LS] Connecting to login server: localhost:5999
[01.17. - 01:44:28] [WORLD__ZONE] New TCP connection from 127.0.0.1:1159
[01.17. - 01:44:28] [WORLD__CONSOLE] New launcher from 127.0.0.1:1159
[01.17. - 01:44:28] [WORLD__LAUNCH] Adding pending launcher 1
[01.17. - 01:44:29] [WORLD__LS_ERR] Could not connect to login server: localhost:5999 TCPConnection::Connect(): connect() failed. Error: 10061
[01.17. - 01:44:32] [WORLD__LAUNCH] Launcher Identified itself as 'zone'. Loading zone list.
[01.17. - 01:44:32] [WORLD__LAUNCH] Removing pending launcher 1. Adding zone to active list.
[01.17. - 01:44:37] [WORLD__LAUNCH] zone: dynamic_01 reported state STARTED (1 starts)
[01.17. - 01:44:47] [WORLD__LAUNCH] Removing launcher zone (1)[/SIZE]
Here is the contents of the login.ini file:
[database]
host = localhost
port = 3306
db = PEQloginDB
user = nimzo
password = bozo
subsystem = MySQL
[options]
unregistered_allowed = TRUE
reject_duplicate_servers = FALSE
trace = TRUE
world_trace = FALSE
dump_packets_in = FALSE
dump_packets_out = FALSE
listen_port = 5998 // I've tried 5999 here to. Not sure about what
// value this should be ... as in what it depends on?
local_network = 192.168.1.
[security]
plugin = EQEmuAuthCrypto
mode = 5
[Titanium]
port = 5998
opcodes = login_opcodes.conf
[SoD]
port = 5999
opcodes = login_opcodes_sod.conf
[schema]
account_table = tblLoginServerAccounts
world_registration_table = tblWorldServerRegistration
world_admin_registration_table = tblServerAdminRegistration
world_server_type_table = tblServerListType
The contents of the eqemu_config.xml:
<?xml version="1.0">
<server>
<world>
<shortname>Rome</shortname>
<longname>Romulus</longname>
<!-- Only specify these two if you really think you need to. (read: You don't) -->
<!-- <address>192.168.1.151</address> -->
<!-- <localaddress>192.168.1.151</localaddress> -->
<!-- Loginserver information. Defaults shown -->
<loginserver>
<host>localhost</host>
<port>5999</port>
<account></account>
<password></password>
</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 port="9080" enabled="false" mimefile="mime.types" />
</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>20</defaultstatus>
<!-- Sets port range for world to use to auto configure zones -->
<ports low="7000" high="7100"/>
</zones>
<!-- Database configuration, replaces db.ini. Defaults shown -->
<database>
<host>localhost</host>
<port>3306</port>
<username>root</username>
<password>2ut2bee</password>
<db>peq</db>
</database>
<!-- Launcher Configuration -->
<launcher>
<!-- <logprefix>logs/zone-</logprefix> -->
<!-- <logsuffix>.log</logsuffix> -->
<!-- <exe>zone.exe or ./zone</exe> -->
<!-- <timers restart="10000" reterminate="10000"> -->
</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>
anyway, I am not sure if I have all the files that you will need if any more files are needed or if someone has ideas much thanks.
Rodger
|