"default/aisettler" sanity checks

Contribute, display and discuss rulesets and modpacks for use in Freeciv here.
cazfi
Elite
Posts: 3569
Joined: Tue Jan 29, 2013 6:54 pm

Re: "default/aisettler" sanity checks

Post by cazfi »

Those entries should be in the [actions] section, not [auto_attack]
GrahamW67
Posts: 1
Joined: Thu Nov 19, 2026 3:17 am

Re: "default/aisettler" sanity checks

Post by GrahamW67 »

cazfi wrote:Those entries should be in the [actions] section, not [auto_attack]
Ah cheers cazfi, that'd explain it then. Did it still throw up any warnings once you moved them into [actions], or did that sort it clean first go?
cazfi
Elite
Posts: 3569
Joined: Tue Jan 29, 2013 6:54 pm

Re: "default/aisettler" sanity checks

Post by cazfi »

FriendAtArms wrote: ↑Fri Nov 13, 2026 3:20 pmI can turn auto-attack on and off with the in-game menu, but there doesn't seem to be a setting for it in the [settings] portion of the Game file.
What do you mean? Setting (and even locking) any server setting should be supported in the game.ruleset [settings] section, and I'm not aware of anything being broken in that functionality.
cazfi
Elite
Posts: 3569
Joined: Tue Jan 29, 2013 6:54 pm

Re: "default/aisettler" sanity checks

Post by cazfi »

cazfi wrote: ↑Thu Nov 19, 2026 11:46 am
FriendAtArms wrote: ↑Fri Nov 13, 2026 3:20 pmI can turn auto-attack on and off with the in-game menu, but there doesn't seem to be a setting for it in the [settings] portion of the Game file.
What do you mean? Setting (and even locking) any server setting should be supported in the game.ruleset [settings] section, and I'm not aware of anything being broken in that functionality.
Works for me.
I set "autoattack" "enabled" in the game.ruleset, started the server, gave "/explain autoattack" command, and the setting is listed as being "enabled" (as opposed to "disabled" that is the default):

Code: Select all

> explain autoattack
Option: autoattack  -  Turn on/off server-side autoattack
Description:
  If set to on, units with moves left will automatically consider
  attacking enemy units that move adjacent to them.
Status: changeable
Value: enabled, Default: disabled
Post Reply