srb2thepast / osu-alltrick

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

osu file format v9 cannot be imported due to the "BeatmapID:" field not existing. #6

Closed srb2thepast closed 1 year ago

srb2thepast commented 1 year ago

Maybe there should be an additional box that asks for that id.

Prompt Output: [runtime] 2022-11-24 04:28:58 [error]: An unhandled error has occurred. [runtime] 2022-11-24 04:28:58 [error]: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter 'index') [runtime] 2022-11-24 04:28:58 [error]: at System.Linq.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument) [runtime] 2022-11-24 04:28:58 [error]: at System.Linq.Enumerable.ElementAt[TSource](IEnumerable`1 source, Int32 index) [runtime] 2022-11-24 04:28:58 [error]: at osuAT.Game.ApiScoreProcessor.GetMapFolder(OsuBeatmap osuMap) in C:\Users\alexh\Documents\osu!alltrick\osuAT\osuAT.Game\ApiScoreProcessor.cs:line 111 [runtime] 2022-11-24 04:28:58 [error]: at osuAT.Game.ApiScoreProcessor.ConvertToScore(OsuPlay osuScore, OsuApiBeatmap osuMap) in C:\Users\alexh\Documents\osu!alltrick\osuAT\osuAT.Game\ApiScoreProcessor.cs:line 131 [runtime] 2022-11-24 04:28:58 [error]: at osuAT.Game.ApiScoreProcessor.SaveToStorageIfValid(OsuPlay osuScore, BeatmapReturner mapRet) in C:\Users\alexh\Documents\osu!alltrick\osuAT\osuAT.Game\ApiScoreProcessor.cs:line 181 [runtime] 2022-11-24 04:28:58 [error]: at osuAT.Game.ImportButton.MapIDBox.processMap(String mapID) in C:\Users\alexh\Documents\osu!alltrick\osuAT\osuAT.Game\Screens\ImportButton.cs:line 289 [runtime] 2022-11-24 04:28:58 [error]: 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 238 [runtime] 2022-11-24 04:28:58 [error]: at osu.Framework.Graphics.UserInterface.TextBox.OnKeyDown(KeyDownEvent e) [runtime] 2022-11-24 04:28:58 [error]: at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found) [runtime] 2022-11-24 04:28:58 [error]: at osu.Framework.Input.ButtonEventManager`1.PropagateButtonEvent(IEnumerable`1 drawables, UIEvent e) [runtime] 2022-11-24 04:28:58 [error]: at osu.Framework.Input.ButtonEventManager`1.handleButtonDown(InputState state) [runtime] 2022-11-24 04:28:58 [error]: at osu.Framework.Input.InputManager.HandleKeyboardKeyStateChange(ButtonStateChangeEvent`1 keyboardKeyStateChange) [runtime] 2022-11-24 04:28:58 [error]: at osu.Framework.Input.UserInputManager.HandleInputStateChange(InputStateChangeEvent inputStateChange) [runtime] 2022-11-24 04:28:58 [error]: at osu.Framework.Input.StateChanges.ButtonInput`1.Apply(InputState state, IInputStateChangeHandler handler) [runtime] 2022-11-24 04:28:58 [error]: at osu.Framework.Input.InputManager.Update() [runtime] 2022-11-24 04:28:58 [error]: at osu.Framework.Input.PassThroughInputManager.Update() [runtime] 2022-11-24 04:28:58 [error]: at osu.Framework.Graphics.Drawable.UpdateSubTree() [runtime] 2022-11-24 04:28:58 [error]: at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree() [runtime] 2022-11-24 04:28:58 [error]: at osu.Framework.Platform.GameHost.UpdateFrame() [runtime] 2022-11-24 04:28:58 [error]: at osu.Framework.Threading.GameThread.processFrame()