At my wits end

For any problems with Dawn of Light website or game server, please direct questions and problems here.

Moderator: Support Team

At my wits end

Postby daedilus » Sun Sep 23, 2007 7:02 am

Hey guys. /same old spiel I started a server for myself and my roomate to play around with. His computer runs the server, mine (which is 2 feet away) is attempting to connect. After I select a character on mine I am forcibly disconnected.

00:02:27,796 - [3616] - INFO - DOL.GS.GameEvents.StatPrint - -stats- Mem=288322kb Clients=1 Down=0kb/s (0MB) Up=0kb/s (0MB) In=0pck/s (0K) Out=8pck/s (0K) Pool=24/25(1) IOCP=1000/1000(1) RegionTime1=9t/s (1642) CPU=0.3% DOL=0.3%
00:02:38,609 - [2008] - INFO - DOL.ClientBase - not connected An existing connection was forcibly closed by the remote host
00:02:38,609 - [2008] - DEBUG - DOL.GS.GameClient - Linkdeath called (stalos) client state=Playing
00:02:38,609 - [2008] - INFO - DOL.GS.GamePlayer - Player Zag(stalos) went linkdead!

00:02:39,265 - [2008] - INFO - DOL.GS.GamePlayer - Zag saved!
00:02:39,265 - [2008] - INFO - DOL.GS.GamePlayer - Linkdead player Zag(stalos) will quit in 20
00:02:57,796 - [3616] - INFO - DOL.GS.GameEvents.StatPrint - -stats- Mem=286893kb Clients=0 Down=0kb/s (0MB) Up=0kb/s (0MB) In=0pck/s (0K) Out=2pck/s (0K) Pool=24/25(1) IOCP=1000/1000(1) RegionTime1=9t/s (1640) CPU=2.6% DOL=2.6%
00:02:59,265 - [RegionTime1] - INFO - DOL.GS.GamePlayer - Zag saved!
00:02:59,281 - [RegionTime1] - DEBUG - DOL.GS.Spells.ConcentrationList - (Zag) cancels all conc spells leaveself: False
00:02:59,281 - [RegionTime1] - DEBUG - DOL.GS.GamePlayer - (Zag) player.Delete
00:02:59,281 - [RegionTime1] - DEBUG - DOL.GS.Region - RemoveObject: OID10494 Zag(R100) from Midgard
00:02:59,281 - [RegionTime1] - DEBUG - DOL.GS.GamePlayer - (Zag) player.Delete
00:02:59,281 - [RegionTime1] - DEBUG - DOL.GS.Spells.ConcentrationList - (Zag) cancels all conc spells leaveself: False
00:02:59,281 - [RegionTime1] - DEBUG - DOL.GS.GamePlayer - (Zag) player.Delete
00:02:59,281 - [RegionTime1] - INFO - DOL.GS.GameClient - (not connected) stalos just disconnected!

I have searched the forums for any sort of help on this, and it all comes back to port forwarding. I pretty much relied on the posts to actually set it up enough that I could connect on the main computer, so I am not too sure what I have done wrong. Steps taken:

Ports 10300 and 10400 forwarded (both TCP and UDP) to the host computer's LAN IP (192.168 etc etc)

Firewalls disabled

IP set to host's LAN IP and RegionIP set to host's external IP in serverconfig

