yeah, someone let me know if there's progress on this front, I'm downloading visual studio and pretty much learning how to mod SMAPI myself to try and change the key lol
Unfortunately I get this error everytime i press TAB. I works well but this error is spamming my SMAPI ...
[Tab Autoloot] This mod failed in the Input.ButtonPressed event. Technical details: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.Collections.Generic.List`1.get_Item(Int32 index) at TabAutolootMod.TabAutolootMod.TabPressed(Object sender, ButtonPressedEventArgs e) in C:\Users\rafae\source\repos\ClassLibrary3\Tab Autoloot\TabAutolootMod.cs:line 25 at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\Events\ManagedEvent.cs:line 88
I suggest posting your source code on GitHub instead. That makes it easier for other modders to contribute fixes and lets you add a license. See open source on the wiki for more info if you're interested.
10 comments
I works well but this error is spamming my SMAPI ...
[Tab Autoloot] This mod failed in the Input.ButtonPressed event. Technical details:
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.Collections.Generic.List`1.get_Item(Int32 index)
at TabAutolootMod.TabAutolootMod.TabPressed(Object sender, ButtonPressedEventArgs e) in C:\Users\rafae\source\repos\ClassLibrary3\Tab Autoloot\TabAutolootMod.cs:line 25
at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\Events\ManagedEvent.cs:line 88