Topic: Making Lua console available in observer mode
Posted at: 2023-06-20, 15:35
Since the debug build of Widelands has a really really bad performance, I would suggest to make the Lua console available in the release build as well. To prevent cheating, the console should only be available in observer mode for Multiplayer, when gamer is not active part of the game. This would it make easier to debug and experiment with AI and economy of various tribes.
My widelands project: https://github.com/widelands/wl_addons_server/tree/master/addons/europeans_tribe.wadTop Quote
Posted at: 2023-06-21, 22:24
Actually I've already started working on this: https://github.com/widelands/widelands/pull/5944
BTW cheating (other than spying) is prevented by the sync checks. As soon as the game state is modified by a lua command, the game desyncs. (I've verified this while testing the PR)