arleypadua / PKHeX.Everywhere

Cross platform tools for interacting with Pokemon save files. The web version runs everywhere and the CLI works with Mac OS, Linux and Windows
https://pkhex-web.github.io
MIT License
16 stars 1 forks source link

Error on PKHeX.Web: Expected 1-6, got 0 Arg_ParamName_Name, value #62

Closed bpfreder closed 1 week ago

bpfreder commented 1 month ago

Error on PKHeX.Web

Message

Expected 1-6, got 0 Arg_ParamName_Name, value

Stack trace

   at PKHeX.Core.SaveFile.set_PartyData(IList`1 value)
   at PKHeX.Facade.PokemonParty.Commit()
   at PKHeX.Facade.Trainer.Commit()
   at PKHeX.Facade.Game.ToByteArray()
   at PKHeX.Web.Services.GameService.Export()
   at PKHeX.Web.Components.LoadGameComponent.ExportSaveAsync()
   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
   at AntDesign.Button.HandleOnClick(MouseEventArgs args)
   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task , ComponentState )
arleypadua commented 1 month ago

I can see that the issue happened when you tried to export the save file, but can you describe a bit the change you've made?

arleypadua commented 1 week ago

closed due to no response