0xE111 / cat-400

Game framework for nim programming language. Modular and extensible
Mozilla Public License 2.0
89 stars 5 forks source link

After executing sandbox, mouse is gone and no visuals got rendered. #3

Closed enthus1ast closed 4 years ago

enthus1ast commented 5 years ago

Expected behaviour:

The sandbox should show up and render its content.

Real behaviour:

Sandbox openes but mouse cursor is gone and no video output is rendered. When the (not visible) mouse pointer is over the sandbox window, console output is echoed.

Nim version: Nim Compiler Version 0.19.1 [Linux: amd64]

Framework version: current

enthus1ast commented 5 years ago

This was tested on 2 different devices: 1: 01:00.0 VGA compatible controller: NVIDIA Corporation GK104GLM [Quadro K3000M] (rev a1) 2: 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)

0xE111 commented 5 years ago

Thank you for your interest on this project. Actually it's still under development, and I haven't tested it on devices other than mine. But let's figure out what's wrong.

First of all, let me know log output. You may run sandbox with -l debug flag: nim c -r sandbox/sandbox.nim -l=debug or sandbox -l=debug Then you should find server.log and client.log near your executable. Pls share those files.

Also, have you installed horde3d and enet libraries?

enthus1ast commented 5 years ago

ok, when ./sandbox -l=debug i do see the the debug screen but the cursor is not visible when sandbox has focus (is this by intention maybe?; see screenshot, [this is not windows, but arch linux]) cat400

yes horde3d and enet are installed Logfiles:

[david@eb build]$ cat client.log 
[2018-10-27T15:09:08] client DEBUG: Version 0.1.1-168
[2018-10-27T15:09:08] client DEBUG: Starting process
[2018-10-27T15:09:08] client DEBUG: Initializing client
[2018-10-27T15:09:08] client DEBUG: Initializing input system
[2018-10-27T15:09:08] client DEBUG: Initializing SDL video system
[2018-10-27T15:09:08] client DEBUG: SDL video system initialized
[2018-10-27T15:09:08] client DEBUG: Initializing Horde3D 1.0.0
[2018-10-27T15:09:08] client DEBUG: Loading resources from /home/david/build/assets/video
[2018-10-27T15:09:08] client DEBUG: Adding light to the scene
[2018-10-27T15:09:08] client DEBUG: Horde3d initialized
[2018-10-27T15:09:08] client DEBUG: Loading custom video resources
[2018-10-27T15:09:08] client DEBUG: Loading resources from /home/david/build/assets/video
[david@eb build]$ cat server.log 
[2018-10-27T15:09:08] server DEBUG: Version 0.1.1-168
[2018-10-27T15:09:08] server DEBUG: Starting process
[2018-10-27T15:09:08] server DEBUG: Initializing server
[2018-10-27T15:09:08] server DEBUG: ODE initialized
[2018-10-27T15:09:08] server INFO: Server listening at localhost:11477
[2018-10-27T15:09:08] server DEBUG: Resetting scene
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32768, sender: ..., recipient: ...) (packed as "1 [ -32768, null, null ] ", len=7)
[2018-10-27T15:09:08] server DEBUG: Physics system: initializing component
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref SetPositionMessage(x: -1.5, y: 0.5, z: 10.0, entity: -32768, sender: ..., recipient: ...) (packed as "12 [ -1.5, 0.5, 10.0, -32768, null, null ] ", len=34)
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32767, sender: ..., recipient: ...) (packed as "1 [ -32767, null, null ] ", len=7)
[2018-10-27T15:09:08] server DEBUG: Physics system: initializing component
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref SetPositionMessage(x: -0.5, y: 0.5, z: 10.0, entity: -32767, sender: ..., recipient: ...) (packed as "12 [ -0.5, 0.5, 10.0, -32767, null, null ] ", len=34)
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32766, sender: ..., recipient: ...) (packed as "1 [ -32766, null, null ] ", len=7)
[2018-10-27T15:09:08] server DEBUG: Physics system: initializing component
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.5, y: 0.5, z: 10.0, entity: -32766, sender: ..., recipient: ...) (packed as "12 [ 0.5, 0.5, 10.0, -32766, null, null ] ", len=34)
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32765, sender: ..., recipient: ...) (packed as "1 [ -32765, null, null ] ", len=7)
[2018-10-27T15:09:08] server DEBUG: Physics system: initializing component
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref SetPositionMessage(x: 1.5, y: 0.5, z: 10.0, entity: -32765, sender: ..., recipient: ...) (packed as "12 [ 1.5, 0.5, 10.0, -32765, null, null ] ", len=34)
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32764, sender: ..., recipient: ...) (packed as "1 [ -32764, null, null ] ", len=7)
[2018-10-27T15:09:08] server DEBUG: Physics system: initializing component
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref SetPositionMessage(x: -1.0, y: 1.5, z: 10.0, entity: -32764, sender: ..., recipient: ...) (packed as "12 [ -1.0, 1.5, 10.0, -32764, null, null ] ", len=34)
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32763, sender: ..., recipient: ...) (packed as "1 [ -32763, null, null ] ", len=7)
[2018-10-27T15:09:08] server DEBUG: Physics system: initializing component
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.0, y: 1.5, z: 10.0, entity: -32763, sender: ..., recipient: ...) (packed as "12 [ 0.0, 1.5, 10.0, -32763, null, null ] ", len=34)
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32762, sender: ..., recipient: ...) (packed as "1 [ -32762, null, null ] ", len=7)
[2018-10-27T15:09:08] server DEBUG: Physics system: initializing component
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref SetPositionMessage(x: 1.0, y: 1.5, z: 10.0, entity: -32762, sender: ..., recipient: ...) (packed as "12 [ 1.0, 1.5, 10.0, -32762, null, null ] ", len=34)
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32761, sender: ..., recipient: ...) (packed as "1 [ -32761, null, null ] ", len=7)
[2018-10-27T15:09:08] server DEBUG: Physics system: initializing component
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref SetPositionMessage(x: -0.5, y: 2.5, z: 10.0, entity: -32761, sender: ..., recipient: ...) (packed as "12 [ -0.5, 2.5, 10.0, -32761, null, null ] ", len=34)
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32760, sender: ..., recipient: ...) (packed as "1 [ -32760, null, null ] ", len=7)
[2018-10-27T15:09:08] server DEBUG: Physics system: initializing component
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.5, y: 2.5, z: 10.0, entity: -32760, sender: ..., recipient: ...) (packed as "12 [ 0.5, 2.5, 10.0, -32760, null, null ] ", len=34)
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32759, sender: ..., recipient: ...) (packed as "1 [ -32759, null, null ] ", len=7)
[2018-10-27T15:09:08] server DEBUG: Physics system: initializing component
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.0, y: 3.5, z: 10.0, entity: -32759, sender: ..., recipient: ...) (packed as "12 [ 0.0, 3.5, 10.0, -32759, null, null ] ", len=34)
[2018-10-27T15:09:08] server DEBUG: Scene loaded
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref SetPositionMessage(x: -1.5, y: 0.5, z: 10.0, entity: -32768, sender: ..., recipient: ...) (packed as "12 [ -1.5, 0.5, 10.0, -32768, null, null ] ", len=34)
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref SetPositionMessage(x: -0.5, y: 0.5, z: 10.0, entity: -32767, sender: ..., recipient: ...) (packed as "12 [ -0.5, 0.5, 10.0, -32767, null, null ] ", len=34)
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.5, y: 0.5, z: 10.0, entity: -32766, sender: ..., recipient: ...) (packed as "12 [ 0.5, 0.5, 10.0, -32766, null, null ] ", len=34)
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref SetPositionMessage(x: 1.5, y: 0.5, z: 10.0, entity: -32765, sender: ..., recipient: ...) (packed as "12 [ 1.5, 0.5, 10.0, -32765, null, null ] ", len=34)
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref SetPositionMessage(x: -1.0, y: 1.5, z: 10.0, entity: -32764, sender: ..., recipient: ...) (packed as "12 [ -1.0, 1.5, 10.0, -32764, null, null ] ", len=34)
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.0, y: 1.5, z: 10.0, entity: -32763, sender: ..., recipient: ...) (packed as "12 [ 0.0, 1.5, 10.0, -32763, null, null ] ", len=34)
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref SetPositionMessage(x: 1.0, y: 1.5, z: 10.0, entity: -32762, sender: ..., recipient: ...) (packed as "12 [ 1.0, 1.5, 10.0, -32762, null, null ] ", len=34)
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref SetPositionMessage(x: -0.5, y: 2.5, z: 10.0, entity: -32761, sender: ..., recipient: ...) (packed as "12 [ -0.5, 2.5, 10.0, -32761, null, null ] ", len=34)
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.5, y: 2.5, z: 10.0, entity: -32760, sender: ..., recipient: ...) (packed as "12 [ 0.5, 2.5, 10.0, -32760, null, null ] ", len=34)
[2018-10-27T15:09:08] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.0, y: 3.5, z: 10.0, entity: -32759, sender: ..., recipient: ...) (packed as "12 [ 0.0, 3.5, 10.0, -32759, null, null ] ", len=34)
0xE111 commented 5 years ago

