New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SerializationError: deSerializeString: couldn't read all chars with just_test_tribute subgame #4848
Comments
I believe it is the mobs code. Lag had same thing in his server back in 0.4.10 |
Seems to be a general problem with active objects. |
|
This is actually not a serialization problem, but a network problem... The minetest networking code in the client seems to get confused due to bad packet sequence numbers, and apparently mixes chunks from different packets. Details: The code uses the incoming split packet sequence number for outgoing unreliable packets. As the incoming sequence number is not incremented that often, many packets end up being sent with the same sequence number... Sample packet trace:
|
(instead of the last incoming sequence number...) Fixes minetest#4848
(instead of the last incoming sequence number...) Fixes #4848
Tested. Can't reproduce anymore after fix 👍 |
I'm still getting this on engine 8a7dc83 and MTG of that day:
I have impression that it is caused by fork of PilzAdam simple mob, especially when there are many of them around at load time of entities?
Here is how to reproduce:
Get subgame: https://github.com/maikerumine/just_test_tribute
Delete \afkkick folder from it.
In folder \mobs edit file init.lua, make LINES 272 and 273 like that:
Create v7 world, make sure to keep night as long as possible (they spawn at night), try walking around some stone to generate as much stone mobs as possible, maybe restart the game to kick in some bugs, eventually you will get those errors at walk time near stone monsters.
The text was updated successfully, but these errors were encountered: