Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Configuration
on:
push:
branches: [master]
pull_request:
branches: [master]
permissions:
contents: read
jobs:
configuration:
name: Configuration tests
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
path: catalog
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
repository: ghptc/ec2-workspace
ref: 37f83f6927c93a10a078fb4748c37e52d42f8e5a
path: contract
- name: Validate every mode with the existing discovery contract
run: |
for mode in catalog/modes/*; do
python3 contract/scripts/modes.py select catalog "${mode##*/}"
done
python3 -m unittest discover -s contract/tests -p test_modes.py
20 changes: 16 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ rotation silently. This is asset/script coverage, not certification of every
map's competitive balance, navigation or bomb objectives.

The companion engine preparation must enable `--allow-map-voting`, which removes
only Promod's original competition voting prohibition. Bots satisfy the original
Ready Up loop after selecting a playing team and class; human use-button and
recording checks remain. Ready Up is enabled, not bypassed. Completed matches
only Promod's original competition voting prohibition. Only eligible human players contribute to Ready Up; bots are excluded and a
bot-only lobby waits for a human. Human use-button and recording checks remain.
Ready Up is enabled. Completed matches
exit through native rotation; individual S&D rounds still restart the same map.
Passed player votes select the next map before shuffled rotation resumes.

Expand Down Expand Up @@ -76,7 +76,8 @@ extracted scripts, binaries or credentials belong in this repository.
and Killhouse remain excluded as documented by the original authors. Player capacity
is explicitly 12; zombie counts are the mod's own wave policy, not
Promod Auto-Fill. `bot_enable=0` prevents attaching the Promod integration.
Promod configuration is unchanged. Hardcore remains unavailable until separately
Promod retains its existing Bot Warfare auto-fill behavior with explicit mode-owned
settings. Hardcore remains unavailable until separately
registered and qualified.

The original archive SHA-256 is
Expand Down Expand Up @@ -113,3 +114,14 @@ The candidate passed 53 local engine startup/map/preflight checks, including all
companion generic string-latch correction. Evidence:
`/tmp/cod4-btd-qualified-biebk8zp/results.json`. The unchanged Promod policy passed
53 independent real-runtime checks. No combat/homolog approval is implied.


## Required CI

`Configuration tests` runs on hosted GitHub CI for PRs and pushes to master. It
uses the existing workspace catalog validator at exact revision
`37f83f6927c93a10a078fb4748c37e52d42f8e5a`; no private assets are needed. The active
[master ruleset](https://github.com/ghptc/cod4-config-server/rules/25857702)
requires this GitHub Actions check with an up-to-date branch and no bypass actors.
Local tests alone do not establish branch protection. See the workspace
restoration report for live CI evidence and Zombies real-client blockers.
5 changes: 5 additions & 0 deletions modes/promod/server.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,8 @@ set g_voteTime "30"
set g_voteMaxVotes "2"
set g_voteAbstainWeight "1"
set g_voteCooldown "5"

// Mode owns the existing Bot Warfare auto-fill policy.
set bot_enable "1"
set bot_fill_limit "12"
set sv_mapRotationCurrent ""
4 changes: 4 additions & 0 deletions modes/zombies/server.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
// Before the Dawn Alpha 001. Private original assets are required.
// Override shared: sv_pure
set sv_pure "1"
set sv_mapRotationCurrent ""
set sv_randomMapRotation "0"
set sv_hostname "CoD4 Before the Dawn Zombies"
set sv_maxclients "12"
set g_gametype "war"
Expand Down
Loading