BattletechModders / BattletechModders/CustomAmmoCategories
Error in 04 with melee patch
- Dominant language
- C#
- Stars
- 5
- Forks
- 11
- Avg merge
- 3h 44m
- Merged PRs (30d)
- 2
Description
System.ArgumentException: No target method specified for class CustomAmmoCategoriesPathes.AttackEvaluator_MakeAttackOrderForTarget_AP (declaringType=AttackEvaluator, methodName =MakeAttackOrderForTarget, methodType=Normal, argumentTypes=(BattleTech.Mech, BattleTech.ICombatant, UnityEngine.Vector3, UnityEngine.Vector3, System.Boolean, BattleTech.AbstractActor))
at Harmony.PatchProcessor.PrepareType () [0x00000] in :0
at Harmony.PatchProcessor..ctor (Harmony.HarmonyInstance instance, System.Type type, Harmony.HarmonyMethod attributes) [0x00000] in :0
at Harmony.HarmonyInstance.b__9_0 (System.Type type) [0x00000] in :0
at Harmony.CollectionExtensions.Do[Type] (IEnumerable`1 sequence, System.Action`1 action) [0x00000] in :0
at Harmony.HarmonyInstance.PatchAll (System.Reflection.Assembly assembly) [0x00000] in :0
at CustomAmmoCategoriesInit.Core.Init (System.String directory, System.String settingsJson) [0x00000] in :0
this prevents the file to function at all
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at CustomAmmoCategoriesInit.Core.Init and trace the Harmony PatchAll call to CustomAmmoCategoriesPathes.AttackEvaluator_MakeAttackOrderForTarget_AP. Compare the requested AttackEvaluator.MakeAttackOrderForTarget signature with the available BattleTech types, then confirm initialization completes and the file functions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, unity
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100