View Full Version : Client Disconnected when first entering world
wolfy99
11-19-2003, 08:59 AM
I've managed to set up a server, installed minilogin, and can manage to log into my server with my username and password fine.
the zone files, world, and minilogin (all latest versions) all start fine.
my problem occurs when i try to enter the world with my newly created characters.
the world and zone files all start saying new client detected etc, weather starts, time starts.
then, as it looks like i'm about to zone in, I get Client Disconnected, and Removing Client appear in the world screens.
I've tried using other databases that i have seen listed in the other forums, run all the updated sql fiiles, installed all the doors and any other sql files that downloaded with the main install. and still i get disconnected as i'm about to enter the zone.
I've been searching through hundreds of posts here on these forums over the last three days, and am ready to give up.
any advice for one last ditch attempt?
krich
11-19-2003, 09:04 AM
Check the sticky post on NAT in the Tutorials section (I think) and see if that works for you.
Regards,
krich
Chrysm
11-19-2003, 09:29 AM
Check the sticky post on NAT in the Tutorials section (I think) and see if that works for you.
Regards,
krich
How is NAT going to help?
Wolf can you copy and paste the contents of the zone window.
I have had this problem before and it stemmed from the database.
Chrysm
11-19-2003, 09:30 AM
And what database are you using?
Kgaul
11-19-2003, 09:39 AM
NAT is the key to alot of probs, i was the 1017 king untill i found out a way around NAT. It can cause alot of login probs...
Kgaul
krich
11-19-2003, 09:42 AM
Check the sticky post on NAT in the Tutorials section (I think) and see if that works for you.
Regards,
krich
How is NAT going to help?
Read the NAT post and you will see. The main problem being that most home NATing routers cannot NAT a packet coming from the private side with the destination of the public side ip. This causes some things to work while others do not. The post is also useful in that it hints at what the two ip addresses specified for zone are actually used for. The first is provided to the client by world as the ip the client should connect to. The second is the ip address the zoneserver uses to connect to the worldserver. This distinction is very important when setting up a server. Understanding this will help avoid certain types of common issues seen here on the forum.
Also, since there was really no detail posted, it was a SWAG. :D
Regards,
krich
I think what Chrysm was getting at is that the original poster said he was using minilogin and assumed he is not going through a router and therefore NAT would not apply in this case, but there isn't enough info in the original post to know for sure.
Chrysm
11-19-2003, 03:03 PM
Sorry for not being clearer. The poster said that he cannot connect tho his own server using mini-login. I assumed the poster had read the how-to and assigned localhost to the ip values.
The only reason I answered this is because I had the same problems. All I did was update to the moving database instead of db.sql
rmm99
11-20-2003, 01:53 AM
So from what I read you get disconnect when the world tells you to hit a zone meaning you are possibly communicating with the world server but not reaching the zone application. I'm going to take a stab and propose that you messed up your boot5zones file and didn't put the right numbers in. Since you didn't share how your stuff is layed out (can't connect to it from internet side or local side, or all of this on same pc, etc etc), this is purely a guess to prod you out of more information.
Part 2 of the included guide in 5.0
2)Start up some zone.exe servers. 5 or so is normal. These also will give you mysql errors if it cant find the database. The hard part about zone.exe is you have to pass it command line options. A typical command to startup a zone server is
zone.exe . ZoneIP 7995 WorldIP <= replace the obvious parameters
Look at the batch file for some additional info up top.
wolfy99
11-20-2003, 08:45 AM
sorry, was late so only posted help, here's some info:
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_en.txt goto NOSPELL
start zone . 127.0.0.1 7995 127.0.0.1
start zone . 127.0.0.1 7996 127.0.0.1
start zone . 127.0.0.1 7997 127.0.0.1
start zone . 127.0.0.1 7998 127.0.0.1
start zone . 127.0.0.1 7999 127.0.0.1
exit
cls
:NOSPELL
echo You did not copy the spells_en.txt from your everquest directory to this one. Please do so or zones will crash on startup.
PAUSE
REM:---------------END------------------------
have tried this with my internet IP, my lan IP 192.168.0.1, and localhost in all possible combinations, same result as initial post.
### --- 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 recommend using the eqemulator.net Loginserver ALWAYS.
### --- NOTE: You can NOT use the word "Server" in worldname.
### --- NOTE2: the word "Server" is added to each server automatically.
# READ README.TXT
[LoginServer]
loginserver=192.168.0.1
loginport=5997
worldname=First test
worldaddress=192.168.0.1
locked=false
[WorldServer]
Defaultstatus=0
Unavailzone=
[LoginConfig]
ServerMode=Standalone
ServerPort=5997
UplinkAddress=
UplinkPort=
UplinkAccount=
UplinkPassword=
have tried this on world servers, shows my server fine, but am still unable to join the server, kicks me out at the same point.
[Database]
host=localhost
user=*****
password=******
database=eq
compression=off
my mySQl server connects fine, and have loaded up the database from tcsmyworld and his update. both loaded fine with no errors.
entered eqemu/eqemu login into database with 200 access as mentioned elsewhere in these forums, logs into those fine, and any others i create. just wont enter world.
minilogin:
C:\eqemu>minilogin
LoginServer.ini read.
MiniLoginAccounts.ini read.
Server mode: Standalone
Login server listening on port:5997
Matched 192.168.0.163 to 'eqemu'
Matched 192.168.0.163 to 'eqemu'
World:
C:\eqemu>world
[Status] CURRENT_WORLD_VERSION:EQEMu 0.5.0
[Status] Loading variables..
[Status] Loading zones..
[Status] Loading items..
[Status] EMuShareMem loaded
[Status] LoginServer.ini read.
[Status] Loading guild ranks..
[Status] Loading addon.ini..
[Status] Loading EQ time of day..
[Status] Reboot zone modes ON
[Status] Deleted 0 stale player corpses from database
[Status] Deleted 0 stale player backups from database
Warning: Pants may change during online play.
TCP listening on: 192.168.0.1:9000
World server listening on: 192.168.0.1:9000
Connected to LoginServer: 192.168.0.1:5997
188401 New TCP connection: 127.0.0.1:4370
188401 New TCP connection: 127.0.0.1:4371
188401 New TCP connection: 127.0.0.1:4372
188401 New TCP connection: 127.0.0.1:4373
188401 New TCP connection: 127.0.0.1:4374
New zoneserver: #1 127.0.0.1:4374
New zoneserver: #2 127.0.0.1:4373
New zoneserver: #3 127.0.0.1:4372
New zoneserver: #4 127.0.0.1:4371
New zoneserver: #5 127.0.0.1:4370
Zoneserver SetConnectInfo: 127.0.0.1:4370: 127.0.0.1:7995
Zoneserver SetConnectInfo: 127.0.0.1:4371: 127.0.0.1:7997
Zoneserver SetConnectInfo: 127.0.0.1:4372: 127.0.0.1:7999
Zoneserver SetConnectInfo: 127.0.0.1:4373: 127.0.0.1:7996
Zoneserver SetConnectInfo: 127.0.0.1:4374: 127.0.0.1:7998
595115 New client from ip: 192.168.0.163 port: 3305
Logged in: Local: eqemu
Received unknown opcode: 0x02d2 size:0 bytes
Attempting autobootup of rivervale (19) for Boopy
Zoneserver SetZone: 127.0.0.1:7995 rivervale (19)
Enter world: Boopy: rivervale (19)
Zoneserver SetZone: 127.0.0.1:7995 rivervale (19)
Client disconnected
Removing client from ip:192.168.0.163 port:3305
Zoneserver SetZone: 127.0.0.1:7995 (0)
Zoneserver SetZone: 127.0.0.1:7995 (0)
zone:
[Status] CURRENT_ZONE_VERSION: EQEMu 0.5.0
[Status] Loading Variables
[Status] Loading zone names
[Status] Loading items
[Status] EMuShareMem loaded
[Status] Loading items from database: count=25924, max id=68199
[Status] Loading npcs
[Status] Loading NPCTypes from database...
[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: 4352
[Status] Loading guilds
[Status] Loading factions
[Status] Loading corpse timers
[Status] Loading what ever is left
[Status] Loading commands
[Status] 148 commands loaded
[Status] Entering sleep mode
Connected to worldserver: 127.0.0.1:9000
[Status] Weather should change in 3790 seconds
Init: Loading zone lists, zone state or spawn list, player corpsesZonepoints loa
ded into memory
, timezone data - Done. ZoneID = 19; Time Offset = 0
Reading zhdr file './cfg/rivervale.cfg'
Using database for safe coords.
Zone safe coords are x = 0; y = 0; z= 4
Reading zhdr file './cfg/rivervale.cfg'
Using database for safe coords.
Zone safe coords are x = 0; y = 0; z= 4
Using default zone header data...
Converting old zone data...
[Status] Loading Objects from DB...
[Status] Loading doors for rivervale ...
[Status] Done loading doors for rivervale ...
Petition 0 pettime = 0
[Status] Zone Bootup: rivervale (19)
Automatic shutdown
[Status] Zone Shutdown: rivervale (19)
as mentioned up top, i can get to the character select screen, but when i enter world, that is when i go.
also, in minilogin, i have allowed my other machines IP 192.168.0.1 access, and it logs in fine. it's just after the character select screen when the zone is loading that it disconnects me.
thanks for help
a_Guest03
11-20-2003, 08:57 AM
Maybe your system can't run zones and everquest on the same computer.
wolfy99
11-20-2003, 09:06 AM
Maybe your system can't run zones and everquest on the same computer.
am running everqest on one machine, and server on another.
no firewalls activated, including the XP default one, have 512megs ram in both machines.
no routers, using ICS to share internet. default windows networking used.
rmm99
11-20-2003, 11:55 AM
start zone . 127.0.0.1 7995 127.0.0.1
I think you're confusing running a local server on the same machine as EQ, and running a seperate server. The world server will tell you that you need to connect to the zone server on 127.0.0.1:7995 and you don't have a zone running on your same computer as EQ.
I'm going to guess two things here - either a)you've got some numbers confused in your setup or b)at one point you had all the numbers right, but your zone files in your EQ box are corrupt or you have a virus.
If it's:
a) List out your machines ip and your worldservers internal ip and we'll hash out what your config files should be. I've been bored this week at work so I've been lurking around, thus I have time tomorrow hah ~
b) Virusscan if you haven't, and do a thorough check on your files when you patch.
Good luck ~
wolfy99
11-21-2003, 12:46 AM
i'm running EQ on 192.168.0.163
server, mysql, zone files and minilogin are running on 192.168.0.1
thanks for the help
ps, did a virus scan with latest updates, all clear there.
rubyrhinosaur
11-21-2003, 12:53 AM
so did you fix the problem?
make sure your start zone . 192.168.0.1 7999 192.168.0.1
are set up correctly to correspond to the correct ips
rmm99
11-21-2003, 02:32 AM
On your client your eqhost.txt should be -
"192.168.0.1:5999"
On your server your db.ini should also be that ip -
host=192.168.0.1
Your boot5zones -
what rubyrhinosaur said in the last post
loginserver.ini also -
loginserver=192.168.0.1
loginport=5999
I could guess that if you are using ICS that you have 2 NICs in your server. Is it possible that when you use 127.0.0.1 or localhost that the zones are binding to your other NIC instead of your internal? Don't know but thinking out loud.
More clarification, you said you
ps, did a virus scan with latest updates, all clear there. but specifically, make sure you do a THOROUGH scan in the EQ patcher... just wanted to be clear on that one.
wolfy99
11-21-2003, 05:27 AM
changed the ip to the one in the previous post (which i have used before) and it disconnected me again.
but....
out of interest, i closed all the zone windows, which repopped up again, then clicked on Enter World, and this time it let me in....?
good to see it working, a bit buggy but fun to mess with all the same.
thanks for help, appreciated
rmm99
11-21-2003, 05:33 AM
That is strange. The world server restarts the zones when they die, that much I've learned. I wonder, are you starting things in this order-
minilogin
world - wait for it to completely init
boot5zones - once they completely start, look at world and make sure they attached
I'm curious if the first time you run it from scratch if you only see 4 lines in each zone window. There should be a lot more, but if you don't have a db entry that authorizes the zone to connect to world, you'll see only four. Might be a bug that lets it through on a restart maybe? Realllllllly guessing now =b I should stop that hah.
rmm99
11-21-2003, 06:24 AM
I can't even be close with that blatant guess up above. How could the world server know to restart the zone if the zone never connected to it in the first place.
Actually I tested how that works if the zones don't connect on both a fast computer and a slow computer. The fast computer says zone unavailable and if I try to get in with that character anyways it instantly gave me the zone unavailable box again. On the slow computer, when I tried to enter even though zone was unavailable it popped up the everquest background and started to act like it was loading. However, half way across the bar, it threw me back out with a zone unavailable again. Weird =0 Still haven't learned anymore that will help you, unless the previous did somewhat.
wolfy99
11-21-2003, 02:44 PM
minilogin
world - wait for it to completely init
boot5zones - once they completely start, look at world and make sure they attached
.
that must be it, i have tended to start the boot5zones file right after the world one. so maybe closing the windows was allowing them to inititalise properly.
now for some exploring in norath :D
rmm99
11-21-2003, 03:00 PM
Maybe, but I messed around more and found that you can kill both the minilogin and world servers, restart them, and the zones reconnects eventually. Some times it was instant, sometimes a minute or so, so I would guess there is a retry based on a timer in there. In any case, glad you made it, have fun explorin ~
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.