Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugins calling RTD2_DisableModulePerks on server shutdown generate errors #126

Open
6 of 9 tasks
naydef opened this issue Aug 29, 2024 · 0 comments
Open
6 of 9 tasks
Labels
bug Something isn't working

Comments

@naydef
Copy link

naydef commented Aug 29, 2024

Bug description

Seemingly on server shutdown the following errors get printed in logs (yes, those are custom RTD effect plugins):

L 08/28/2024 - 04:01:59: [SM] Blaming: Gameplay\RTD\Extra\cnecgaming_rtd_perks.smx
L 08/28/2024 - 04:01:59: [SM] Call stack trace:
L 08/28/2024 - 04:01:59: [SM]   [0] RTD2_DisableModulePerks
L 08/28/2024 - 04:01:59: [SM]   [1] Line 129, Gameplay/RTD/Extra/cnecgaming_rtd_perks.sp::OnPluginEnd
L 08/28/2024 - 04:01:59: [SM] Exception reported: Plugin owning this native is currently paused.
L 08/28/2024 - 04:01:59: [SM] Blaming: Gameplay\RTD\Extra\rtd2_bleeder.smx
L 08/28/2024 - 04:01:59: [SM] Call stack trace:
L 08/28/2024 - 04:01:59: [SM]   [0] RTD2_DisableModulePerks
L 08/28/2024 - 04:01:59: [SM]   [1] Line 64, Gameplay/RTD/Extra/rtd2_bleeder.sp::OnPluginEnd
L 08/28/2024 - 04:01:59: [SM] Exception reported: Plugin owning this native is currently paused.
L 08/28/2024 - 04:01:59: [SM] Blaming: Gameplay\RTD\Extra\rtd2_bombingrun.smx
L 08/28/2024 - 04:01:59: [SM] Call stack trace:
L 08/28/2024 - 04:01:59: [SM]   [0] RTD2_DisableModulePerks
L 08/28/2024 - 04:01:59: [SM]   [1] Line 135, Gameplay/RTD/Extra/rtd2_bombingrun.sp::OnPluginEnd
L 08/28/2024 - 04:01:59: [SM] Exception reported: Plugin owning this native is currently paused.
L 08/28/2024 - 04:01:59: [SM] Blaming: Gameplay\RTD\Extra\rtd2_bouncy.smx
L 08/28/2024 - 04:01:59: [SM] Call stack trace:
L 08/28/2024 - 04:01:59: [SM]   [0] RTD2_DisableModulePerks
L 08/28/2024 - 04:01:59: [SM]   [1] Line 65, Gameplay/RTD/Extra/rtd2_bouncy.sp::OnPluginEnd
L 08/28/2024 - 04:01:59: [SM] Exception reported: Plugin owning this native is currently paused.
L 08/28/2024 - 04:01:59: [SM] Blaming: Gameplay\RTD\Extra\rtd2_eexit.smx
L 08/28/2024 - 04:01:59: [SM] Call stack trace:
L 08/28/2024 - 04:01:59: [SM]   [0] RTD2_DisableModulePerks
L 08/28/2024 - 04:01:59: [SM]   [1] Line 85, Gameplay/RTD/Extra/rtd2_eexit.sp::OnPluginEnd
...

All the plugins have in common is having this code:

public void OnPluginEnd()
{
	RTD2_DisableModulePerks();
}

This error shows every time the server gets restarted.
[SM] Value of cvar "sm_rtd2_version": "2.5.3"

Report checks

Please describe the bug in the section above, then post it and tick the correct boxes below.

Required

  • The bug does not have an open issue.
  • I have described the bug.
  • I mentioned whether the bug is sporadic or systematic.

Optional

  • Steps to reproduce the bug are known and have been described.
  • I have access to server error logs and have provided them, if any.
  • I am able to check the RTD version (sm_cvar sm_rtd2_version) and have specified it.
  • I have access to RTD default configuration file (rtd2_perks.default.cfg) and can confirm it's the one bundled with plugin release archive.
  • I have access to RTD custom configuration file (rtd2_perks.custom.cfg or other) and have attached it to this issue.
  • The issue is related to a particular perk, which has been specified by a label.
@naydef naydef added the bug Something isn't working label Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant