PDA

View Full Version : WTH! Connection errors??


Belfedia-1
10-09-2005, 06:36 PM
Try to in boot1zone.bat

to change :
whatismyip.comGoesHere
by
localhost

thats work better :)

ubatch
10-10-2005, 02:46 AM
Was working JUST FINE yesterday...

Here's my files:

db.ini

# READ README.TXT!
[Database]
host=localhost
user=ubatch
password=PasswordGoesHere
database=DataBaseGoesHere
### --- This file tells world.exe what computer mySQL is on. Host should
### --- be left "localhost" unless mysql is on a differant computer than world.exe


loginserver.ini

### --- This file tells world.exe what loginserver to connect to.
### --- Leave the account and password field BLANK.
### --- Public Login is un-supported as is LAN playing. We reccomend using the EQEmu.net Loginserver ALWAYS.
### --- NOTE: Starting 6-1-2002, you can no longer use the word "Server" in worldname.
### --- NOTE2: the word "Server" is added to each server automaticly.
# READ README.TXT
[LoginServer]
loginserver=eqemulator.net
loginport=5994
worldname=Caster's Haven
worldaddress=castershaven.no-ip.org
locked=false
account=
password=

[WorldServer]
Defaultstatus=0
Unavailzone=
[ChatChannelServer]
worldshortname=
chataddress=
chatport=


and

my custom (to test)....

boot1zone.bat

REM: ****Read this first!!!****
REM: This file requires your real IP in the place of "YourIP" when you are connecting
REM: To the EQEmu Loginserver.
REM: When you are using minilogin, Replace all IP Addresses to say 127.0.0.1
REM: If you still get errors try using localhost instead of 127.0.0.1
REM:--------------Start-----------------------
@echo off
if NOT exist spells_us.txt goto NOSPELL

start zoneperl . castershaven.no-ip.org 7995 69.150.177.245

exit
cls
:NOSPELL
echo You did not copy the spells_us.txt from your everquest directory to this one. Please do so or zones will crash on startup.
PAUSE
REM:---------------END------------------------


WTH!

And here's my...

zoneperl.exe -- readout

[Status] CURRENT_ZONE_VERSION: EQEMu 0.6.0-DR3
[Status] Mapping Opcodes
[Status] Loading Variables
[Status] Loading zone names
[Status] Loading items
[Status] EMuShareMem loaded
[Status] Loading npcs
[Status] Loading npc faction lists
[Status] Loading NPC Faction Lists from database...
[Status] Loading loot tables
[Status] Loading Loot tables from database...
[Status] Loading doors
[Status] Loading Doors from database...
[Status] FileLoadSPDat() Loading spells from ./spells_us.txt
[Status] FileLoadSPDat() spells loaded: 7836
[Status] Loading guilds
[Status] Loading factions
[Status] Loading AA effects
[Status] Loading swarm spells
[Status] Loading tributes
[Status] Loading corpse timers
[Status] Loading what ever is left
[Status] Loading commands
[Status] 181 commands loaded
[Status] Loading embedded perl XS
[Quest] Loading perlemb plugins.
[Quest] Loading perl commands...
[Quest] Loading perlemb plugins.
[Quest] Loading perl commands...
WorldServer connect: Connecting to the server failed: TCPConnection::Connect():
connect() failed. Error: 10060
[Error] worldserver.Connect() FAILED!
[Status] Entering sleep mode


PISSES ME OFFFFFFFFFFFF!!!!!!!!!!!!!!

ubatch
10-10-2005, 02:46 AM
I guess it's routing issues eh? -- Searched ;)

WTF, stupid no-ip.org needs to move faster to run that through they server I guess...

/flip

ubatch
10-10-2005, 02:46 AM
Bah, STILL nothing!! WTH! -- GRRRRRR!!

cavedude
10-10-2005, 03:26 AM
The whatismyip.comGoesHere in boot5zones.bat should be replaced by the local IP of the machine running world, not the internet address.

ubatch
10-10-2005, 01:24 PM
ROFLMAO...

You guys are silly...

Here's my bootzone.bat

I just put that there so I didn't reveal my IP address, /shrug...

bootzone.bat

REM: ****Read this first!!!****
REM: This file requires your real IP in the place of "YourIP" when you are connecting
REM: To the EQEmu Loginserver.
REM: When you are using minilogin, Replace all IP Addresses to say 127.0.0.1
REM: If you still get errors try using localhost instead of 127.0.0.1
REM:--------------Start-----------------------
@echo off
if NOT exist spells_us.txt goto NOSPELL
start zoneperl . castershaven.no-ip.org 7995 69.150.177.245
exit
cls
:NOSPELL
echo You did not copy the spells_us.txt from your everquest directory to this one. Please do so or zones will crash on startup.
PAUSE
REM:---------------END------------------------

ubatch
10-10-2005, 01:31 PM
Check this out, is this why? I can't figure out how to remove it if it is...

I installed Apache and PHP stuff a few days ago to try and get a PHP thing working on my computer, I wanted to try to use the server portal or whatever that someone created...

Anyways, so it didnt work, i was lazy and uninstalled it in like 10 minutes after I installed it...

Here's the stuff I get from ipconfig


Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Mine>ipconfig
Windows IP Configuration

Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : domain_not_set.invalid
IP Address. . . . . . . . . . . . : 70.241.192.158
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 70.241.192.157
C:\Documents and Settings\Mine>


I never noticed that domain_not_set.invalid until I installed Apache (it asked me to put in a domain or whatever at setup screen but I just kept that...

SOOOOOOOOO-- Is that the issue?

ubatch
10-10-2005, 01:38 PM
WHAT THE HECK!!!!!!!!!!!!!!!!!!!!!!!!!!

MY IP IS DIFFERENT EVERYWHERE I GO!!

www.whatismyip.com (http://www.whatismyip.com) = 69.150.177.245

and my ipconfig says:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Mine>ipconfig
Windows IP Configuration

Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : domain_not_set.invalid
IP Address. . . . . . . . . . . . : 70.241.192.158
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 70.241.192.157

cavedude
10-10-2005, 01:47 PM
Is your browser using a proxy?

ubatch
10-10-2005, 02:12 PM
Tools > Internet Options > Connections tab > LAN Settings...

Nope, no proxy settings.

Belfedia
10-10-2005, 09:14 PM
REM: ****Read this first!!!****
REM: This file requires your real IP in the place of "YourIP" when you are connecting
REM: To the EQEmu Loginserver.
REM: When you are using minilogin, Replace all IP Addresses to say 127.0.0.1
REM: If you still get errors try using localhost instead of 127.0.0.1
REM:--------------Start-----------------------
@echo off
if NOT exist spells_us.txt goto NOSPELL

start zoneperl . castershaven.no-ip.org 7995 69.150.177.245

exit
cls
:NOSPELL
echo You did not copy the spells_us.txt from your everquest directory to this one. Please do so or zones will crash on startup.
PAUSE
REM:---------------END------------------------

It think i'm not silly :p I just try to help you !
On my server, right syntax for zoneperl command is :
zoneperl . externalIP PORT internalIP
you make :
zoneperl . castershaven.no-ip.org 7995 69.150.177.245
69.150.177.245 is one of your externalIP (dynamic who change all time, that why you need a No-ip.org adress)
and you need
zoneperl . castershaven.no-ip.org 7995 localhost
or
zoneperl . castershaven.no-ip.org 7995 127.0.0.1
or
zoneperl . castershaven.no-ip.org 7995 70.241.192.158
70.241.192.158 is also your internalIP adress.

With that your zoneperl CAN connect to world :)

I notice a Default Gateway in your ipconfig ? Are you on a network ?

ubatch
10-11-2005, 09:46 AM
Not on a network...Its only this one computer im using...

I did localhost instead of 69.150.177.245 and it worked, can other people using EQEMu comment to me? Just wanna make sure...

Also,

I never had this problem before, what I did before was go to www.no-ip.org (http://www.no-ip.org) and change my dns config there (castershaven.no-ip.org) to my current address that was shown on www.whatismyip.com (http://www.whatismyip.com) (which is dynamic - and yes it changed about every week or whenever I restarted)

That seemed to work, up until a few days ago, which again was the day I installed Apache and PHP and uninstalled it almost immediately after, so I was thinking that caused the problem...I DONT KNOW!

-----------------------

As long as
zoneperl . castershaven.no-ip.org 7995 localhost
allows OTHERS to connect to me, i'll leave it that way...

If you can answer that simple question for me, i'll stop pulling my hair out and just do it the easy way :)

Thanks a ton.

ubatch
10-11-2005, 10:07 AM
Ok, just tried to connect w/ the localhost on the end of it, and couldnt...FUDGERAMAA!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!

ubatch
10-13-2005, 12:09 PM
Anyone got suggestions? =P

Belfedia
10-13-2005, 08:54 PM
A little more question,
You have no message in log from world.exe ?
I notice you don't put the log.
World.exe log finish with a "connected to loginserver: newlogin1.eqemulator.net:5994"
you have that ? if no, try to change in your loginserver.ini
that : loginserver=newlogin1.eqemulator.net

When zone can't connect with world, i see 2 issue :
Bad ip on config files or
Router or firewall problem (you don't change anything ? ) Emu need the 7995 port open for work in your config.

Damilis
10-13-2005, 11:04 PM
My thoughts:

I am assuming:
1) You are running server .exe's and client .exe's on same machine
2) based on your IP, your computer is NOT behind a router/firewall and that the IP you have is Dynamicly assigned by your ISP
3) for arguments sake, we will use 78.56.34.12 as 'your' IP

