Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on /home set #125

Open
HiddenKitten opened this issue Sep 27, 2021 · 0 comments
Open

error on /home set #125

HiddenKitten opened this issue Sep 27, 2021 · 0 comments

Comments

@HiddenKitten
Copy link

This is the same error as #83 which was closed due to no response and a lack of information to reproduce.

It seems to be related to using any character slot except the 1st, and never having logged in to the server using the 1st slot.
while seemingly fully fixed after connecting (and setting a home) using the first character slot (I can now create and list homes now on the 2nd slot), that's not exactly an ideal solution.
this might be more directly as an issue with OpenMod's IUserDataStore, however I'm unfamiliar with OpenMod myself, so I can't say for sure.
additionally, /homes throws an almost identical error to this, in the circumstances this error occurs.

Host: OpenMod for Unturned v3.2.1+1d5dabcb.1d5dabcb23f2a15e137c0f4175d885f383dfa2b2
[1/1] OpenMod Plugins
New Essentials v1.4.14 by Kr4ken

[OpenMod.Core.Commands.CommandExecutor] Exception occured on command "home set" by actor player/xxx (xxx)
System.InvalidCastException: Specified cast is not valid.
  at NewEssentials.Commands.Home.CSetHome+<OnExecuteAsync>d__3.MoveNext () [0x0012a] in <d64c4a0623f944bb8681e6e2724fc289>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at Cysharp.Threading.Tasks.UniTask+ExceptionResultSource.GetResult (System.Int16 token) [0x00000] in <b570aeb885074593be3f1a2137ad3fbd>:0 
  at Cysharp.Threading.Tasks.UniTaskExtensions.AsTask (Cysharp.Threading.Tasks.UniTask task) [0x0001b] in <b570aeb885074593be3f1a2137ad3fbd>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at OpenMod.Core.Commands.CommandExecutor+<ExecuteAsync>d__7.MoveNext () [0x00396] in <00632370572c4063939f749923ad0c12>:0 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant