Mythruna

General Category => Tech Support => Topic started by: Tamarie on March 25, 2014, 08:50:24 PM



Title: Single Player starts, Multi-player doesn't
Post by: Tamarie on March 25, 2014, 08:50:24 PM
I can play Single player fine, but when I click on Multi-player nothing happens. I then click Cntl/Alt/Del to back out of that screen and get Error: Connection timed out: Connect. Here is a typical error log:

Uncaught exception from thread:Thread[LWJGL Renderer Thread,5,main]
java.net.ConnectException: Connection timed out: connect
   at java.net.DualStackPlainSocketImpl.connect0(Native Method)
   at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
   at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
   at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
   at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
   at java.net.PlainSocketImpl.connect(Unknown Source)
   at java.net.SocksSocketImpl.connect(Unknown Source)
   at java.net.Socket.connect(Unknown Source)
   at java.net.Socket.connect(Unknown Source)
   at java.net.Socket.<init>(Unknown Source)
   at java.net.Socket.<init>(Unknown Source)
   at com.jme3.network.kernel.tcp.SocketConnector.<init>(SocketConnector.java:66)
   at com.jme3.network.Network.connectToServer(Network.java:166)
   at com.jme3.network.Network.connectToServer(Network.java:142)
   at mythruna.client.net.LoginClient.<init>(LoginClient.java:57)
   at mythruna.client.MainMenuState.connect(MainMenuState.java:194)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at de.lessvoid.nifty.NiftyMethodInvoker.callMethod(NiftyMethodInvoker.java:145)
   at de.lessvoid.nifty.NiftyMethodInvoker.performInvoke(NiftyMethodInvoker.java:108)
   at de.lessvoid.nifty.Nifty$DelayedMethodInvoke.perform(Nifty.java:1176)
   at de.lessvoid.nifty.Nifty.invokeMethods(Nifty.java:1154)
   at de.lessvoid.nifty.Nifty.handleDynamicElements(Nifty.java:312)
   at de.lessvoid.nifty.Nifty.access$1500(Nifty.java:73)
   at de.lessvoid.nifty.Nifty$NiftyInputConsumerImpl.processEvent(Nifty.java:1371)
   at de.lessvoid.nifty.Nifty$NiftyInputConsumerImpl.processMouseEvent(Nifty.java:1329)
   at com.jme3.niftygui.InputSystemJme.onMouseButtonEventQueued(InputSystemJme.java:161)
   at com.jme3.niftygui.InputSystemJme.forwardEvents(InputSystemJme.java:236)
   at de.lessvoid.nifty.Nifty.update(Nifty.java:248)
   at com.jme3.niftygui.InputSystemJme.endInput(InputSystemJme.java:92)
   at com.jme3.input.InputManager.processQueue(InputManager.java:787)
   at com.jme3.input.InputManager.update(InputManager.java:851)
   at com.jme3.app.Application.update(Application.java:605)
   at com.jme3.app.SimpleApplication.update(SimpleApplication.java:233)
   at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:149)
   at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:182)
   at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:223)
   at java.lang.Thread.run(Unknown Source)

Build version:20120627

Memory usage:
Working memory: 76% (12709648/16547840)  VM Max: 2% (12709648/518979584)

Rendering caps:
    FrameBuffer
    FrameBufferMRT
    FrameBufferMultisample
    TextureMultisample
    OpenGL20
    OpenGL21
    OpenGL30
    OpenGL31
    OpenGL32
    ARBprogram
    GLSL100
    GLSL110
    GLSL120
    GLSL130
    GLSL140
    GLSL150
    VertexTextureFetch
    TextureArray
    TextureBuffer
    FloatTexture
    FloatColorBuffer
    FloatDepthBuffer
    PackedFloatTexture
    SharedExponentTexture
    PackedFloatColorBuffer
    TextureCompressionLATC
    NonPowerOfTwoTextures
    MeshInstancing
    VertexBufferArray

Statistics:
  Vertices = 468
  Triangles = 234
  Uniforms = 110
  Objects = 58
  Shaders (S) = 15
  Shaders (F) = 6
  Shaders (M) = 6
  Textures (S) = 15
  Textures (F) = 12
  Textures (M) = 14
  FrameBuffers (S) = 5
  FrameBuffers (F) = 4
  FrameBuffers (M) = 4
Application settings:
UseInput = true
AudioRenderer = LWJGL
Height = 1024
Renderer = LWJGL-OpenGL2
BitsPerPixel = 32
Fullscreen = true
StencilBits = 0
DepthBits = 24
VSync = false
Frequency = 60
Width = 1280
Samples = 16
DisableJoysticks = true
FrameRate = -1

Display adapter information:
Adapter:nvd3dumx,nvwgf2umx,nvwgf2umx
Driver Version:null
Vendor:NVIDIA Corporation
Version:4.3.0
Renderer:GeForce GTX 580/PCIe/SSE2
GLSL Ver:4.30 NVIDIA via Cg compiler

Uncaught exception from thread:Thread[LWJGL Renderer Thread,5,main]
java.net.ConnectException: Connection timed out: connect
   at java.net.DualStackPlainSocketImpl.connect0(Native Method)
   at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
   at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
   at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
   at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
   at java.net.PlainSocketImpl.connect(Unknown Source)
   at java.net.SocksSocketImpl.connect(Unknown Source)
   at java.net.Socket.connect(Unknown Source)
   at java.net.Socket.connect(Unknown Source)
   at java.net.Socket.<init>(Unknown Source)
   at java.net.Socket.<init>(Unknown Source)
   at com.jme3.network.kernel.tcp.SocketConnector.<init>(SocketConnector.java:66)
   at com.jme3.network.Network.connectToServer(Network.java:166)
   at com.jme3.network.Network.connectToServer(Network.java:142)
   at mythruna.client.net.LoginClient.<init>(LoginClient.java:57)
   at mythruna.client.MainMenuState.connect(MainMenuState.java:194)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at de.lessvoid.nifty.NiftyMethodInvoker.callMethod(NiftyMethodInvoker.java:145)
   at de.lessvoid.nifty.NiftyMethodInvoker.performInvoke(NiftyMethodInvoker.java:108)
   at de.lessvoid.nifty.Nifty$DelayedMethodInvoke.perform(Nifty.java:1176)
   at de.lessvoid.nifty.Nifty.invokeMethods(Nifty.java:1154)
   at de.lessvoid.nifty.Nifty.handleDynamicElements(Nifty.java:312)
   at de.lessvoid.nifty.Nifty.access$1500(Nifty.java:73)
   at de.lessvoid.nifty.Nifty$NiftyInputConsumerImpl.processEvent(Nifty.java:1371)
   at de.lessvoid.nifty.Nifty$NiftyInputConsumerImpl.processMouseEvent(Nifty.java:1329)
   at com.jme3.niftygui.InputSystemJme.onMouseButtonEventQueued(InputSystemJme.java:161)
   at com.jme3.niftygui.InputSystemJme.forwardEvents(InputSystemJme.java:236)
   at de.lessvoid.nifty.Nifty.update(Nifty.java:248)
   at com.jme3.niftygui.InputSystemJme.endInput(InputSystemJme.java:92)
   at com.jme3.input.InputManager.processQueue(InputManager.java:787)
   at com.jme3.input.InputManager.update(InputManager.java:851)
   at com.jme3.app.Application.update(Application.java:605)
   at com.jme3.app.SimpleApplication.update(SimpleApplication.java:233)
   at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:149)
   at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:182)
   at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:223)
   at java.lang.Thread.run(Unknown Source)

Memory usage:
Working memory: 62% (10416472/16547840)  VM Max: 2% (10416472/518979584)

Statistics:
  Vertices = 468
  Triangles = 234
  Uniforms = 110
  Objects = 58
  Shaders (S) = 15
  Shaders (F) = 6
  Shaders (M) = 6
  Textures (S) = 15
  Textures (F) = 12
  Textures (M) = 14
  FrameBuffers (S) = 5
  FrameBuffers (F) = 4
  FrameBuffers (M) = 4


Title: Re: Single Player starts, Multi-player doesn't
Post by: pspeed on March 25, 2014, 09:41:31 PM
I can play Single player fine, but when I click on Multi-player nothing happens. I then click Cntl/Alt/Del to back out of that screen and get Error: Connection timed out: Connect. Here is a typical error log:

Uncaught exception from thread:Thread[LWJGL Renderer Thread,5,main]
java.net.ConnectException: Connection timed out: connect


Sorry you are having trouble.  The error indicates that you did at least try to connect to something.  Perhaps you just forgot to mention that step.

Clicking "Multiplayer" doesn't actually initiate a connection.  You have to press the button on the next screen once the server parameters are entered.

So I'm going to guess for a second that you pressed multiplayer... which took you to the screen where you enter host and port.  Then I'm going to guess that you left the defaults there and tried to connect.

If all of that is true then it's probably just that my server is busted or something.  I've just reset the server just in case but it doesn't look like anyone has tried to connect in a while, though.


Title: Re: Single Player starts, Multi-player doesn't
Post by: Tamarie on March 25, 2014, 10:15:22 PM
Your guesses are correct; I did try to connect to your server. I actually have tried several days. And I did so again just now, with the same bad result.
But Single Player... nice! I've made myself a comfy house.


Title: Re: Single Player starts, Multi-player doesn't
Post by: pspeed on March 26, 2014, 12:23:29 AM
Your guesses are correct; I did try to connect to your server. I actually have tried several days. And I did so again just now, with the same bad result.
But Single Player... nice! I've made myself a comfy house.

Can you take a screen shot of what the host and port is saying?  It's troubling because it looks like no one has connected to my server in a very long time.  So I'm worried there is some more serious issue with my network setup.

You might also try seeing if you can hit this page:
http://mythruna.game-host.org/status/


Title: Re: Single Player starts, Multi-player doesn't
Post by: Sean on March 26, 2014, 01:40:14 PM
Just tested it out. When I pressed 'Connect' the game froze.

Here's a screenshot (http://i.imgur.com/z85ldMs.jpg)


Title: Re: Single Player starts, Multi-player doesn't
Post by: pspeed on March 26, 2014, 05:11:54 PM
Thanks for testing.  Does the web page link work that I posted above?


Title: Re: Single Player starts, Multi-player doesn't
Post by: Sean on March 26, 2014, 06:19:21 PM
Yep, the web page still works great.


Title: Re: Single Player starts, Multi-player doesn't
Post by: pspeed on March 26, 2014, 08:20:51 PM
Yep, the web page still works great.

Ok, that just means the port forwarding got screwed up.  I'll see if I can sort it out.


Title: Re: Single Player starts, Multi-player doesn't
Post by: Tamarie on March 27, 2014, 04:10:47 PM
Thanks.


Title: Re: Single Player starts, Multi-player doesn't
Post by: pspeed on March 27, 2014, 05:36:24 PM
I've fixed the port forwarding.  Hopefully it works now.

For some reason recently, part of my networking went offline for an extended period (problems with the house backbone or something) and the IP addresses all got remapped.


Title: Re: Single Player starts, Multi-player doesn't
Post by: Tamarie on March 28, 2014, 12:18:14 AM
Thanks so much for fixing what needed fixing. Zounds, I'm impressed! So much wild, weird, and wonderful has been built! And thank you, Sean, for giving pspeed the info he needed.
Tamarie


Title: Re: Single Player starts, Multi-player doesn't
Post by: Sean on March 28, 2014, 05:52:46 PM
No problem! Make sure to go far away from the spawn to have a good place to build!