Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[DECOHack] "Safe" Freeing of States from a Starting Label

Open
#80 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
compilers

Research direction

Start by reading the DECOHack state-freeing logic and how its traverser follows state indexes; the issue does not name source files or tests. Investigate how labels are represented and whether a reverse lookup or startup scan is needed. Done means a new clause safely stops freeing at a state with a defined label, without overfreeing; the issue gives no test entry point.

Written by the indexing model from the issue text.

Description

enhancement low priority

So, DECOHack's state freeing is a tad... overzealous, let's say.

There needs to be a way to safely free a state on a weapon or thing such that it doesn't "overfree" what is expected, despite it being the intended behavior.

A new clause keyword may be in order. Something like:

weapon WP_PISTOL only free Label

Or somesuch language to convey that it should only free that state until it hits a state that has a defined label. Will a reverse lookup need to be in order?

This may turn into a bit of a complicated issue, unfortunately, as the traverser only can see the next state via indexes, not labels. A quick scan may need to be in order at startup to set these up, if not baked into code, initially.

Dominant language
Java
Stars
78
Forks
6
Avg merge
17h 32m
Merged PRs (30d)
1

Getting set up

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.

More from MTrop/DoomTools

All issues in MTrop/DoomTools

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.