beyond-all-reason / beyond-all-reason/RecoilEngine

Add `spTurnReplayIntoNormalGame()` to turn replay into a normal game

Open
#1,179 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: Lua API enhancement
Dominant language
C++
Stars
683
Forks
293
Avg merge
3d 2h
Merged PRs (30d)
40

Description

After watching a replay to some interesting point you may want to take over (via /cheat and /team N or /godmode), for example to see how things could have turned out differently. But the replay keeps giving commands afterwards and may produce desync warnings when you interfere. The request is to add a command Lua function that stops the replay from giving commands and from the match being considered a replay. It seems like it would have been pretty useful so maybe this exists and I'm just unaware?

See also beyond-all-reason/Beyond-All-Reason#2501

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the replay-handling and Lua-binding entry points for spTurnReplayIntoNormalGame(); the issue names no files or tests. The change is complete when taking over a replay stops further replay commands and the match is no longer treated as a replay, without desync warnings when using /cheat, /team, or /godmode.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, lua
Domain
game-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.