db.ini -> looks good.

loginserver.ini:

### --- This file tells world.exe what loginserver to connect to.
### --- Leave the account and password field BLANK.
### --- Public Login is un-supported as is LAN playing.
### --- We reccomend using the EQEmu.net Loginserver ALWAYS.
### --- NOTE: Starting 6-1-2002, you can no longer use the word
### --- "Server" in worldname. The word "Server" is
### --- added to each server automaticly.
### --- READ README.TXT

[LoginServer]
loginserver=eqemulator.net
loginport=5998
worldname=Caster's Haven
worldaddress=78.56.34.12
locked=false
account=
password=

[WorldServer]
Defaultstatus=0
Unavailzone=
[ChatChannelServer]
worldshortname=
chataddress=
chatport=



boot5zones.bat:

REM: ****Read this first!!!****
REM: This file requires your real IP in the place
REM: of "YourIP" when you are connecting
REM: to the EQEmu Loginserver.
REM: When you are using minilogin,
REM: Replace all IP Addresses to say 127.0.0.1
REM: If you still get errors try using
REM: localhost instead of 127.0.0.1
REM:--------------Start-----------------------
@echo off
if NOT exist spells_us.txt goto NOSPELL

start zoneperl . 78.56.34.12 7995 localhost
start zoneperl . 78.56.34.12 7996 localhost
#start zoneperl . 78.56.34.12 7997 localhost
#start zoneperl . 78.56.34.12 7998 localhost
#start zoneperl . 78.56.34.12 7999 localhost

exit
cls
:NOSPELL
echo You did not copy the spells_us.txt from your everquest directory to this one. Please do so or zones will crash on startup.
PAUSE
REM:---------------END------------------------


And, of course, if it doesn't work, replace localhost with 127.0.0.1. And if that still doesn't work, mind you this is a LAST resort, replace all occurances of localhost or 127.0.0.1 with your external ip 78.56.34.12...... but this will drasticly slow down connect times and may even timeout the client, all depends on your internet connection speed.

Belfedia
10-14-2005, 02:36 AM
0.6.0 DR3 need the loginserver port 5994 not 5998, for the rest it is good...

