Skip to content

feat!: Update for new release#320

Merged
IRacle1 merged 7 commits intoExMod-Team:scpsl14from
VALERA771:xmas-2024
Dec 22, 2024
Merged

feat!: Update for new release#320
IRacle1 merged 7 commits intoExMod-Team:scpsl14from
VALERA771:xmas-2024

Conversation

@VALERA771
Copy link
Copy Markdown

@VALERA771 VALERA771 commented Dec 21, 2024

Description

Describe the changes
No Christmas changes here. They'll be on other branch

What is the current behavior? (You can also link to an open issue here)

What is the new behavior? (if this is a feature change)

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:


Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentations

Submission checklist

  • I have checked the project can be compiled
  • I have tested my changes and it worked as expected

Patches (if there are any changes related to Harmony patches)

  • I have checked no IL patching errors in the console

Other

  • Still requires more testing

MicroHID = Item.Get<MicroHid>(microHIDitem);
CurrentState = currentState;
Drain = drain;
Drain = MicroHID.Energy - drain;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you sure of this it's fell like you made it wrong

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Drain is a amount that will be removed. In method amount of new energy is saved. So yeah that should work

@VALERA771 VALERA771 changed the title feat/fix!: Update for new release feat!: Update for new release Dec 21, 2024
@VALERA771 VALERA771 requested a review from obvEve December 21, 2024 23:04
@ITeMbI4
Copy link
Copy Markdown

ITeMbI4 commented Dec 22, 2024

                                 HarmonyLib.HarmonyException: Patching exception in method virtual System.Boolean <_ProcessServerSideCode>d__50::MoveNext() ---> System.FormatException: Method virtual System.Boolean <_ProcessServerSideCode>d__50::MoveNext() cannot be patched. Reason: Invalid IL code in (wrapper dynamic-method) RoundSummary/<_ProcessServerSideCode>d__50:RoundSummary+<_ProcessServerSideCode>d__50.MoveNext_Patch0 (RoundSummary/<_ProcessServerSideCode>d__50): IL_03f0: brfalse   IL_0416
                                 
                                 
                                   at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x0008c] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 
                                   at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x000bb] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 
                                    --- End of inner exception stack trace ---
                                   at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 
                                   at HarmonyLib.PatchClassProcessor.Patch () [0x00093] in <0020ee40255b4dc7a0eb8b2a76225b38>:0 
                                   at Exiled.Events.Features.Patcher.PatchAll (System.Boolean includeEvents, System.Int32& failedPatch) [0x0005b] in <2e2e0b0568bf40d09295a06d0f792598>:0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants