ZeroK-RTS / Zero-K

Open source RTS game running on the Spring/Recoil engine
https://zero-k.info
GNU General Public License v2.0
680 stars 204 forks source link

trying to make GetSpiralGenerator utility for the issue #5197 #5270

Closed IcarusRTS closed 4 months ago

IcarusRTS commented 4 months ago

I need some assistance with this one as right now, start_unit_setup that has this utility integrated causes Zero-K to freeze then crash.

sprunk commented 4 months ago

Perhaps leave start_unit_setup.lua alone for now and just make sure the utility passes the provided tests (via the two test widgets).

Freeze and a subsequent crash most likely means you have an infinite loop.

IcarusRTS commented 4 months ago

I did actually make two test widgets prior to the pull request and the debug log gave zero errors ingame (unless there is something else I need to do for testing, if so, tell me)

sprunk commented 4 months ago

the debug log gave zero errors ingame

Check infolog.txt, Ctrl+F "test1_sg.lua" or whatever was the name of the file.

IcarusRTS commented 4 months ago

the debug log gave zero errors ingame

Check infolog.txt, Ctrl+F "test1_sg.lua" or whatever was the name of the file.

Good news, both test widgets load in properly now.

Bad news is that there are new issues to tackle.

image