ZeroK-RTS / Zero-K

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

Dualfog fails to load with maps launched from Chobby #2207

Closed ghost closed 7 years ago

ghost commented 7 years ago

Can be reproduced with both Fairyland and Siberian Divide. These same maps can be loaded from spring.exe and latest ZK with no errrors.

[f=-000001] [gadgets.lua] Error: Failed to load: gui_dualfog_gadget.lua ([string "LuaRules/Gadgets/gui_dualfog_gadget.lua"]:132: attempt to index field 'version' (a nil value))

infolog.txt

GoogleFrog commented 7 years ago

I highly doubt that this is chobby related. I think it is due to the Game and Engine table changes. Does the game have any access to luaGaia? If not then this is unfixable gameside.

ghost commented 7 years ago

I'll try and diagnose this better and make an engine ticket.

GoogleFrog commented 7 years ago

I think it is due to the Game and Engine table changes

See https://springrts.com/mantis/view.php?id=5455. The reason is known and the simple solution is known. The only thing you could get out of a mantis ticket would be the reintroduction of the keys into the Game table, for backwards compatibility.