RUGENDOCS
Hosting rugen-server

Re-simulation

An optional server feature that replays disputed matches headless from both input streams and settles the result.

Both clients report every online result with the winner, the last frame, a world checksum and their confirmed input stream. When the two reports disagree, the match is disputed and no rating changes.

A server built with the resim feature can settle disputed ranked matches: it re-plays the match headless from both input streams with the stored packages, and accepts the result when one report matches the simulation. Because the rugen simulation is deterministic, the replay is exact.

Enabling it

Build with the feature:

cargo build --release --features resim
# or
docker build -f deploy/Dockerfile --build-arg FEATURES=resim -t rugen-server:resim .

and give it the engine data:

VariableMeaning
RUGEN_RESIM_DATAPath to the engine data/ folder, the one with common1.cns and fight.def.
RUGEN_RESIM_MOTIFMotif for re-simulation (defaults to RUGEN_RESIM_DATA).

Something wrong on this page? Edit it on GitHub.

SEARCH !!

    ↑↓ to move, Enter to open