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

Some bugs caused in the console + logs #96

Open
MihailHavenT opened this issue Apr 23, 2021 · 9 comments
Open

Some bugs caused in the console + logs #96

MihailHavenT opened this issue Apr 23, 2021 · 9 comments
Labels
bug Something isn't working
Milestone

Comments

@MihailHavenT
Copy link

[2021-04-22 16:00:03 ERR][SDG.Unturned] An item with the same key has already been added. Key: 76561199162034626
[2021-04-22 16:00:03 ERR][SDG.Unturned]   at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at NewEssentials.Players.TeleportRequestManager.AddPlayer (SDG.Unturned.SteamPlayer newPlayer) [0x0001b] in <2abb77788607479682f08a5ba9064aeb>:0 
  at (wrapper delegate-invoke) <Module>.invoke_void_SteamPlayer(SDG.Unturned.SteamPlayer)
  at SDG.Unturned.Provider.broadcastEnemyConnected (SDG.Unturned.SteamPlayer player) [0x00009] in <399fcb22e8594d8884ef7daa1d3d3e8e>:0
[2021-04-11 12:36:51 INF][RocketMod] SteamGroupLimiter >> DEBUG: limonsayk leaving, SteamGroup: 103582791469710409 Count: 5/5
[2021-04-11 12:36:51 ERR][OpenMod.Core.Eventing.EventBus] Exception occured during event UnturnedUserConnected
System.NullReferenceException
  at (wrapper managed-to-native) UnityEngine.Component.get_transform(UnityEngine.Component)
  at NewEssentials.Players.AfkChecker+<OnPlayerJoin>d__10.MoveNext () [0x00121] in <2abb77788607479682f08a5ba9064aeb>: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.Eventing.EventBus+<EmitAsync>d__13.MoveNext () [0x00394] in <f7b9aead6a784dc99206028f55c819eb>:0 
@Kr4ken-9 Kr4ken-9 added the bug Something isn't working label Apr 25, 2021
@Kr4ken-9 Kr4ken-9 added this to the 1.5 milestone Apr 25, 2021
@MihailHavenT
Copy link
Author

System.TypeLoadException: Could not resolve type with token 010000aa (from typeref, class/assembly UnityEngine.TransformExtension, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null)
  at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine] (TStateMachine& stateMachine) [0x0002c] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at NewEssentials.Players.AfkChecker.OnPlayerJoin (System.IServiceProvider serviceProvider, System.Object sender, OpenMod.Unturned.Users.Events.UnturnedUserConnectedEvent event) [0x0001c] in <380623d1227f441c97d49cefd3af117a>:0 
  at OpenMod.Core.Eventing.EventBus+<>c__DisplayClass6_0`1[TEvent].<Subscribe>b__0 (System.IServiceProvider serviceProvider, System.Object sender, OpenMod.API.Eventing.IEvent event) [0x00000] in <012f99579d3e413e90879706f607317a>:0 
  at OpenMod.Core.Eventing.EventBus+<EmitAsync>d__13.MoveNext () [0x00311] in <012f99579d3e413e90879706f607317a>:0```

@MihailHavenT
Copy link
Author

[2021-08-18 20:57:42 ERR][OpenMod.Core.Commands.CommandExecutor] Exception occured on command "home" by actor player/CloudBlock19 (76561199178070344)
System.NullReferenceException
  at (wrapper managed-to-native) UnityEngine.Transform.get_position_Injected(UnityEngine.Transform,UnityEngine.Vector3&)
  at UnityEngine.Transform.get_position () [0x00000] in <35c5d27459674015b242994b0c11156b>:0 
  at OpenMod.UnityEngine.Transforms.UnityTransform.get_Position () [0x0000e] in <5f3feafb6232426ebd27d12809c9f891>:0 
  at NewEssentials.Players.TeleportService+<TeleportAsync>d__2.MoveNext () [0x0013a] in <114d4403c5644b089d8d6ae19d67b974>: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`1[TResult].GetResult () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at NewEssentials.Commands.Home.CHome+<OnExecuteAsync>d__6.MoveNext () [0x00354] in <114d4403c5644b089d8d6ae19d67b974>: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.CompilerServices.AsyncUniTask`1[TStateMachine].GetResult (System.Int16 token) [0x00000] in <b570aeb885074593be3f1a2137ad3fbd>:0 
  at Cysharp.Threading.Tasks.UniTaskExtensions+<>c.<AsTask>b__35_0 (System.Object state) [0x00016] 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 <ce9c6583778c41c796de539ccab83bf7>:0 

@MihailHavenT
Copy link
Author

[2021-08-09 22:35:51 ERR][SDG.Unturned] An item with the same key has already been added. Key: 76561199123510239
[2021-08-09 22:35:51 ERR][SDG.Unturned]   at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at NewEssentials.Players.TeleportRequestManager.AddPlayer (SDG.Unturned.SteamPlayer newPlayer) [0x0001b] in <114d4403c5644b089d8d6ae19d67b974>:0 
  at (wrapper delegate-invoke) <Module>.invoke_void_SteamPlayer(SDG.Unturned.SteamPlayer)
  at SDG.Unturned.Provider.broadcastEnemyConnected (SDG.Unturned.SteamPlayer player) [0x00009] in <46c02ba799bc45339b988c80e129c3b1>:0 

@Kr4ken-9
Copy link
Owner

I have tried to fix these errors in 1.4.13. Let me know if it works, I don't have the time to test it myself.

@MihailHavenT
Copy link
Author

Okay sir

@Kr4ken-9
Copy link
Owner

Kr4ken-9 commented Sep 9, 2021

Do these issues appear to be resolved?

@MihailHavenT
Copy link
Author

solved

@MihailHavenT
Copy link
Author

MihailHavenT commented Oct 9, 2021

20211009185311_1
20211009185332_1

@MihailHavenT
Copy link
Author

MihailHavenT commented Oct 10, 2021

Some new suggestions and fixes for the NewEssentials plugin:

  • for kits and a few line translations, it is to add a new cooldown method, elegant style, and easy to understand, I assume to show cooldown in seconds, minutes, hours, and even days if necessary... just like this photo PHOTO
  • at home, add a message in which it says confirmation of success when teleporting to bed.
  • also, at home, add the direct message to say that you don't have a bed at the moment it's annoying to wait 5 seconds, and after that, it says that we don't have a bed claimed on the server.
  • if possible, you can make a way to disable and activate when we want the official icon of the server and modify new icon URL, of course configured all on config.yaml!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants