Topic: Making Lua console available in observer mode
MarkMcWire Topic Opener |
Posted at: 2023-06-20, 16: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 addons: https://drive.google.com/file/d/1jopANlODo41T2reHJ0zaCOMYxq_rxXP-/view?usp=sharing Top Quote |
tothxa |
Posted at: 2023-06-21, 23: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) Top Quote |