Page 1 of 1

Aircraft mod help

Posted: Wed Jul 06, 2016 8:17 pm
by zingo2
Hello All!

This is not my mod But I am using it on our server- its a cool mod and so far there is no alternative.

Asking your help to help SuicidalKid to fix the mod.

Aircraft.mod:

viewtopic.php?f=120&t=18714

The problem is: The game becomes corrupt when you are inside aircraft and the game/server auto saves your game.

Starting from this discussion page:
viewtopic.php?f=120&t=18714&start=40

"NetworkInputHandler.cpp:694: applyAllTickClosures: applying tickClosure(tick(44195758) inputActions((CheckCRCHeuristic) ) ) for peer(0)
80.843 Info " on server side. This eventually builds up and server gives up- pops a notification game is corrupt and shuts the game down.

I looked at the prototypes folder and there are only 4 files.

Entities.lua
items.lua
recipes.lua
technologies.lua

The problem must be in entities.lua how entities are described. To my mind there is missing code describing all the thing show to handle this(dont quote on me, i really dont know)

but this line
flags = {"placeable-neutral", "player-creation", "placeable-off-grid", "not-on-map"}
"not-on-map" Could this be missing Heuristic tick thats missing?

I have a log file on the server side but

NetworkInputHandler.cpp:694: applyAllTickClosures: applying tickClosure(tick(44201833) inputActions((CheckCRCHeuristic) ) ) for peer(0)
196.533 Info NetworkInputHandler.cpp:694: applyAllTickClosures: applying tickClosure(tick(44201833) inputActions((CheckCRCHeuristic) ) ) for peer(1)
196.533 Info

It seems the server cant decide whether the player (me) is present or not given that the aircraft is off grid.

Any ideas how to fix the mod so it does not corrupt the game state?