Chronic Logic

Zatikon => Bug List => Topic started by: Alweth on June 17, 2010, 11:15:51 PM

Title: Keep getting kicked from the game.
Post by: Alweth on June 17, 2010, 11:15:51 PM
I am on Windows 7 Home Premium x64...

I keep getting kicked out of the game randomly, and losing connect randomly. This doesn't happen with other games, nor does it happen as frequently to other people on the same LAN using Zatikon. Sometimes there's an associated Exception. Here are two of the exceptions I've gotten on separate occasions.

ClientNetManager.run: java.net.SocketException: Connection reset

ClientNetManager.run: java.io.EOFException

ClientNetManager.run: java.net.SocketException: socket closed

ClientNetManager.run: java.net.SocketTimeoutException: Read timed out
closed
closed
ClientNetManager.run: java.net.SocketTimeoutException: Read timed out
connect: java.net.ConnectException: Connection refused: connect
connect: java.net.ConnectException: Connection refused: connect
connect: java.net.ConnectException: Connection refused: connect
connect: java.net.ConnectException: Connection refused: connect
connect: java.net.ConnectException: Connection refused: connect
connect: java.net.ConnectException: Connection refused: connect
connect: java.net.ConnectException: Connection refused: connect
connect: java.net.ConnectException: Connection refused: connect
connect: java.net.ConnectException: Connection refused: connect
connect: java.net.ConnectException: Connection refused: connect
Title: Re: Keep getting kicked from the game.
Post by: Chronic Logic - Josiah on June 18, 2010, 05:55:33 PM
Are you still having this problem today?
Title: Re: Keep getting kicked from the game.
Post by: Alweth on June 18, 2010, 08:14:35 PM
I haven't played yet today. I'll let you know how things go next time I play, though.
Title: Re: Keep getting kicked from the game.
Post by: Alweth on June 18, 2010, 11:23:50 PM
Okay, so far I've had no disconnects, which is good. I normally probably would have had a few by now. I did get one:

java.util.ConcurrentModificationException

But that didn't seem to affect my game.
Title: Re: Keep getting kicked from the game.
Post by: Alweth on June 19, 2010, 09:51:12 PM
I got the following exception, which caused me to lose synch with the server, but I eventually reconnected:

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at javax.swing.text.FlowView$FlowStrategy.layoutRow(Unknown Source)
        at javax.swing.text.FlowView$FlowStrategy.layout(Unknown Source)
        at javax.swing.text.FlowView.layout(Unknown Source)
        at javax.swing.text.BoxView.setSize(Unknown Source)
        at javax.swing.text.BoxView.updateChildSizes(Unknown Source)
        at javax.swing.text.BoxView.setSpanOnAxis(Unknown Source)
        at javax.swing.text.BoxView.layout(Unknown Source)
        at javax.swing.text.BoxView.setSize(Unknown Source)
        at javax.swing.plaf.basic.BasicTextUI$RootView.setSize(Unknown Source)
        at javax.swing.plaf.basic.BasicTextUI.modelToView(Unknown Source)
        at javax.swing.text.DefaultCaret.repaintNewCaret(Unknown Source)
        at javax.swing.text.DefaultCaret$1.run(Unknown Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
ClientNetManager.run: java.net.SocketException: socket closed
closed
closed
closed

Also, I still sometimes lose connect, but so far there hasn't been any associated Exception. Also, I seem to lose connect less frequently than before.
Title: Re: Keep getting kicked from the game.
Post by: Alweth on June 20, 2010, 04:52:34 AM
The game quit on me again. This time, there were these exceptions listed:

ClientNetManager.run: java.net.SocketException: socket closed
closed
ClientNetManager.run: java.net.SocketException: socket closed
closed
Title: Re: Keep getting kicked from the game.
Post by: Alweth on June 20, 2010, 05:20:54 AM
Lost connect with these exceptions:

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at javax.swing.text.FlowView$FlowStrategy.layoutRow(Unknown Source)
        at javax.swing.text.FlowView$FlowStrategy.layout(Unknown Source)
        at javax.swing.text.FlowView.layout(Unknown Source)
        at javax.swing.text.BoxView.setSize(Unknown Source)
        at javax.swing.text.BoxView.updateChildSizes(Unknown Source)
        at javax.swing.text.BoxView.setSpanOnAxis(Unknown Source)
        at javax.swing.text.BoxView.layout(Unknown Source)
        at javax.swing.text.BoxView.setSize(Unknown Source)
        at javax.swing.plaf.basic.BasicTextUI$RootView.setSize(Unknown Source)
        at javax.swing.plaf.basic.BasicTextUI$RootView.paint(Unknown Source)
        at javax.swing.plaf.basic.BasicTextUI.paintSafely(Unknown Source)
        at javax.swing.plaf.basic.BasicTextUI.paint(Unknown Source)
        at javax.swing.plaf.basic.BasicTextUI.update(Unknown Source)
        at javax.swing.JComponent.paintComponent(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JComponent.paintToOffscreen(Unknown Source)
        at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
        at javax.swing.RepaintManager.paint(Unknown Source)
        at javax.swing.JComponent._paintImmediately(Unknown Source)
        at javax.swing.JComponent.paintImmediately(Unknown Source)
        at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
        at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
        at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
        at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknow
n Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
ClientNetManager.run: java.net.SocketTimeoutException: Read timed out
connect: java.net.ConnectException: Connection timed out: connect
connect: java.net.ConnectException: Connection timed out: connect
connect: java.net.ConnectException: Connection timed out: connect
connect: java.net.ConnectException: Connection timed out: connect
connect: java.net.ConnectException: Connection timed out: connect
connect: java.net.ConnectException: Connection timed out: connect
connect: java.net.ConnectException: Connection timed out: connect
connect: java.net.ConnectException: Connection timed out: connect
connect: java.net.ConnectException: Connection timed out: connect
closed
closed
ClientNetManager.run: java.net.SocketException: socket closed

If you make the client open source, like you were thinking about doing, I would be able to at least give more specific information by running the program in debug mode. All in all though, it seems to be acting a little better.
Title: Re: Keep getting kicked from the game.
Post by: Chronic Logic - Josiah on June 22, 2010, 06:36:52 PM
I think the problems are probably caused by your internet connection to our server.  Are you still having the same problems?  If so can you try this from the command prompt:

ping -t zatikon.com

let it run for a few minutes at least and then press CTRL and C at the same time to stop it.  Paste the results in here (to copy something from the prompt you have to select it with the mouse and then press enter, this will put it in the clip board).   You should end up with something like this:

Ping statistics for 174.133.57.130:
    Packets: Sent = 21, Received = 21, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 55ms, Maximum =  63ms, Average =  57ms
Title: Re: Keep getting kicked from the game.
Post by: mongolian on October 14, 2010, 11:58:24 AM
BTW, the initial sound even despite that you can toggle it off is a bit glitchy. I wonder if being able to disable it permanently could help a bit? (i'm sure that isn't directly addressing the problem)
Title: Re: Keep getting kicked from the game.
Post by: Chronic Logic - Josiah on October 15, 2010, 05:50:57 AM
In the next update it will save your sound settings so if you turn the sound off it will not come on again the next time you start the game!