EvolutionPlugins / Dummy

Unturned / OpenMod plugin. Spawns a dummy and shows the amount of damage.
MIT License
21 stars 7 forks source link

Seems to be unusable? Or my own problem #55

Closed y1meng closed 1 month ago

y1meng commented 6 months ago

` [22:19:42 INF][OpenMod.Core.Commands.CommandExecutor] Actor player/Yzzzzz (76561198214111687) has executed command "dummy create" NullReferenceException: Object reference not set to an instance of an object at SDG.Unturned.PlayerSkills.mastery (System.Int32 speciality, System.Int32 index) [0x00006] in :0 at SDG.Unturned.PlayerStance.GetStealthDetectionRadius () [0x00192] in :0 at SDG.Unturned.PlayerStance.Update () [0x002ff] in :0

NullReferenceException: Object reference not set to an instance of an object at SDG.Unturned.PlayerInput.FixedUpdate () [0x00620] in :0

[22:19:42 ERR][OpenMod.Core.Commands.CommandExecutor] Exception occured on command "dummy create" by actor player/Yzzzzz (76561198214111687) System.MissingFieldException: Field not found: SDG.Unturned.ClientMethodInfo[] SDG.Unturned.NetReflection.clientMethods Due to: Could not find field in class at SDG.Unturned.NetMessages.SendMessageToClient (SDG.Unturned.EClientMessage index, SDG.NetTransport.ENetReliability reliability, SDG.NetTransport.ITransportConnection transportConnection, SDG.Unturned.NetMessages+ClientWriteHandler callback) [0x0002c] in :0 at SDG.Unturned.Provider.accept (SDG.Unturned.SteamPlayerID playerID, System.Boolean isPro, System.Boolean isAdmin, System.Byte face, System.Byte hair, System.Byte beard, UnityEngine.Color skin, UnityEngine.Color color, UnityEngine.Color markerColor, System.Boolean hand, System.Int32 shirtItem, System.Int32 pantsItem, System.Int32 hatItem, System.Int32 backpackItem, System.Int32 vestItem, System.Int32 maskItem, System.Int32 glassesItem, System.Int32[] skinItems, System.String[] skinTags, System.String[] skinDynamicProps, SDG.Unturned.EPlayerSkillset skillset, System.String language, Steamworks.CSteamID lobbyID, SDG.Unturned.EClientPlatform clientPlatform) [0x001d0] in :0 at Dummy.Services.DummyUserProvider.AddDummyAsync (System.Nullable1[T] id, System.Collections.Generic.HashSet1[T] owners, OpenMod.Unturned.Users.UnturnedUser userCopy, Dummy.Models.ConfigurationSettings settings) [0x0077c] in <67a02dbdc0a14d1ea645c492399ae60a>:0 at Dummy.Commands.CommandDummyCreate.OnExecuteAsync () [0x000ff] in <67a02dbdc0a14d1ea645c492399ae60a>:0 at OpenMod.Core.Commands.CommandExecutor.ExecuteAsync (OpenMod.API.Commands.ICommandActor actor, System.String[] args, System.String prefix) [0x0034c] in /_/framework/OpenMod.Core/Commands/CommandExecutor.cs:92 NullReferenceException: Object reference not set to an instance of an object at SDG.Unturned.PlayerInput.FixedUpdate () [0x00620] in :0

NullReferenceException: Object reference not set to an instance of an object at SDG.Unturned.PlayerInput.FixedUpdate () [0x00620] in :0

NullReferenceException: Object reference not set to an instance of an object at SDG.Unturned.PlayerInput.FixedUpdate () [0x00620] in :0

NullReferenceException: Object reference not set to an instance of an object at SDG.Unturned.PlayerInput.FixedUpdate () [0x00620] in :0

NullReferenceException: Object reference not set to an instance of an object at SDG.Unturned.PlayerInput.FixedUpdate () [0x00620] in :0

NullReferenceException: Object reference not set to an instance of an object at SDG.Unturned.PlayerSkills.mastery (System.Int32 speciality, System.Int32 index) [0x00006] in :0 at SDG.Unturned.PlayerStance.GetStealthDetectionRadius () [0x00192] in :0 at SDG.Unturned.PlayerStance.Update () [0x002ff] in :0

NullReferenceException: Object reference not set to an instance of an object at SDG.Unturned.PlayerInput.FixedUpdate () [0x00620] in :0

NullReferenceException: Object reference not set to an instance of an object at SDG.Unturned.PlayerInput.FixedUpdate () [0x00620] in :0

NullReferenceException: Object reference not set to an instance of an object

`

DiFFoZ commented 1 month ago

Fixed a long time ago