Great that you use arch linux too!

It all seems to work fine. Actually mouse cursor hides when sandbox window is active. It's intentional.

As there's no errors in logs, I believe everything is fine. Now your client (that black window) must connect to the server. Press c to do that. Currently the scene contains only falling cubes, and when you connect they should already have fallen very low. Press r to reset the scene. You may also press q to disconnect from server.

Pls report your success.

enthus1ast commented 5 years ago

i just see that it loads horde3d v1.0.0, but i have build the freshest horde3d already, maybe i screwed its installation.... which version do you use? (edit: did you build your horde with the "legacy" glx driver? cmake reference it with CMP00072) (edit2: but still no video output) Pressing c did echo something, but pressing c a few times did crash it:

[david@eb build]$ ./sandbox -l=debug
[2018-10-27T15:29:50] multi DEBUG: Version 0.1.1-168
[2018-10-27T15:29:50] server DEBUG: Version 0.1.1-168
[2018-10-27T15:29:50] server DEBUG: Starting process
[2018-10-27T15:29:50] server DEBUG: Initializing server
[2018-10-27T15:29:50] server DEBUG: ODE initialized
[2018-10-27T15:29:50] client DEBUG: Version 0.1.1-168
[2018-10-27T15:29:50] client DEBUG: Starting process
[2018-10-27T15:29:50] server INFO: Server listening at localhost:11477
[2018-10-27T15:29:50] client DEBUG: Initializing client
[2018-10-27T15:29:50] server DEBUG: Resetting scene
[2018-10-27T15:29:50] client DEBUG: Initializing input system
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32768, sender: ..., recipient: ...) (packed as "1 [ -32768, null, null ] ", len=7)
[2018-10-27T15:29:50] server DEBUG: Physics system: initializing component
[2018-10-27T15:29:50] client DEBUG: Initializing SDL video system
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref SetPositionMessage(x: -1.5, y: 0.5, z: 10.0, entity: -32768, sender: ..., recipient: ...) (packed as "12 [ -1.5, 0.5, 10.0, -32768, null, null ] ", len=34)
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32767, sender: ..., recipient: ...) (packed as "1 [ -32767, null, null ] ", len=7)
[2018-10-27T15:29:50] server DEBUG: Physics system: initializing component
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref SetPositionMessage(x: -0.5, y: 0.5, z: 10.0, entity: -32767, sender: ..., recipient: ...) (packed as "12 [ -0.5, 0.5, 10.0, -32767, null, null ] ", len=34)
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32766, sender: ..., recipient: ...) (packed as "1 [ -32766, null, null ] ", len=7)
[2018-10-27T15:29:50] server DEBUG: Physics system: initializing component
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.5, y: 0.5, z: 10.0, entity: -32766, sender: ..., recipient: ...) (packed as "12 [ 0.5, 0.5, 10.0, -32766, null, null ] ", len=34)
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32765, sender: ..., recipient: ...) (packed as "1 [ -32765, null, null ] ", len=7)
[2018-10-27T15:29:50] server DEBUG: Physics system: initializing component
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref SetPositionMessage(x: 1.5, y: 0.5, z: 10.0, entity: -32765, sender: ..., recipient: ...) (packed as "12 [ 1.5, 0.5, 10.0, -32765, null, null ] ", len=34)
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32764, sender: ..., recipient: ...) (packed as "1 [ -32764, null, null ] ", len=7)
[2018-10-27T15:29:50] server DEBUG: Physics system: initializing component
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref SetPositionMessage(x: -1.0, y: 1.5, z: 10.0, entity: -32764, sender: ..., recipient: ...) (packed as "12 [ -1.0, 1.5, 10.0, -32764, null, null ] ", len=34)
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32763, sender: ..., recipient: ...) (packed as "1 [ -32763, null, null ] ", len=7)
[2018-10-27T15:29:50] server DEBUG: Physics system: initializing component
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.0, y: 1.5, z: 10.0, entity: -32763, sender: ..., recipient: ...) (packed as "12 [ 0.0, 1.5, 10.0, -32763, null, null ] ", len=34)
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32762, sender: ..., recipient: ...) (packed as "1 [ -32762, null, null ] ", len=7)
[2018-10-27T15:29:50] server DEBUG: Physics system: initializing component
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref SetPositionMessage(x: 1.0, y: 1.5, z: 10.0, entity: -32762, sender: ..., recipient: ...) (packed as "12 [ 1.0, 1.5, 10.0, -32762, null, null ] ", len=34)
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32761, sender: ..., recipient: ...) (packed as "1 [ -32761, null, null ] ", len=7)
[2018-10-27T15:29:50] server DEBUG: Physics system: initializing component
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref SetPositionMessage(x: -0.5, y: 2.5, z: 10.0, entity: -32761, sender: ..., recipient: ...) (packed as "12 [ -0.5, 2.5, 10.0, -32761, null, null ] ", len=34)
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32760, sender: ..., recipient: ...) (packed as "1 [ -32760, null, null ] ", len=7)
[2018-10-27T15:29:50] server DEBUG: Physics system: initializing component
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.5, y: 2.5, z: 10.0, entity: -32760, sender: ..., recipient: ...) (packed as "12 [ 0.5, 2.5, 10.0, -32760, null, null ] ", len=34)
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32759, sender: ..., recipient: ...) (packed as "1 [ -32759, null, null ] ", len=7)
[2018-10-27T15:29:50] server DEBUG: Physics system: initializing component
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.0, y: 3.5, z: 10.0, entity: -32759, sender: ..., recipient: ...) (packed as "12 [ 0.0, 3.5, 10.0, -32759, null, null ] ", len=34)
[2018-10-27T15:29:50] server DEBUG: Scene loaded
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref SetPositionMessage(x: -1.5, y: 0.5, z: 10.0, entity: -32768, sender: ..., recipient: ...) (packed as "12 [ -1.5, 0.5, 10.0, -32768, null, null ] ", len=34)
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref SetPositionMessage(x: -0.5, y: 0.5, z: 10.0, entity: -32767, sender: ..., recipient: ...) (packed as "12 [ -0.5, 0.5, 10.0, -32767, null, null ] ", len=34)
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.5, y: 0.5, z: 10.0, entity: -32766, sender: ..., recipient: ...) (packed as "12 [ 0.5, 0.5, 10.0, -32766, null, null ] ", len=34)
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref SetPositionMessage(x: 1.5, y: 0.5, z: 10.0, entity: -32765, sender: ..., recipient: ...) (packed as "12 [ 1.5, 0.5, 10.0, -32765, null, null ] ", len=34)
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref SetPositionMessage(x: -1.0, y: 1.5, z: 10.0, entity: -32764, sender: ..., recipient: ...) (packed as "12 [ -1.0, 1.5, 10.0, -32764, null, null ] ", len=34)
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.0, y: 1.5, z: 10.0, entity: -32763, sender: ..., recipient: ...) (packed as "12 [ 0.0, 1.5, 10.0, -32763, null, null ] ", len=34)
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref SetPositionMessage(x: 1.0, y: 1.5, z: 10.0, entity: -32762, sender: ..., recipient: ...) (packed as "12 [ 1.0, 1.5, 10.0, -32762, null, null ] ", len=34)
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref SetPositionMessage(x: -0.5, y: 2.5, z: 10.0, entity: -32761, sender: ..., recipient: ...) (packed as "12 [ -0.5, 2.5, 10.0, -32761, null, null ] ", len=34)
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.5, y: 2.5, z: 10.0, entity: -32760, sender: ..., recipient: ...) (packed as "12 [ 0.5, 2.5, 10.0, -32760, null, null ] ", len=34)
[2018-10-27T15:29:50] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.0, y: 3.5, z: 10.0, entity: -32759, sender: ..., recipient: ...) (packed as "12 [ 0.0, 3.5, 10.0, -32759, null, null ] ", len=34)
[2018-10-27T15:29:50] client DEBUG: SDL video system initialized
[2018-10-27T15:29:50] client DEBUG: Initializing Horde3D 1.0.0
[h3d] Initializing GL4 backend using OpenGL driver '4.6.0 NVIDIA 410.66' by 'NVIDIA Corporation' on 'Quadro K3000M/PCIe/SSE2'
[2018-10-27T15:29:50] client DEBUG: Loading resources from /home/david/build/assets/video
[h3d] Loading resource 'pipelines/forward.pipeline.xml'
[h3d] Loading resource 'overlays/font.material.xml'
[h3d] Loading resource 'overlays/panel.material.xml'
[h3d] Loading resource 'pipelines/globalSettings.material.xml'
[h3d] Loading resource 'shaders/overlay.shader'
[h3d] ---- C O M P I L I N G  . S H A D E R . shaders/overlay.shader@OVERLAY[0] ----
[h3d] Loading resource 'overlays/font.tga'
[h3d] Loading resource 'textures/common/white.tga'
[h3d] Loading resource 'textures/ambientMap.dds'
[2018-10-27T15:29:50] client DEBUG: Adding light to the scene
[2018-10-27T15:29:50] client DEBUG: Horde3d initialized
[2018-10-27T15:29:50] client DEBUG: Loading custom video resources
[2018-10-27T15:29:50] client DEBUG: Loading resources from /home/david/build/assets/video
[h3d] Loading resource 'models/cube/cube.scene.xml'
[h3d] Loading resource 'models/skybox/skybox.scene.xml'
[h3d] Loading resource 'models/cube/cube.geo'
[h3d] Loading resource 'models/cube/Material.material.xml'
[h3d] Loading resource 'models/skybox/skybox.geo'
[h3d] Loading resource 'models/skybox/skybox.material.xml'
[h3d] Loading resource 'shaders/model.shader'
[h3d] Loading resource 'shaders/skybox.shader'
[h3d] Loading resource 'models/skybox/skybox.dds'
[h3d] Loading resource 'textures/common/defnorm.tga'
[h3d] Loading resource 'shaders/utilityLib/vertCommon.glsl'
[h3d] ---- C O M P I L I N G  . S H A D E R . shaders/skybox.shader@AMBIENT[0] ----
[h3d] Loading resource 'shaders/utilityLib/vertSkinningGL4.glsl'
[h3d] ---- C O M P I L I N G  . S H A D E R . shaders/model.shader@SHADOWMAP[0] ----
[h3d] Loading resource 'shaders/utilityLib/fragDeferredWriteGL4.glsl'
[h3d] ---- C O M P I L I N G  . S H A D E R . shaders/model.shader@ATTRIBPASS[0] ----
[h3d] ---- C O M P I L I N G  . S H A D E R . shaders/skybox.shader@ATTRIBPASS[0] ----
[h3d] Loading resource 'shaders/utilityLib/fragLightingGL4.glsl'
[h3d] ---- C O M P I L I N G  . S H A D E R . shaders/model.shader@LIGHTING[0] ----
[h3d] ---- C O M P I L I N G  . S H A D E R . shaders/model.shader@AMBIENT[0] ----
[2018-10-27T15:29:53] client DEBUG: Sending ref ConnectMessage(address: localhost:11477, sender: ..., recipient: ...)
[2018-10-27T15:29:53] client DEBUG: Connecting to localhost:11477
[2018-10-27T15:29:53] client DEBUG: --- Connection established: 127.0.0.1:11477
[2018-10-27T15:29:53] client DEBUG: Current # of connections: 1
[2018-10-27T15:29:53] server DEBUG: --- Connection established: 127.0.0.1:47955
[2018-10-27T15:29:53] server DEBUG: Current # of connections: 1
[2018-10-27T15:29:56] client DEBUG: Sending ref ConnectMessage(address: localhost:11477, sender: ..., recipient: ...)
[2018-10-27T15:29:56] client DEBUG: -x- Connection closed: 127.0.0.1:11477
[2018-10-27T15:29:56] server DEBUG: -x- Connection closed: 127.0.0.1:47955
[2018-10-27T15:29:57] client DEBUG: Connecting to localhost:11477
[2018-10-27T15:29:57] client DEBUG: --- Connection established: 127.0.0.1:11477
[2018-10-27T15:29:57] client DEBUG: Current # of connections: 1
[2018-10-27T15:29:57] server DEBUG: --- Connection established: 127.0.0.1:47955
[2018-10-27T15:29:57] server DEBUG: Current # of connections: 1
[2018-10-27T15:29:59] client DEBUG: Sending ref ConnectMessage(address: localhost:11477, sender: ..., recipient: ...)
[2018-10-27T15:29:59] server DEBUG: -x- Connection closed: 127.0.0.1:47955
[2018-10-27T15:29:59] client DEBUG: -x- Connection closed: 127.0.0.1:11477
[2018-10-27T15:30:00] client DEBUG: Connecting to localhost:11477
[2018-10-27T15:30:00] client DEBUG: Sending ref ConnectMessage(address: localhost:11477, sender: ..., recipient: ...)
[2018-10-27T15:30:00] client DEBUG: Connecting to localhost:11477
[2018-10-27T15:30:00] client DEBUG: --- Connection established: 127.0.0.1:11477
[2018-10-27T15:30:00] client DEBUG: Current # of connections: 1
[2018-10-27T15:30:00] client DEBUG: -x- Closing existing connection: 127.0.0.1:11477
[2018-10-27T15:30:00] server DEBUG: --- Connection established: 127.0.0.1:47955
[2018-10-27T15:30:00] server DEBUG: Current # of connections: 1
[2018-10-27T15:30:00] server DEBUG: -x- Closing existing connection: 127.0.0.1:47955
[2018-10-27T15:30:00] server DEBUG: -x- Connection closed: 127.0.0.1:47955
[2018-10-27T15:30:00] client DEBUG: -x- Connection closed: 127.0.0.1:11477
[2018-10-27T15:30:01] server FATAL: Exception: key not found
sandbox.nim(22)          sandbox
core.nim(90)             run
app.nim(47)              run
loop.nim(30)             runLoop
app.nim(50)              :anonymous
systems.nim(27)          update
enet.nim(246)            update
enet.nim(148)            handle
enet.nim(170)            handle
tables.nim(167)          []
[2018-10-27T15:30:01] client FATAL: Exception: key not found
sandbox.nim(22)          sandbox
core.nim(90)             run
app.nim(56)              run
loop.nim(30)             runLoop
app.nim(59)              :anonymous
systems.nim(27)          update
enet.nim(246)            update
enet.nim(148)            handle
enet.nim(170)            handle
tables.nim(167)          []

