Skip to content

Conversation

@MS-crew
Copy link

@MS-crew MS-crew commented Nov 15, 2025

Description

Describe the changes

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

Copy link

@louis1706 louis1706 left a comment

Choose a reason for hiding this comment

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

Thanks for your check but yes some was needed to not be there but yeah we are missing some information about them in the documentation than you can add now :3

Comment on lines 28 to 32
/// <summary>
/// Patches <see cref="Scp049SenseAbility.ServerProcessCmd" />.
/// Adds the <see cref="Handlers.Scp049.ActivatingSense" /> event.
/// </summary>
[EventPatch(typeof(Handlers.Scp049), nameof(Handlers.Scp049.ActivatingSense))]
[HarmonyPatch(typeof(Scp049SenseAbility), nameof(Scp049SenseAbility.ServerProcessCmd))]

Choose a reason for hiding this comment

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

this is mostly missing Documentation but yeah it's normal that the EventPatch is missing there Config "CanScp049SenseTutorial" and the "Scp049Role.TurnedPlayers" behaviours always required this event to be patch anyways

you can edit the doc above to make this noted

/// Patches <see cref="Scp3114Dance.ServerProcessCmd"/>
/// to add <see cref="Handlers.Scp3114.Dancing"/> event.
/// </summary>
[EventPatch(typeof(Handlers.Scp3114), nameof(Handlers.Scp3114.Dancing))]

Choose a reason for hiding this comment

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

this is required for the "Scp3114.NextDanceType" behaviours but yes documentation above it should representing that

/// Patches <see cref="CharacterClassManager.Start" />.
/// Adds the <see cref="Handlers.Server.WaitingForPlayers" /> event.
/// </summary>
[EventPatch(typeof(Handlers.Server), nameof(Handlers.Server.WaitingForPlayers))]

Choose a reason for hiding this comment

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

with that added an no plugin calling this event it's would make Server.Host being null causing a lot of issue

(same as said above you can make that said in the documentation above

@MS-crew MS-crew closed this Dec 17, 2025
@louis1706 louis1706 reopened this Dec 27, 2025
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.

3 participants