Page 1 of 1

error lua

Posted: 22.08.2023, 18:09
by gironde
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)

Posted: 23.08.2023, 07:55
by gironde
This morning, I did a test with 199999 asteroids in the table and it works, no error.