Kr4ken-9 / NewEssentials

The Essential plugin for Unturned, built on OpenMod
GNU General Public License v3.0
13 stars 13 forks source link

home set error #83

Closed daffyyyy closed 3 years ago

daffyyyy commented 3 years ago

Hi, When I use the HOME SET command, then server throw error:

 [02:03:36 INF][OpenMod.Core.Commands.CommandExecutor] Actor player/[Admin] xxx (xxx) has executed command "home set".
[02:03:36 ERR][OpenMod.Core.Commands.CommandExecutor] Exception occured on command "home set" by actor player/[Admin] xxx (xxx)
System.InvalidCastException: Specified cast is not valid.
  at NewEssentials.Commands.Home.CSetHome+<OnExecuteAsync>d__3.MoveNext () [0x0012a] in <967ec06eb54b4101b6ad1eb9cfbe38d9>: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 <3bd43acd2c244074bad33eb13fe9766a>:0 
  at Cysharp.Threading.Tasks.UniTaskExtensions.AsTask (Cysharp.Threading.Tasks.UniTask task) [0x0001b] in <3bd43acd2c244074bad33eb13fe9766a>: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 () [0x003bb] in <e7c494710e7845bbb43ecef58accb58a>:0 

Any solution?

Kr4ken-9 commented 3 years ago

I was not able to reproduce this error. Do you have any info on how you can trigger this error? Can anyone else confirm they are also having this issue? Can you verify you have the latest version of OpenMod and NewEssentials?

Kr4ken-9 commented 3 years ago

Closing because I can't reproduce this and there has been no response as well as nobody else has appeared to have experienced this issue either.