Currently Online

Latest Posts

Topic: Making Lua console available in observer mode

Topic Opener
Joined: 2017-02-08, 20:06
Posts: 321
Tribe Member
Location: Eisenach, Germany
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:

Top Quote
Joined: 2021-03-24, 11:44
Posts: 437
OS: antix / Debian
Version: some new PR I'm testing
Tribe Member
Posted at: 2023-06-21, 22:24

Actually I've already started working on this:

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