Open kmak7 opened 1 year ago
This seems to happen on 1.12. The plugin appears to work fine on SM 1.11 (build 6936) though.
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.
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.
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
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 https://github.com/alliedmodders/sourcemod/commit/d83c498a8fb9958a62de9ebb90e7e1b
os: Debian 11
Likely something to do with new playerlimit