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

RTD doesn’t work with 64+ player servers #60

Open
kmak7 opened this issue Jul 26, 2023 · 5 comments
Open

RTD doesn’t work with 64+ player servers #60

kmak7 opened this issue Jul 26, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@kmak7
Copy link

kmak7 commented Jul 26, 2023

Console Log:
[RTD] Loaded 74 perks (37 good, 37 bad).
L 07/26/2023 - 22:46:43: [SM] Exception reported: Invalid index 66 (count: 66)
L 07/26/2023 - 22:46:43: [SM] Blaming: rtd.smx
L 07/26/2023 - 22:46:43: [SM] Call stack trace:
L 07/26/2023 - 22:46:43: [SM] [0] ArrayList.Set
L 07/26/2023 - 22:46:43: [SM] [1] Line 29, rtd/classes/rollers.sp::Rollers.Rollers
L 07/26/2023 - 22:46:43: [SM] [2] Line 328, rtd.sp::OnPluginStart
L 07/26/2023 - 22:46:43: [SM] Unable to load plugin "rtd.smx": Error detected in plugin startup (see error logs)

Sourcemod build: 7037
https://www.sourcemod.net/downloads.php?branch=dev
alliedmodders/sourcemod@d83c498

os: Debian 11

Likely something to do with new playerlimit

@OfficerSpy
Copy link

This seems to happen on 1.12. The plugin appears to work fine on SM 1.11 (build 6936) though.

@Phil25
Copy link
Owner

Phil25 commented Jul 27, 2023

The Rollers ArrayList uses the SourceMod's MaxClients variable which should correspond to the server's max players count. I'm gonna postpone digging deeper until SourceMod 1.12 becomes stable, can't find anything to blame RTD for from a quick glance.

In the meantime I can try to recompile RTD with 1.12 and send the binary in this thread.

@Phil25
Copy link
Owner

Phil25 commented Jul 27, 2023

Ah my bad, 1.12 did introduce the required changes. Looks like recompiling in the newer SourceMod should fix the reported issue.

I'll try to build it now but won't do a full release until 1.12 is stable. It's possible other issues might come out.

@Phil25
Copy link
Owner

Phil25 commented Jul 27, 2023

Released version 2.3.6-pre1 with experimental, untested support for 100 players.

Unfortunately, the 1.12 compiler is unstable at the moment so I used SourceMod 1.11 (6936) compiler with SourceMod 1.12 (7038) include files, but the 100 player support is contained within those include files (specifically clients.inc).

Please check it out in the meantime: https://github.com/Phil25/RTD/releases/tag/2.3.6-pre1

@Phil25 Phil25 added the bug Something isn't working label Nov 24, 2023
@Phil25
Copy link
Owner

Phil25 commented Nov 24, 2023

Version 2.4.0 prepared RTD to be used on servers with up to 128 players. However, I won't officially support it until SourceMod 1.12 becomes stable.

Anyone is free to recompile RTD under 1.12 compiler.

@Phil25 Phil25 changed the title Plugin dosent load with latest sourcemod RTD doesn’t work with 64+ player servers 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

3 participants