error lua
Posted: 22.08.2023, 18:09
In recent days, Decoda (lua debugger) triggered an error: "Constant table overflow"
After research on the internet, not very precise, I discovered that by splitting a table containing all the asteroids, the problem disappeared.
360,000 asteroids is too much for a lua table. I split the whole by several files of 100000 asteroids.
(celstia 1.6.1, lua 5.1.5, LUT 5)
After research on the internet, not very precise, I discovered that by splitting a table containing all the asteroids, the problem disappeared.
360,000 asteroids is too much for a lua table. I split the whole by several files of 100000 asteroids.
(celstia 1.6.1, lua 5.1.5, LUT 5)