AutoEvent icon indicating copy to clipboard operation
AutoEvent copied to clipboard

Using a different map in AllDeathmatch (dm) mode causes a minigame error - AllDeathmatch

Open TheGameDaniil opened this issue 1 year ago • 2 comments

When you set a different map in the config, not the default (de_dust2), then when you start this mini-event a traceback is issued to the console, and players are not teleported to the Spawnpoints of the schematic.

Traceback: [2025-09-22 23:56:44.780 +03:00] [ERROR] [AutoEvent] Details: Version: 9.15.0 Current Event: All Deathmatch ProjectMER Version: 2025.9.17.1 Caught an exception at Event.OnStart(). System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.Collections.Generic.List1[T].get_Item (System.Int32 index) [0x00009] in <069d7b80a3914a08b6825aa362b07f5e>:0 at RandomElement.RandomItem[T] (System.Collections.Generic.List1[T] list) [0x0000d] in <683b197cfbd14f82a3a00d90e64b9cac>:0 at AutoEvent.Games.AllDeathmatch.Plugin.OnStart () [0x0011e] in AutoEvent\Games\AllDeathmatch\Plugin.cs:99 at AutoEvent.Interfaces.Event.OnInternalStart () [0x000a3] in AutoEvent\Interfaces\Event.cs:394

TheGameDaniil avatar Sep 22 '25 20:09 TheGameDaniil

In older version plugin example AutoEvents-9.14.4. I used old method from original plugin temporarily "RandomClass".

TheGameDaniil avatar Sep 22 '25 21:09 TheGameDaniil

@TheGameDaniil The map which you want to use does not have any Spawnpoint_Deathmatch object. It's called this because the Dust2 is used in CSGO too. If you can try to rename the Spawnpoint empty objects to Spawnpoint_Deathmatch and open a new issue if anything wrong.

MedveMarci avatar Sep 25 '25 20:09 MedveMarci