EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   World will not connect to login server 10061 error. (https://www.eqemulator.org/forums/showthread.php?t=32902)

Nimzo 01-17-2011 03:22 AM

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

Noport 01-17-2011 06:46 AM

File eqtime.cfg should look like this:
1000
1
9
0
1
3100
1141490814
Save put in server directory


File mime.types should look like this:

# example mime.types file.
# see the NCSA X Mosaic documentation at
# http://www.ncsa.uiuc.edu/SDG/Softwar...nsion-map.html
# for more details

application/postscript ai eps ps
application/rtf rtf
application/x-tex tex
application/x-texinfo texinfo texi
application/x-troff t tr roff
audio/basic au snd
audio/x-aiff aif aiff aifc
audio/x-wav wav
image/gif gif
image/ief ief
image/jpeg jpeg jpg jpe
image/tiff tiff tif
image/x-xwindowdump xwd
text/html html
text/plain txt c cc h
video/mpeg mpeg mpg mpe
video/quicktime qt mov
video/x-msvideo avi
video/x-sgi-movie movie
text/css css
image/png png
Save put in server dirctory


log.ini should be Blank file in server directory

<---LoginServer.ini-->

[LoginServer]
loginserver=127.0.0.1
loginserver2=127.0.0.1
loginport=5998
loginport2=5998
worldname=Romulus
worldaddress=192.168.1.151
locked=false
account=
password=

[WorldServer]
Defaultstatus=
Unavailzone=

[ChatChannelServer]
worldshortname=Rome
chataddress=
chatport=

[LoginConfig]
ServerMode=Standalone <-- needs change too Minilogin depends on your server setup!
ServerPort=5998

<---login.ini--->

[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
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

<---eqemulogin.ini--->

Port=5998
DumpPacketsIn=true
DumpPacketsOut=true
Trace=true
DatabaseServerName=localhost
DatabaseCatalogName=PEQLoginDB
DatabaseUserName=nimzo
DatabaseUserPassword=bozo
OPCodePathAndFileName=login_opcodes.conf <--Note use if running Titanium if running Sod replace with
OpCodePathAndFileName=login_opcodes_SoD.conf

<--config.ini-->

[Database]
host=localhost
user=nimzo
password=bozo
database=peq
compression=off

[General]
quests=C:\EQEmu\quests\

wordwrap=1

<---eqemu_config.xml--->

<?xml version="1.0"?>
<server>
<world>
<shortname>Rome</shortname>
<longname>Romulus</longname>

<!-- address has to be specified for minilogin to work -->
<address>192.168.1.151</address>
<localaddress>192.168.1.151</localaddress>

<!-- Loginserver information. -->
<loginserver>
<host>localhost</host>
<port>5998</port>
<account></account>
<password></password>
</loginserver>

<!-- Sets the shared key used by zone/launcher to connect to world -->
<key>make up some random string of characters here</key>

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

<!-- Database configuration, replaces db.ini -->
<database>
<host>localhost</host>
<port>3306</port>
<username>root</username>
<password>bozo</password> <-- I noticed you had another password here?
<db>peq</db>
</database>
</server>


All times are GMT -4. The time now is 06:05 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.