Cubyz icon indicating copy to clipboard operation
Cubyz copied to clipboard

Player sometimes disconnects from the server

Open mistrjirka opened this issue 2 months ago • 2 comments

Steps to Reproduce and Observed Behavior

The game says error encountered, check logs. The logs contain kinda non descriptive error "[error]: Got error while processing received network data: Invalid". This is the entire session:

[info]: Resizing internal mesh buffer from 256 MiB to 512 MiB
[info]: User cuppercom joined using version 0.0.0
[info]: Chat: cuppercom§#ffff00 joined
[warning]: Experienced time travel. Current time: -29642 Last time: 0
[warning]: Experienced time travel. Current time: -29255 Last time: -28740
[info]: Framebuffer: 2560, 1440
[info]: Resizing internal mesh buffer from 32 MiB to 64 MiB
[info]: Resizing internal mesh buffer from 4 MiB to 8 MiB
[info]: Resizing internal mesh buffer from 512 MiB to 1024 MiB
[warning]: The server is lagging behind by 154.5 ms
[warning]: The server is lagging behind by 30.9 ms
[warning]: The server is lagging behind by 5.2 ms
[info]: Chat: [mistr##ff000jirka§#ffffff] test
[info]: Resizing internal mesh buffer from 1024 MiB to 2048 MiB
[warning]: The server is lagging behind by 35.7 ms
[warning]: The server is lagging behind by 38.7 ms
[warning]: The server is lagging behind by 9.6 ms
[warning]: The server is lagging behind by 5.8 ms
[warning]: The server is lagging behind by 21.0 ms
[info]: Resizing internal mesh buffer from 32 MiB to 64 MiB
[warning]: The server is lagging behind by 23.4 ms
[warning]: The server is lagging behind by 30.7 ms
[warning]: The server is lagging behind by 32.5 ms
[warning]: The server is lagging behind by 17.2 ms
[error]: Got error while processing received network data: Invalid
[info]: Chat: cuppercom§#ffff00 left
[info]: Disconnected
[info]: Disconnected
[warning]: Unknown connection from address: 88.102.250.214:50637
[debug]: Message: { 6 }
[warning]: Unknown connection from address: 88.102.250.214:50637
[debug]: Message: { 6 }
[warning]: Update time is getting too high. It's already at 0.301 s!
[warning]: The server is lagging behind by 201.5 ms
[warning]: The server is lagging behind by 197.6 ms

The player was mining during this.

Full log file

latest.log

PS: Amazing work, love this game so far.

mistrjirka avatar Oct 19 '25 21:10 mistrjirka

It looks like you are receiving invalid packets from the other player. I'll add some more debugging info to version 0.0.1 so please try again once that is released.

IntegratedQuantum avatar Oct 20 '25 15:10 IntegratedQuantum

Please try to reproduce this again with version 0.0.1 and send me the server side logs again

IntegratedQuantum avatar Nov 29 '25 12:11 IntegratedQuantum