ModShardTeam / ModShardTeam/ModShardLauncher
[BUG] InjectTableRecipesCraft causes crash on launch
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 55
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
Tried to add a recipe with Msl.InjectTableRecipesCraft(Msl.RecipesCraftHook.ADVANCED,"bed",Msl.RecipesCraftCategory.advanced,100,1,Msl.RecipesCraftSource.BaseRecipe,"hide_big","hide_big"), successfully patch vanilla, but the game throws Variable Index out of range error at launch.
Additional Information :
- Stoneshard Version : 0.9.2.7
- MSL Version : 0.13.2.0
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the launch crash with the InjectTableRecipesCraft call shown in the report, using Stoneshard 0.9.2.7 and MSL 0.13.2.0. Inspect the resulting Variable Index out of range error and trace the recipe injection path. Done means the reported recipe can be added without causing a launch crash.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- game-dev, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100