Project

General

Profile

Feature #648804

Allow requirement vectors to check visible boolean server settings

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

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

100%

Estimated time:

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 (19.1 KB) 0001-ServerSetting-requirement-type.patch Sveinung Kvilhaugsvik, 2017-05-11 11:36 AM
ServerSetting-requirement-type.patch (23.3 KB) ServerSetting-requirement-type.patch Sveinung Kvilhaugsvik, 2017-05-22 01:15 PM

Related issues

Blocked by Freeciv - Feature #659408: Setting visibility to access level checkerClosed

Blocked by Freeciv - Feature #654153: Boolean server setting value accessClosed

Blocked by Freeciv - Feature #653904: Populate the server setting moduleClosed

Blocked by Freeciv - Feature #659409: fc interface for ruledit and ruleupClosed

Blocks Freeciv - Feature #661974: webperimental: killstack decides stack protectsClosed

History

#1 Updated by Sveinung Kvilhaugsvik 7 months ago

  • Status changed from New to In Progress

#2 Updated by Sveinung Kvilhaugsvik 7 months ago

  • Assignee set to Sveinung Kvilhaugsvik

#3 Updated by Sveinung Kvilhaugsvik 6 months ago

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

#4 Updated by Sveinung Kvilhaugsvik 6 months ago

#5 Updated by Sveinung Kvilhaugsvik 6 months ago

#6 Updated by Sveinung Kvilhaugsvik 6 months ago

#7 Updated by Sveinung Kvilhaugsvik 6 months ago

  • % Done changed from 0 to 50

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

#9 Updated by Sveinung Kvilhaugsvik 6 months ago

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

#10 Updated by Sveinung Kvilhaugsvik 6 months ago

Remember to update network capstring when committing this

#11 Updated by Sveinung Kvilhaugsvik 6 months ago

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

Also available in: Atom PDF