RTD icon indicating copy to clipboard operation
RTD copied to clipboard

RTD doesn’t work with 64+ player servers

Open kmak7 opened this issue 1 year ago • 5 comments

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

kmak7 avatar Jul 26 '23 22:07 kmak7

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

OfficerSpy avatar Jul 27 '23 02:07 OfficerSpy

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 avatar Jul 27 '23 17:07 Phil25

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 avatar Jul 27 '23 17:07 Phil25

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 avatar Jul 27 '23 18:07 Phil25

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 avatar Nov 24 '23 04:11 Phil25