I am using a Trendnet router, the NewDOLServer application to start the server, DAoCPortal to connect to the server (custom shard set to the host's LAN IP), and the EU version of Dark Age (Labrynth expansion) patched completely, and oh yes, the newest build of the DOL server and databases.

As I said, the game runs fine while running it on the host computer (albeit a bit laggy but is to be expected), but I cannot stay connected from my own computer. Any help would be appreciated.
daedilus
DOL Visitor
 
Posts: 13
Joined: Mon Sep 17, 2007 11:41 pm

Postby KyleB » Sun Sep 23, 2007 7:20 am

You might have to go to 192.168.0.1 and enable DMZ hosting, I had to do that a few times on different routers to be able to host as well as the port forwarding
KyleB
DOL Guest
 
Posts: 3
Joined: Sun Sep 23, 2007 7:18 am

Postby Tolakram » Sun Sep 23, 2007 1:00 pm

Is that computer running just the server, or a server and a client?

How much RAM?

What speed?

Don't go setting DMZ until you know what the problem is.

You can open ports 15300-15400 (the entire range not needed but I forget the exact ports) if that machne has a firewall running.

What version client do you have?
User avatar
Tolakram
Storm / Storm-D2 Admin
 
Posts: 9189
Joined: Tue Jun 13, 2006 1:49 am
Location: Kentucky, USA

Postby Dinberg » Sun Sep 23, 2007 2:18 pm

Does this happen for every character, or just zag? If it only occurs for 'Zag', it may well be that the character in question has been corrupted somehow, and some incorrect packets are being sent to the client that causes an error (like if you have a name greater than a certain amount of characters).
The Marvelous Contraption begins to stir...
User avatar
Dinberg
Inactive Staff Member
 
Posts: 4695
Joined: Sat Mar 10, 2007 9:47 am
Yahoo Messenger: dinberg_darktouch
Location: Jordheim

Postby daedilus » Sun Sep 23, 2007 3:22 pm

The computer that is being disconnected is running just the client.

The machine running the server and a client is an AMD 64 3500+ with 1 gig of ram, the machine being disconnected is the exact same.

Both are running the fully patched EU client (I think it is 1.88 ).

It happens for every character I create on the second machine, as well as with any account I try. I will try to open 15300 - 15400, I am not really wanting to enable DMZ so hopefully there is another solution.
Last edited by daedilus on Sun Sep 23, 2007 3:52 pm, edited 1 time in total.
daedilus
DOL Visitor
 
Posts: 13
Joined: Mon Sep 17, 2007 11:41 pm

Postby IStandAloneToo » Sun Sep 23, 2007 3:34 pm

Also, is this on LAN? If it is, you don't need to do port forwarding :). Just do the 127.0.0.1 IP and you should be good. How we play it here in my apartment :).
Ryan
Hi :)
IStandAloneToo
Developer
 
Posts: 1179
Joined: Sat Jul 14, 2007 2:26 am
Location: California

Postby daedilus » Mon Sep 24, 2007 4:07 am

Well I tried the firewall idea, but to no avail.

I am on a LAN but even after setting it to the default settings again and trying on 127.0.0.1 I had no luck. I can connect on the host machine, but not on the second. Not sure what is not working.

**edit**
When trying to connect on the LAN ( 127.0.0.1 ) it will no longer even go into the character select screen, but instead stops during loading with the "Service not available" message.
daedilus
DOL Visitor
 
Posts: 13
Joined: Mon Sep 17, 2007 11:41 pm

Postby Tolakram » Mon Sep 24, 2007 2:20 pm

In your server config xml file there are 2 ports that DOL uses. Are you sure both those ports are available to an external machine? I can't think of why else it wouldn't connect. You don't have zonealarm or anything like that running, do you?
User avatar
Tolakram
Storm / Storm-D2 Admin
 
Posts: 9189
Joined: Tue Jun 13, 2006 1:49 am
Location: Kentucky, USA

Postby daedilus » Mon Sep 24, 2007 4:09 pm

Nope to zone alarm, and if you are referring to ports 10300 and 10400 then yep they are open.
daedilus
DOL Visitor
 
Posts: 13
Joined: Mon Sep 17, 2007 11:41 pm

Postby daedilus » Mon Sep 24, 2007 4:26 pm

Anything here seem wonky??