sandbox.nim(22)          sandbox
core.nim(90)             run
app.nim(56)              run
loop.nim(30)             runLoop
app.nim(59)              :anonymous
systems.nim(27)          update
enet.nim(246)            update
enet.nim(148)            handle
enet.nim(170)            handle
tables.nim(167)          []
Error: unhandled exception: key not found [KeyError]
sandbox.nim(22)          sandbox
core.nim(90)             run
app.nim(47)              run
loop.nim(30)             runLoop
app.nim(50)              :anonymous
systems.nim(27)          update
enet.nim(246)            update
enet.nim(148)            handle
enet.nim(170)            handle
tables.nim(167)          []
Error: unhandled exception: key not found [KeyError]
[2018-10-27T15:30:02] multi DEBUG: Client or server not running -> shutting down
[david@eb build]$ 

Pressing c then r crashed it in another way:

[david@eb build]$ ./sandbox -l=debug
[2018-10-27T15:33:59] multi DEBUG: Version 0.1.1-168
[2018-10-27T15:33:59] server DEBUG: Version 0.1.1-168
[2018-10-27T15:33:59] server DEBUG: Starting process
[2018-10-27T15:33:59] server DEBUG: Initializing server
[2018-10-27T15:33:59] server DEBUG: ODE initialized
[2018-10-27T15:33:59] server INFO: Server listening at localhost:11477
[2018-10-27T15:33:59] client DEBUG: Version 0.1.1-168
[2018-10-27T15:33:59] server DEBUG: Resetting scene
[2018-10-27T15:33:59] client DEBUG: Starting process
[2018-10-27T15:33:59] client DEBUG: Initializing client
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32768, sender: ..., recipient: ...) (packed as "1 [ -32768, null, null ] ", len=7)
[2018-10-27T15:33:59] client DEBUG: Initializing input system
[2018-10-27T15:33:59] server DEBUG: Physics system: initializing component
[2018-10-27T15:33:59] client DEBUG: Initializing SDL video system
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref SetPositionMessage(x: -1.5, y: 0.5, z: 10.0, entity: -32768, sender: ..., recipient: ...) (packed as "12 [ -1.5, 0.5, 10.0, -32768, null, null ] ", len=34)
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32767, sender: ..., recipient: ...) (packed as "1 [ -32767, null, null ] ", len=7)
[2018-10-27T15:33:59] server DEBUG: Physics system: initializing component
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref SetPositionMessage(x: -0.5, y: 0.5, z: 10.0, entity: -32767, sender: ..., recipient: ...) (packed as "12 [ -0.5, 0.5, 10.0, -32767, null, null ] ", len=34)
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32766, sender: ..., recipient: ...) (packed as "1 [ -32766, null, null ] ", len=7)
[2018-10-27T15:33:59] server DEBUG: Physics system: initializing component
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.5, y: 0.5, z: 10.0, entity: -32766, sender: ..., recipient: ...) (packed as "12 [ 0.5, 0.5, 10.0, -32766, null, null ] ", len=34)
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32765, sender: ..., recipient: ...) (packed as "1 [ -32765, null, null ] ", len=7)
[2018-10-27T15:33:59] server DEBUG: Physics system: initializing component
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref SetPositionMessage(x: 1.5, y: 0.5, z: 10.0, entity: -32765, sender: ..., recipient: ...) (packed as "12 [ 1.5, 0.5, 10.0, -32765, null, null ] ", len=34)
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32764, sender: ..., recipient: ...) (packed as "1 [ -32764, null, null ] ", len=7)
[2018-10-27T15:33:59] server DEBUG: Physics system: initializing component
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref SetPositionMessage(x: -1.0, y: 1.5, z: 10.0, entity: -32764, sender: ..., recipient: ...) (packed as "12 [ -1.0, 1.5, 10.0, -32764, null, null ] ", len=34)
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32763, sender: ..., recipient: ...) (packed as "1 [ -32763, null, null ] ", len=7)
[2018-10-27T15:33:59] server DEBUG: Physics system: initializing component
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.0, y: 1.5, z: 10.0, entity: -32763, sender: ..., recipient: ...) (packed as "12 [ 0.0, 1.5, 10.0, -32763, null, null ] ", len=34)
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32762, sender: ..., recipient: ...) (packed as "1 [ -32762, null, null ] ", len=7)
[2018-10-27T15:33:59] server DEBUG: Physics system: initializing component
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref SetPositionMessage(x: 1.0, y: 1.5, z: 10.0, entity: -32762, sender: ..., recipient: ...) (packed as "12 [ 1.0, 1.5, 10.0, -32762, null, null ] ", len=34)
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32761, sender: ..., recipient: ...) (packed as "1 [ -32761, null, null ] ", len=7)
[2018-10-27T15:33:59] server DEBUG: Physics system: initializing component
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref SetPositionMessage(x: -0.5, y: 2.5, z: 10.0, entity: -32761, sender: ..., recipient: ...) (packed as "12 [ -0.5, 2.5, 10.0, -32761, null, null ] ", len=34)
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32760, sender: ..., recipient: ...) (packed as "1 [ -32760, null, null ] ", len=7)
[2018-10-27T15:33:59] server DEBUG: Physics system: initializing component
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.5, y: 2.5, z: 10.0, entity: -32760, sender: ..., recipient: ...) (packed as "12 [ 0.5, 2.5, 10.0, -32760, null, null ] ", len=34)
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32759, sender: ..., recipient: ...) (packed as "1 [ -32759, null, null ] ", len=7)
[2018-10-27T15:33:59] server DEBUG: Physics system: initializing component
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.0, y: 3.5, z: 10.0, entity: -32759, sender: ..., recipient: ...) (packed as "12 [ 0.0, 3.5, 10.0, -32759, null, null ] ", len=34)
[2018-10-27T15:33:59] server DEBUG: Scene loaded
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref SetPositionMessage(x: -1.5, y: 0.5, z: 10.0, entity: -32768, sender: ..., recipient: ...) (packed as "12 [ -1.5, 0.5, 10.0, -32768, null, null ] ", len=34)
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref SetPositionMessage(x: -0.5, y: 0.5, z: 10.0, entity: -32767, sender: ..., recipient: ...) (packed as "12 [ -0.5, 0.5, 10.0, -32767, null, null ] ", len=34)
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.5, y: 0.5, z: 10.0, entity: -32766, sender: ..., recipient: ...) (packed as "12 [ 0.5, 0.5, 10.0, -32766, null, null ] ", len=34)
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref SetPositionMessage(x: 1.5, y: 0.5, z: 10.0, entity: -32765, sender: ..., recipient: ...) (packed as "12 [ 1.5, 0.5, 10.0, -32765, null, null ] ", len=34)
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref SetPositionMessage(x: -1.0, y: 1.5, z: 10.0, entity: -32764, sender: ..., recipient: ...) (packed as "12 [ -1.0, 1.5, 10.0, -32764, null, null ] ", len=34)
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.0, y: 1.5, z: 10.0, entity: -32763, sender: ..., recipient: ...) (packed as "12 [ 0.0, 1.5, 10.0, -32763, null, null ] ", len=34)
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref SetPositionMessage(x: 1.0, y: 1.5, z: 10.0, entity: -32762, sender: ..., recipient: ...) (packed as "12 [ 1.0, 1.5, 10.0, -32762, null, null ] ", len=34)
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref SetPositionMessage(x: -0.5, y: 2.5, z: 10.0, entity: -32761, sender: ..., recipient: ...) (packed as "12 [ -0.5, 2.5, 10.0, -32761, null, null ] ", len=34)
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.5, y: 2.5, z: 10.0, entity: -32760, sender: ..., recipient: ...) (packed as "12 [ 0.5, 2.5, 10.0, -32760, null, null ] ", len=34)
[2018-10-27T15:33:59] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.0, y: 3.5, z: 10.0, entity: -32759, sender: ..., recipient: ...) (packed as "12 [ 0.0, 3.5, 10.0, -32759, null, null ] ", len=34)
[2018-10-27T15:33:59] client DEBUG: SDL video system initialized
[2018-10-27T15:33:59] client DEBUG: Initializing Horde3D 1.0.0
[h3d] Initializing GL4 backend using OpenGL driver '4.6.0 NVIDIA 410.66' by 'NVIDIA Corporation' on 'Quadro K3000M/PCIe/SSE2'
[2018-10-27T15:33:59] client DEBUG: Loading resources from /home/david/build/assets/video
[h3d] Loading resource 'pipelines/forward.pipeline.xml'
[h3d] Loading resource 'overlays/font.material.xml'
[h3d] Loading resource 'overlays/panel.material.xml'
[h3d] Loading resource 'pipelines/globalSettings.material.xml'
[h3d] Loading resource 'shaders/overlay.shader'
[h3d] ---- C O M P I L I N G  . S H A D E R . shaders/overlay.shader@OVERLAY[0] ----
[h3d] Loading resource 'overlays/font.tga'
[h3d] Loading resource 'textures/common/white.tga'
[h3d] Loading resource 'textures/ambientMap.dds'
[2018-10-27T15:33:59] client DEBUG: Adding light to the scene
[2018-10-27T15:33:59] client DEBUG: Horde3d initialized
[2018-10-27T15:33:59] client DEBUG: Loading custom video resources
[2018-10-27T15:33:59] client DEBUG: Loading resources from /home/david/build/assets/video
[h3d] Loading resource 'models/cube/cube.scene.xml'
[h3d] Loading resource 'models/skybox/skybox.scene.xml'
[h3d] Loading resource 'models/cube/cube.geo'
[h3d] Loading resource 'models/cube/Material.material.xml'
[h3d] Loading resource 'models/skybox/skybox.geo'
[h3d] Loading resource 'models/skybox/skybox.material.xml'
[h3d] Loading resource 'shaders/model.shader'
[h3d] Loading resource 'shaders/skybox.shader'
[h3d] Loading resource 'models/skybox/skybox.dds'
[h3d] Loading resource 'textures/common/defnorm.tga'
[h3d] Loading resource 'shaders/utilityLib/vertCommon.glsl'
[h3d] ---- C O M P I L I N G  . S H A D E R . shaders/skybox.shader@AMBIENT[0] ----
[h3d] Loading resource 'shaders/utilityLib/vertSkinningGL4.glsl'
[h3d] ---- C O M P I L I N G  . S H A D E R . shaders/model.shader@SHADOWMAP[0] ----
[h3d] Loading resource 'shaders/utilityLib/fragDeferredWriteGL4.glsl'
[h3d] ---- C O M P I L I N G  . S H A D E R . shaders/model.shader@ATTRIBPASS[0] ----
[h3d] ---- C O M P I L I N G  . S H A D E R . shaders/skybox.shader@ATTRIBPASS[0] ----
[h3d] Loading resource 'shaders/utilityLib/fragLightingGL4.glsl'
[h3d] ---- C O M P I L I N G  . S H A D E R . shaders/model.shader@LIGHTING[0] ----
[h3d] ---- C O M P I L I N G  . S H A D E R . shaders/model.shader@AMBIENT[0] ----
[2018-10-27T15:34:00] client DEBUG: Sending ref ConnectMessage(address: localhost:11477, sender: ..., recipient: ...)
[2018-10-27T15:34:00] client DEBUG: Connecting to localhost:11477
[2018-10-27T15:34:00] client DEBUG: --- Connection established: 127.0.0.1:11477
[2018-10-27T15:34:00] client DEBUG: Current # of connections: 1
[2018-10-27T15:34:00] server DEBUG: --- Connection established: 127.0.0.1:39051
[2018-10-27T15:34:00] server DEBUG: Current # of connections: 1
[2018-10-27T15:34:01] client DEBUG: Sending reset scene message
[2018-10-27T15:34:01] client DEBUG: --> Network: sending ref ResetSceneMessage(sender: ...recipient: ...) (packed as "14 [ null, null ] ", len=4)
[2018-10-27T15:34:02] server DEBUG: <-- Received ref ResetSceneMessage(sender: ...recipient: ...) from peer 140480803246152
[2018-10-27T15:34:02] server DEBUG: Resetting scene
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref DeleteEntityMessage(entity: -32768, sender: ..., recipient: ...) (packed as "2 [ -32768, null, null ] ", len=7)
[2018-10-27T15:34:02] server DEBUG: Physics system: destroying component
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref DeleteEntityMessage(entity: -32767, sender: ..., recipient: ...) (packed as "2 [ -32767, null, null ] ", len=7)
[2018-10-27T15:34:02] server DEBUG: Physics system: destroying component
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref DeleteEntityMessage(entity: -32766, sender: ..., recipient: ...) (packed as "2 [ -32766, null, null ] ", len=7)
[2018-10-27T15:34:02] server DEBUG: Physics system: destroying component
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref DeleteEntityMessage(entity: -32765, sender: ..., recipient: ...) (packed as "2 [ -32765, null, null ] ", len=7)
[2018-10-27T15:34:02] server DEBUG: Physics system: destroying component
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref DeleteEntityMessage(entity: -32764, sender: ..., recipient: ...) (packed as "2 [ -32764, null, null ] ", len=7)
[2018-10-27T15:34:02] server DEBUG: Physics system: destroying component
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref DeleteEntityMessage(entity: -32763, sender: ..., recipient: ...) (packed as "2 [ -32763, null, null ] ", len=7)
[2018-10-27T15:34:02] server DEBUG: Physics system: destroying component
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref DeleteEntityMessage(entity: -32762, sender: ..., recipient: ...) (packed as "2 [ -32762, null, null ] ", len=7)
[2018-10-27T15:34:02] server DEBUG: Physics system: destroying component
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref DeleteEntityMessage(entity: -32761, sender: ..., recipient: ...) (packed as "2 [ -32761, null, null ] ", len=7)
[2018-10-27T15:34:02] server DEBUG: Physics system: destroying component
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref DeleteEntityMessage(entity: -32760, sender: ..., recipient: ...) (packed as "2 [ -32760, null, null ] ", len=7)
[2018-10-27T15:34:02] server DEBUG: Physics system: destroying component
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref DeleteEntityMessage(entity: -32759, sender: ..., recipient: ...) (packed as "2 [ -32759, null, null ] ", len=7)
[2018-10-27T15:34:02] server DEBUG: Physics system: destroying component
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32768, sender: ..., recipient: ...) (packed as "1 [ -32768, null, null ] ", len=7)
[2018-10-27T15:34:02] server DEBUG: Physics system: initializing component
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref SetPositionMessage(x: -1.5, y: 0.5, z: 10.0, entity: -32768, sender: ..., recipient: ...) (packed as "12 [ -1.5, 0.5, 10.0, -32768, null, null ] ", len=34)
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32767, sender: ..., recipient: ...) (packed as "1 [ -32767, null, null ] ", len=7)
[2018-10-27T15:34:02] server DEBUG: Physics system: initializing component
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref SetPositionMessage(x: -0.5, y: 0.5, z: 10.0, entity: -32767, sender: ..., recipient: ...) (packed as "12 [ -0.5, 0.5, 10.0, -32767, null, null ] ", len=34)
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32766, sender: ..., recipient: ...) (packed as "1 [ -32766, null, null ] ", len=7)
[2018-10-27T15:34:02] server DEBUG: Physics system: initializing component
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.5, y: 0.5, z: 10.0, entity: -32766, sender: ..., recipient: ...) (packed as "12 [ 0.5, 0.5, 10.0, -32766, null, null ] ", len=34)
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32765, sender: ..., recipient: ...) (packed as "1 [ -32765, null, null ] ", len=7)
[2018-10-27T15:34:02] server DEBUG: Physics system: initializing component
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref SetPositionMessage(x: 1.5, y: 0.5, z: 10.0, entity: -32765, sender: ..., recipient: ...) (packed as "12 [ 1.5, 0.5, 10.0, -32765, null, null ] ", len=34)
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32764, sender: ..., recipient: ...) (packed as "1 [ -32764, null, null ] ", len=7)
[2018-10-27T15:34:02] server DEBUG: Physics system: initializing component
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref SetPositionMessage(x: -1.0, y: 1.5, z: 10.0, entity: -32764, sender: ..., recipient: ...) (packed as "12 [ -1.0, 1.5, 10.0, -32764, null, null ] ", len=34)
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32763, sender: ..., recipient: ...) (packed as "1 [ -32763, null, null ] ", len=7)
[2018-10-27T15:34:02] server DEBUG: Physics system: initializing component
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.0, y: 1.5, z: 10.0, entity: -32763, sender: ..., recipient: ...) (packed as "12 [ 0.0, 1.5, 10.0, -32763, null, null ] ", len=34)
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32762, sender: ..., recipient: ...) (packed as "1 [ -32762, null, null ] ", len=7)
[2018-10-27T15:34:02] server DEBUG: Physics system: initializing component
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref SetPositionMessage(x: 1.0, y: 1.5, z: 10.0, entity: -32762, sender: ..., recipient: ...) (packed as "12 [ 1.0, 1.5, 10.0, -32762, null, null ] ", len=34)
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32761, sender: ..., recipient: ...) (packed as "1 [ -32761, null, null ] ", len=7)
[2018-10-27T15:34:02] server DEBUG: Physics system: initializing component
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref SetPositionMessage(x: -0.5, y: 2.5, z: 10.0, entity: -32761, sender: ..., recipient: ...) (packed as "12 [ -0.5, 2.5, 10.0, -32761, null, null ] ", len=34)
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32760, sender: ..., recipient: ...) (packed as "1 [ -32760, null, null ] ", len=7)
[2018-10-27T15:34:02] server DEBUG: Physics system: initializing component
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.5, y: 2.5, z: 10.0, entity: -32760, sender: ..., recipient: ...) (packed as "12 [ 0.5, 2.5, 10.0, -32760, null, null ] ", len=34)
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref CreateEntityMessage(entity: -32759, sender: ..., recipient: ...) (packed as "1 [ -32759, null, null ] ", len=7)
[2018-10-27T15:34:02] server DEBUG: Physics system: initializing component
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.0, y: 3.5, z: 10.0, entity: -32759, sender: ..., recipient: ...) (packed as "12 [ 0.0, 3.5, 10.0, -32759, null, null ] ", len=34)
[2018-10-27T15:34:02] server DEBUG: Scene loaded
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref SetPositionMessage(x: -1.5, y: 0.5, z: 10.0, entity: -32768, sender: ..., recipient: ...) (packed as "12 [ -1.5, 0.5, 10.0, -32768, null, null ] ", len=34)
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref SetPositionMessage(x: -0.5, y: 0.5, z: 10.0, entity: -32767, sender: ..., recipient: ...) (packed as "12 [ -0.5, 0.5, 10.0, -32767, null, null ] ", len=34)
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.5, y: 0.5, z: 10.0, entity: -32766, sender: ..., recipient: ...) (packed as "12 [ 0.5, 0.5, 10.0, -32766, null, null ] ", len=34)
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref SetPositionMessage(x: 1.5, y: 0.5, z: 10.0, entity: -32765, sender: ..., recipient: ...) (packed as "12 [ 1.5, 0.5, 10.0, -32765, null, null ] ", len=34)
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref SetPositionMessage(x: -1.0, y: 1.5, z: 10.0, entity: -32764, sender: ..., recipient: ...) (packed as "12 [ -1.0, 1.5, 10.0, -32764, null, null ] ", len=34)
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.0, y: 1.5, z: 10.0, entity: -32763, sender: ..., recipient: ...) (packed as "12 [ 0.0, 1.5, 10.0, -32763, null, null ] ", len=34)
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref SetPositionMessage(x: 1.0, y: 1.5, z: 10.0, entity: -32762, sender: ..., recipient: ...) (packed as "12 [ 1.0, 1.5, 10.0, -32762, null, null ] ", len=34)
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref SetPositionMessage(x: -0.5, y: 2.5, z: 10.0, entity: -32761, sender: ..., recipient: ...) (packed as "12 [ -0.5, 2.5, 10.0, -32761, null, null ] ", len=34)
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.5, y: 2.5, z: 10.0, entity: -32760, sender: ..., recipient: ...) (packed as "12 [ 0.5, 2.5, 10.0, -32760, null, null ] ", len=34)
[2018-10-27T15:34:02] server DEBUG: --> Network: sending ref SetPositionMessage(x: 0.0, y: 3.5, z: 10.0, entity: -32759, sender: ..., recipient: ...) (packed as "12 [ 0.0, 3.5, 10.0, -32759, null, null ] ", len=34)
[2018-10-27T15:34:02] client DEBUG: <-- Received ref DeleteEntityMessage(entity: -32768, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client DEBUG: <-- Received ref DeleteEntityMessage(entity: -32767, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client DEBUG: <-- Received ref DeleteEntityMessage(entity: -32766, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client DEBUG: <-- Received ref DeleteEntityMessage(entity: -32765, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client DEBUG: <-- Received ref DeleteEntityMessage(entity: -32764, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client DEBUG: <-- Received ref DeleteEntityMessage(entity: -32763, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client DEBUG: <-- Received ref DeleteEntityMessage(entity: -32762, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client DEBUG: <-- Received ref DeleteEntityMessage(entity: -32761, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client DEBUG: <-- Received ref DeleteEntityMessage(entity: -32760, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client DEBUG: <-- Received ref DeleteEntityMessage(entity: -32759, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client DEBUG: <-- Received ref CreateEntityMessage(entity: -32768, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client DEBUG: <-- Received ref SetPositionMessage(x: -1.5, y: 0.5, z: 10.0, entity: -32768, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client DEBUG: <-- Received ref CreateEntityMessage(entity: -32767, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client DEBUG: <-- Received ref SetPositionMessage(x: -0.5, y: 0.5, z: 10.0, entity: -32767, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client DEBUG: <-- Received ref CreateEntityMessage(entity: -32766, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client DEBUG: <-- Received ref SetPositionMessage(x: 0.5, y: 0.5, z: 10.0, entity: -32766, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client DEBUG: <-- Received ref CreateEntityMessage(entity: -32765, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client DEBUG: <-- Received ref SetPositionMessage(x: 1.5, y: 0.5, z: 10.0, entity: -32765, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client DEBUG: <-- Received ref CreateEntityMessage(entity: -32764, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client DEBUG: <-- Received ref SetPositionMessage(x: -1.0, y: 1.5, z: 10.0, entity: -32764, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client DEBUG: <-- Received ref CreateEntityMessage(entity: -32763, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client DEBUG: <-- Received ref SetPositionMessage(x: 0.0, y: 1.5, z: 10.0, entity: -32763, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client DEBUG: <-- Received ref CreateEntityMessage(entity: -32762, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client DEBUG: <-- Received ref SetPositionMessage(x: 1.0, y: 1.5, z: 10.0, entity: -32762, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client DEBUG: <-- Received ref CreateEntityMessage(entity: -32761, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client DEBUG: <-- Received ref SetPositionMessage(x: -0.5, y: 2.5, z: 10.0, entity: -32761, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client DEBUG: <-- Received ref CreateEntityMessage(entity: -32760, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client DEBUG: <-- Received ref SetPositionMessage(x: 0.5, y: 2.5, z: 10.0, entity: -32760, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client DEBUG: <-- Received ref CreateEntityMessage(entity: -32759, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client DEBUG: <-- Received ref SetPositionMessage(x: 0.0, y: 3.5, z: 10.0, entity: -32759, sender: ..., recipient: ...) from peer 140522729033800
[2018-10-27T15:34:02] client FATAL: Exception: /home/david/.nimble/pkgs/c4-0.1.1/c4/systems/network/enet.nim(434, 9) `self.entitiesMap.hasKey(message.entity)` No local entity found for this remote entity: -32768
sandbox.nim(22)          sandbox
core.nim(90)             run
app.nim(56)              run
loop.nim(30)             runLoop
app.nim(59)              :anonymous
systems.nim(27)          update
enet.nim(248)            update
systems.nim(33)          update
systems.nim(21)          process
enet.nim(434)            process
system.nim(3899)         failedAssertImpl
system.nim(3892)         raiseAssert
system.nim(2939)         sysFatal

sandbox.nim(22)          sandbox
core.nim(90)             run
app.nim(56)              run
loop.nim(30)             runLoop
app.nim(59)              :anonymous
systems.nim(27)          update
enet.nim(248)            update
systems.nim(33)          update
systems.nim(21)          process
enet.nim(434)            process
system.nim(3899)         failedAssertImpl
system.nim(3892)         raiseAssert
system.nim(2939)         sysFatal
Error: unhandled exception: /home/david/.nimble/pkgs/c4-0.1.1/c4/systems/network/enet.nim(434, 9) `self.entitiesMap.hasKey(message.entity)` No local entity found for this remote entity: -32768 [AssertionError]
[2018-10-27T15:34:02] multi DEBUG: Client or server not running -> shutting down
[2018-10-27T15:34:02] multi DEBUG: Terminating server process
[david@eb build]$ 
0xE111 commented 5 years ago

Thanks for the report. I'll reproduce and fix a bit later.

P.S. Nothing special about Horde3d, I believe ours should be the same

# Maintainer: Davorin Učakar <davorin.ucakar@gmail.com>

pkgname=horde3d
pkgver=1.0
pkgrel=1
pkgdesc='A lightweight next-generation 3D rendering and animation engine.'
url='http://www.horde3d.org/'
license=('EPL')
arch=('i686' 'x86_64')
depends=('gcc-libs' 'libgl')
makedepends=('cmake' 'mesa')
source=("git+https://github.com/horde3d/Horde3D")
sha256sums=('SKIP')

build()
{
  mkdir -p ${srcdir}/build && cd ${srcdir}/build

  cmake \
    -D CMAKE_BUILD_TYPE=Release \
    -D CMAKE_INSTALL_PREFIX=/usr \
    -D CMAKE_C_FLAGS="${CFLAGS/-O2/-Ofast}" \
    -D CMAKE_CXX_FLAGS="${CXXFLAGS/-O2/-Ofast}" \
    ../Horde3D

  make
}
0xE111 commented 5 years ago

"a bit later" was not a bit :/

Quick summary:

Will leave this open for now.

0xE111 commented 4 years ago

Sandbox app is gone, as well as many other things, so this issue makes no sense anymore, thus closing.