Project

General

Profile

Feature #648804

Allow requirement vectors to check visible boolean server settings

Added by Sveinung Kvilhaugsvik 6 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Category:
General
Target version:
Start date:
Due date:
% Done:

100%


Description

A ruleset may wish to adapt to server settings like unreachableprotects, restrictinfra, killstack etc.

Limit to visible server settings. It is a good idea to only give access to "rule" server settings. (Exclude "internal" and "network" settings except victories)

A boolean server setting is enabled or disabled. It is therefore enough to specify its name in the requirement syntax. It could be expanded to a syntax like "settingname=valuename" if support for other server setting kinds should be wanted in the future. (enum, bitwise and (lov range) int server settings could be multiplexed with the server setting id)

0001-ServerSetting-requirement-type.patch View (19.1 KB) Sveinung Kvilhaugsvik, 2017-05-11 11:36 AM

ServerSetting-requirement-type.patch View (23.3 KB) Sveinung Kvilhaugsvik, 2017-05-22 01:15 PM


Related issues

Blocked by Freeciv - Feature #659408: Setting visibility to access level checker Closed
Blocked by Freeciv - Feature #654153: Boolean server setting value access Closed
Blocked by Freeciv - Feature #653904: Populate the server setting module Closed
Blocked by Freeciv - Feature #659409: fc interface for ruledit and ruleup Closed
Blocks Freeciv - Feature #661974: webperimental: killstack decides stack protects Closed

History

#1 Updated by Sveinung Kvilhaugsvik 5 months ago

  • Status changed from New to In Progress

#2 Updated by Sveinung Kvilhaugsvik 5 months ago

  • Assignee set to Sveinung Kvilhaugsvik

#3 Updated by Sveinung Kvilhaugsvik 5 months ago

  • Blocked by Feature #659408: Setting visibility to access level checker added

#4 Updated by Sveinung Kvilhaugsvik 5 months ago

#5 Updated by Sveinung Kvilhaugsvik 5 months ago

#6 Updated by Sveinung Kvilhaugsvik 5 months ago

#7 Updated by Sveinung Kvilhaugsvik 5 months ago

  • % Done changed from 0 to 50

WIP patch. ruleup/ruledit won't work yet.

#8 Updated by Sveinung Kvilhaugsvik 5 months ago

#9 Updated by Sveinung Kvilhaugsvik 4 months ago

  • Blocks Feature #661974: webperimental: killstack decides stack protects added

#10 Updated by Sveinung Kvilhaugsvik 4 months ago

Remember to update network capstring when committing this

#11 Updated by Sveinung Kvilhaugsvik 4 months ago

  • Status changed from Resolved to Closed
  • % Done changed from 90 to 100

Also available in: Atom PDF