10:20:22,718 - [MAIN] - INFO - DOL.GS.GameServer - GameServer is now open for connections!
10:20:32,093 - [2772] - INFO - DOL.GS.GameEvents.StatPrint - -stats- Mem=286883kb Clients=0 Down=0kb/s (0MB) Up=0kb/s (0MB) In=0pck/s (0K) Out=0pck/s (0K) Pool=24/25(1) IOCP=1000/1000(1) RegionTime1=8439t/s (1572) CPU=17.2% DOL=16.8%
10:20:35,656 - [3632] - INFO - DOL.BaseServer - Incoming connection from 192.168.1.101:3999
10:20:36,218 - [3632] - INFO - DOL.GS.PacketHandler.Client.v168.LoginRequestHandler - (192.168.1.101:3999)User stalos logging on! (Version188 type:LabyrinthOfTheMinotaur add:bit4, bit5, Foundations, NewFrontiers)
10:20:53,187 - [RegionTime1] - DEBUG - DOL.GS.PacketHandler.Client.v168.WorldInitRequestHandler - Client stalos(Zig PID:1 OID:10494) entering Region Midgard(ID:100)
10:21:02,093 - [2772] - INFO - DOL.GS.GameEvents.StatPrint - -stats- Mem=286858kb Clients=1 Down=0kb/s (0MB) Up=0kb/s (0MB) In=0pck/s (0K) Out=1pck/s (0K) Pool=24/25(1) IOCP=1000/1000(1) RegionTime1=0t/s (1572) CPU=1.3% DOL=1.0%
10:21:11,234 - [RegionTime1] - DEBUG - DOL.GS.PacketHandler.Client.v168.PlayerInitRequestHandler - Client stalos(Zig) entering world: pid->1 oid->10494
10:21:11,281 - [RegionTime1] - DEBUG - DOL.GS.Scripts.ScriptMgr - Found spell handler DOL.GS.Spells.DamageAddSpellHandler
10:21:11,296 - [RegionTime1] - DEBUG - DOL.GS.Scripts.ScriptMgr - Found spell handler DOL.GS.Spells.StrengthConBuff
10:21:32,093 - [2772] - INFO - DOL.GS.GameEvents.StatPrint - -stats- Mem=287043kb Clients=1 Down=0kb/s (0MB) Up=0kb/s (0MB) In=0pck/s (0K) Out=9pck/s (0K) Pool=24/25(1) IOCP=1000/1000(1) RegionTime1=5t/s (1645) CPU=1.2% DOL=0.5%
10:21:55,796 - [3632] - INFO - DOL.ClientBase - not connected An existing connection was forcibly closed by the remote host
10:21:55,796 - [3632] - DEBUG - DOL.GS.GameClient - Linkdeath called (stalos) client state=Playing
10:21:55,812 - [3632] - INFO - DOL.GS.GamePlayer - Player Zig(stalos) went linkdead!
10:21:55,828 - [3632] - INFO - DOL.GS.GamePlayer - Zig saved!
10:21:55,828 - [3632] - INFO - DOL.GS.GamePlayer - Linkdead player Zig(stalos) will quit in 20
10:22:02,093 - [2772] - INFO - DOL.GS.GameEvents.StatPrint - -stats- Mem=286899kb Clients=0 Down=0kb/s (0MB) Up=0kb/s (0MB) In=0pck/s (0K) Out=8pck/s (0K) Pool=24/25(1) IOCP=1000/1000(1) RegionTime1=10t/s (1649) CPU=1.4% DOL=0.4%
10:22:15,828 - [RegionTime1] - INFO - DOL.GS.GamePlayer - Zig saved!
10:22:15,843 - [RegionTime1] - DEBUG - DOL.GS.Spells.ConcentrationList - (Zig) cancels all conc spells leaveself: False
10:22:15,843 - [RegionTime1] - DEBUG - DOL.GS.Effects.GameSpellEffect - Zig: CancelEffect playerCanceled=False SpellType=DamageAdd
10:22:15,843 - [RegionTime1] - DEBUG - DOL.GS.Effects.GameSpellEffect - Zig: CancelEffect playerCanceled=False SpellType=StrengthConstitutionBuff
10:22:15,859 - [RegionTime1] - DEBUG - DOL.GS.GamePlayer - (Zig) player.Delete
10:22:15,859 - [RegionTime1] - DEBUG - DOL.GS.Region - RemoveObject: OID10494 Zig(R100) from Midgard
10:22:15,859 - [RegionTime1] - DEBUG - DOL.GS.GamePlayer - (Zig) player.Delete
10:22:15,859 - [RegionTime1] - DEBUG - DOL.GS.Spells.ConcentrationList - (Zig) cancels all conc spells leaveself: False
10:22:15,859 - [RegionTime1] - DEBUG - DOL.GS.GamePlayer - (Zig) player.Delete
10:22:15,859 - [RegionTime1] - INFO - DOL.GS.GameClient - (not connected) stalos just disconnected!
10:22:32,093 - [2772] - INFO - DOL.GS.GameEvents.StatPrint - -stats- Mem=287042kb Clients=0 Down=0kb/s (0MB) Up=0kb/s (0MB) In=0pck/s (0K) Out=0pck/s (0K) Pool=24/25(1) IOCP=1000/1000(1) RegionTime1=9t/s (1604) CPU=2.8% DOL=2.6%
10:23:02,093 - [2772] - INFO - DOL.GS.GameEvents.StatPrint - -stats- Mem=286820kb Clients=0 Down=0kb/s (0MB) Up=0kb/s (0MB) In=0pck/s (0K) Out=0pck/s (0K) Pool=24/25(1) IOCP=1000/1000(1) RegionTime1=4t/s (1572) CPU=14.5% DOL=0.1%