Damilis
10-14-2005, 03:28 AM
0.6.0 DR3 need the loginserver port 5994 not 5998, for the rest it is good...

Doh! Didnt see the 0.6.0.

ubatch
10-14-2005, 02:53 PM
World.exe

[Status] CURRENT_WORLD_VERSION:EQEMu 0.6.0-DR3
[Status] Loading variables..
[Status] Loading zones..
[Status] Clearing groups..
[Status] Loading items..
[Status] EMuShareMem loaded
[Status] Loading items from database: count=39626
[Status] ./LoginServer.ini read.
[Status] Loading guild ranks..
[Status] Loading ./addon.ini..
[Status] Loading EQ time of day..
[Status] Deleted 0 stale player corpses from database
[Status] Deleted 0 stale player backups from database
Abort/retry/cancel?
TCP listening on: 69.148.9.35:9000
World server listening on: 69.148.9.35:9000
Connected to LoginServer: eqemulator.net:5994


Now, replace everything with my current IP (yes it's dynamic) and/or with my DNS (from www.no-ip.com (http://www.no-ip.com)) which is castershaven.no-ip.org.

This has been so stressful....

Trying your suggestions, give me a few minutes.

ubatch
10-14-2005, 02:59 PM
Ok, that worked perfect...

Does that allow others to connect to me?

And second, I get a 1017 error...Thought I was there...I swear I havnt had this much trouble in the past JUST CONNECTING!

Here's some reads from world.exe and zone.exe.

World.exe
This is from AFTER I started the zone.exe

[Status] CURRENT_WORLD_VERSION:EQEMu 0.6.0-DR3
[Status] Loading variables..
[Status] Loading zones..
[Status] Clearing groups..
[Status] Loading items..
[Status] EMuShareMem loaded
[Status] Loading items from database: count=39626
[Status] ./LoginServer.ini read.
[Status] Loading guild ranks..
[Status] Loading ./addon.ini..
[Status] Loading EQ time of day..
[Status] Deleted 0 stale player corpses from database
[Status] Deleted 0 stale player backups from database
Abort/retry/cancel?
TCP listening on: 69.148.9.35:9000
World server listening on: 69.148.9.35:9000
Connected to LoginServer: eqemulator.net:5994


and now the zone.exe

[Status] CURRENT_ZONE_VERSION: EQEMu 0.6.0-DR3
[Status] Mapping Opcodes
[Status] Loading Variables
[Status] Loading zone names
[Status] Loading items
[Status] EMuShareMem loaded
[Status] Loading npcs
[Status] Loading npc faction lists
[Status] Loading NPC Faction Lists from database...
[Status] Loading loot tables
[Status] Loading Loot tables from database...
[Status] Loading doors
[Status] Loading Doors from database...
[Status] FileLoadSPDat() Loading spells from ./spells_us.txt
[Status] FileLoadSPDat() spells loaded: 7836
[Status] Loading guilds
[Status] Loading factions
[Status] Loading AA effects
[Status] Loading swarm spells
[Status] Loading tributes
[Status] Loading corpse timers
[Status] Loading what ever is left
[Status] Loading commands
[Status] 181 commands loaded
[Status] Loading embedded perl XS
[Quest] Loading perlemb plugins.
[Quest] Loading perl commands...
[Quest] Loading perlemb plugins.
[Quest] Loading perl commands...
[Status] Entering sleep mode
Connected to worldserver: localhost:9000


Again, so now what? I am getting the 1017 when I try to connect, i'll search and see if I can find anything via forums.

Belfedia
10-14-2005, 07:55 PM
This is a router fix for you (i suppose you play on the server machine ?).
if i'm right use this guide : http://www.eqemulator.net/wiki/wikka.php?wakka=RouterFix
and you can play on your local computer :)

ubatch
10-16-2005, 06:26 AM
That has worked as far as I can tell.Hopefully it wont screw up on me again...Thanks.