srb2thepast / osu-alltrick

A trainer for every skill in the rhythm game osu!
MIT License
12 stars 0 forks source link

App crashes when score with Touch Device is imported #12

Closed TempJokeAccount closed 1 year ago

TempJokeAccount commented 1 year ago

import any score with the td mod to reproduce

   at osuAT.Game.Types.ModStore.ConvertToOsuMod(ModInfo mod) in C:\Users\alexh\Documents\osu!alltrick\osuAT\osuAT.Game\Types\ModStore.cs:line 74
   at osuAT.Game.Types.BeatmapContents..ctor(String osufile, RulesetInfo ruleset, List`1 mods) in C:\Users\alexh\Documents\osu!alltrick\osuAT\osuAT.Game\Types\BeatmapContents.cs:line 68
   at osuAT.Game.Types.Beatmap.LoadMapContents(RulesetInfo ruleset, List`1 mods) in C:\Users\alexh\Documents\osu!alltrick\osuAT\osuAT.Game\Types\Beatmap.cs:line 83
   at osuAT.Game.Types.Score.Register(Boolean calcPP, Boolean setDate, Int32 index, Boolean setGUID, Boolean loadBeatmapContents) in C:\Users\alexh\Documents\osu!alltrick\osuAT\osuAT.Game\Types\Score.cs:line 154
   at osuAT.Game.ApiScoreProcessor.SaveToStorageIfValid(OsuPlay osuScore, BeatmapReturner mapRet) in C:\Users\alexh\Documents\osu!alltrick\osuAT\osuAT.Game\ApiScoreProcessor.cs:line 191
   at osuAT.Game.ImportButton.MapIDBox.processMap(String mapID) in C:\Users\alexh\Documents\osu!alltrick\osuAT\osuAT.Game\Screens\ImportButton.cs:line 291
   at osuAT.Game.ImportButton.MapIDBox.<load>b__5_0(TextBox box, Boolean target) in C:\Users\alexh\Documents\osu!alltrick\osuAT\osuAT.Game\Screens\ImportButton.cs:line 239
   at osu.Framework.Graphics.UserInterface.TextBox.Commit()
   at osu.Framework.Graphics.UserInterface.TextBox.OnKeyDown(KeyDownEvent e)
   at osu.Framework.Input.ButtonEventManager`1.<>c__DisplayClass14_0.<PropagateButtonEvent>b__0(Drawable target)
   at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   at osu.Framework.Input.ButtonEventManager`1.PropagateButtonEvent(IEnumerable`1 drawables, UIEvent e)
   at osu.Framework.Input.KeyEventManager.HandleButtonDown(InputState state, List`1 targets)
   at osu.Framework.Input.ButtonEventManager`1.handleButtonDown(InputState state)
   at osu.Framework.Input.ButtonEventManager`1.HandleButtonStateChange(InputState state, ButtonStateChangeKind kind)
   at osu.Framework.Input.InputManager.HandleKeyboardKeyStateChange(ButtonStateChangeEvent`1 keyboardKeyStateChange)
   at osu.Framework.Input.UserInputManager.HandleInputStateChange(InputStateChangeEvent inputStateChange)
   at osu.Framework.Input.StateChanges.ButtonInput`1.Apply(InputState state, IInputStateChangeHandler handler)
   at osu.Framework.Input.InputManager.Update()
   at osu.Framework.Input.PassThroughInputManager.Update()
   at osu.Framework.Graphics.Drawable.UpdateSubTree()
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree()
   at osu.Framework.Platform.GameHost.UpdateFrame()
   at osu.Framework.Threading.GameThread.processFrame()
--- End of stack trace from previous location ---
   at osu.Framework.Platform.GameHost.<>c__DisplayClass133_0.<abortExecutionFromException>b__0()
   at osu.Framework.Threading.ScheduledDelegate.RunTaskInternal()
   at osu.Framework.Threading.Scheduler.Update()
   at osu.Framework.Threading.GameThread.processFrame()
   at osu.Framework.Threading.GameThread.RunSingleFrame()
   at osu.Framework.Platform.ThreadRunner.RunMainLoop()
   at osu.Framework.Platform.GameHost.windowUpdate()
   at osu.Framework.Platform.SDL2DesktopWindow.Run()
   at osu.Framework.Platform.GameHost.Run(Game game)
   at osuAT.Desktop.Program.Main() in C:\Users\alexh\Documents\osu!alltrick\osuAT\osuAT.Desktop\Program.cs:line 37
 ----------- ERROR MESSAGE: 
 ----------- Could not find a lazer-mod equivalent.