Not too sure myself :(
daedilus
DOL Visitor
 
Posts: 13
Joined: Mon Sep 17, 2007 11:41 pm

Postby brink668 » Mon Sep 24, 2007 4:40 pm

Make sure your database has INNOB ENABLED or it wont work.
Image
brink668
Support Team
 
Posts: 722
Joined: Tue Oct 18, 2005 2:54 am
Website: http://www.computerrich.com

Postby Overdriven » Mon Sep 24, 2007 5:00 pm

Make sure your database has INNOB ENABLED or it wont work.
MyiSAM works perfectly well..
Overdriven
Inactive Staff Member
 
Posts: 1736
Joined: Wed Sep 07, 2005 8:49 pm
Website: http://www.jasonbenedetti.co.uk
Location: Surrey, UK.

Postby daedilus » Mon Sep 24, 2007 5:31 pm

How abouts would I check that out?

I reran the MYSQL wizard and it confirms that InnoDB and MYiSAM are utilized, do I have to turn on an option in a config file or anything?

**edit**

I noticed while checking out the MYSQL set up that it runs on port 3306, would I have to do something to that port by chance?
daedilus
DOL Visitor
 
Posts: 13
Joined: Mon Sep 17, 2007 11:41 pm

Postby Overdriven » Mon Sep 24, 2007 6:44 pm

How abouts would I check that out?

I reran the MYSQL wizard and it confirms that InnoDB and MYiSAM are utilized, do I have to turn on an option in a config file or anything?

**edit**

I noticed while checking out the MYSQL set up that it runs on port 3306, would I have to do something to that port by chance?
No and No. 3306 is the standard MySQL port and nothing else runs on it. (It can be changed, but there's no point) Also, MyISam and InnoDB are just table types. InnoDB is the faster of the two but on a database for DOL doens't make a difference.


Usually go LD if you run the client and server on the same machine, unless the client is on uberlow settings.
Overdriven
Inactive Staff Member
 
Posts: 1736
Joined: Wed Sep 07, 2005 8:49 pm
Website: http://www.jasonbenedetti.co.uk
Location: Surrey, UK.

Postby Tolakram » Mon Sep 24, 2007 6:48 pm

No. I run my MySQL Server on a non-default port too. Any MySql server connection issues would show up on both machines.

10:20:35,656 - [3632] - INFO - DOL.BaseServer - Incoming connection from 192.168.1.101:3999


port 3999?


DOL.GS.PacketHandler.Client.v168.LoginRequestHandler

You could try putting log statements here to see exactly when the connection fails. You can also make sure it knows what client version you are.



INFO - DOL.GS.GameEvents.StatPrint - -stats- Mem=286820kb Clients=0 Down=0kb/s (0MB) Up=0kb/s (0MB) In=0pck/s (0K) Out=0pck/s (0K) Pool=24/25(1) IOCP=1000/1000(1) RegionTime1=4t/s (1572) CPU=14.5% DOL=0.1%

The CPU usage seems high, in two of the prints it was 14% or above. I don't think this is an issue, but as a last resort can you identify what might be running on the server that is loading the cpu? It's possible that the client will give up on the connection if no response is given.
User avatar
Tolakram
Storm / Storm-D2 Admin
 
Posts: 9189
Joined: Tue Jun 13, 2006 1:49 am
Location: Kentucky, USA


Return to “%s” Support

Who is online

Users browsing this forum: No registered users and 0 guests