Closed ekroemer closed 8 years ago
Needs testing but I don't see any reason the change wouldn't fix this issue. I'll be able to test this later but if someone can do it quicker verify the fix and reply or close the issue.
Confirming this is fixed, hive saved and read all damaged parts on the Merlin, 517 characters total.
[["NEtrup",0.503],["motor",0.503],["elektronika",0.503],["mala vrtule",0.503],["velka vrtule",0.503],["glass1",0.503],["glass2",0.503],["glass3",0.503],["glass4",0.503],["glass5",0.503],["glass6",0.503],["glass7",0.503],["glass8",0.503],["glass9",0.503],["glass10",0.503],["glass11",0.503],["glass12",0.503],["glass13",0.503],["glass14",0.503],["glass15",0.503],["glass16",0.503],["glass17",0.503],["glass18",0.503],["glass19",0.503],["glass20",0.503],["munice",0.503],["sklo predni P",0.503],["sklo predni L",0.503]]
Hi there,
I just realized why from time to time the hive.log says it couldn't spawn Merlin_DZE: this chopper has so many glass parts that the entry in Hitpoints exceeds the 512 character boundary and ends up with a malformed statement, e.g.:
[["NEtrup",0.183],["motor",0.49],["elektronika",0.554],["mala vrtule",0.587],["velka vrtule",0.263],["glass1",0.508],["glass2",0.418],["glass3",0.134],["glass4",0.584],["glass5",0.08],["glass6",0.104],["glass7",0.127],["glass8",0.08],["glass9",0.285],["glass10",0.252],["glass11",0.043],["glass12",0.538],["glass13",0.407],["glass14",0.388],["glass15",0.193],["glass16",0.308],["glass17",0.018],["glass18",0.445],["glass19",0.294],["glass20",0.172],["munice",0.503],["sklo predni P",0.334],["sklo predni L",0.017
Short of making the field longer and change all calls in the hive.dll I cannot think of another solution.