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

Plugin does not load on servers with max player settings over 64 players #104

Closed
6 of 9 tasks
rx149 opened this issue Feb 23, 2024 · 1 comment
Closed
6 of 9 tasks
Labels
bug Something isn't working

Comments

@rx149
Copy link

rx149 commented Feb 23, 2024

Bug description

When setting unrestricted_maxplayers and then setting maxplayers to any number over 64 the rtd plugin refuses to load. I tested both old and the most current version of RTD.

Server log throws these errors:

[2024-02-23 12:31:03]: L 02/23/2024 - 17:31:03: [SM] Exception reported: Array index out-of-bounds (index 66, limit 66)`

[2024-02-23 12:31:03]: L 02/23/2024 - 17:31:03: [SM] Blaming: rtd.smx

[2024-02-23 12:31:03]: L 02/23/2024 - 17:31:03: [SM] Call stack trace:

[2024-02-23 12:31:03]: L 02/23/2024 - 17:31:03: [SM] [1] Line 203, u:\Work\Code\RTD\scripting\rtd.sp::InitClientCache

[2024-02-23 12:31:03]: L 02/23/2024 - 17:31:03: [SM] [2] Line 144, u:\Work\Code\RTD\scripting\rtd.sp::OnPluginStart

[2024-02-23 12:31:03]: L 02/23/2024 - 17:31:03: [SM] Unable to load plugin "rtd.smx": Error detected in plugin startup (see error logs)

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.
@rx149 rx149 added the bug Something isn't working label Feb 23, 2024
@Phil25
Copy link
Owner

Phil25 commented Feb 23, 2024

Hi, this is a known issue. I decided not to support 64+ player servers until SourceMod 1.12 release, which has the necessary changes to make plugins work with unrestricted maxplayers.

I’m closing this as a duplicate of #60, and have also renamed that issue to be easier findable for this reason.

That said, I’ve no problem providing you a custom build which works for unrestricted maxplayers, but I don’t have time right this moment to build anything.

We can continue in #60.

@Phil25 Phil25 closed this as not planned Won't fix, can't repro, duplicate, stale Feb 23, 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

2 participants