Kr4ken-9 / NewEssentials

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

Update OpenMod libs #32

Closed DiFFoZ closed 3 years ago

DiFFoZ commented 4 years ago
[23:17:26 ERR][OpenMod.Core.Plugins.PluginActivator] Failed to load plugin from type: NewEssentials.NewEssentials in ass
embly: NewEssentials, Version=1.0.3.0, Culture=neutral, PublicKeyToken=null
Autofac.Core.DependencyResolutionException: An exception was thrown while activating NewEssentials.NewEssentials. ---> A
utofac.Core.DependencyResolutionException: None of the constructors found with 'Autofac.Core.Activators.Reflection.Defau
ltConstructorFinder' on type 'NewEssentials.NewEssentials' can be invoked with the available services and parameters:
Cannot resolve parameter 'Microsoft.Extensions.Localization.IStringLocalizer stringLocalizer' of constructor 'Void .ctor
(IStringLocalizer, IConfiguration, IUserDataStore, ITeleportRequestManager, IDataStore, IBroadcastingService, IAfkChecke
r, IPermissionRegistry, IServiceProvider)'.
  at Autofac.Core.Activators.Reflection.ReflectionActivator.GetValidConstructorBindings (System.Reflection.ConstructorIn
fo[] availableConstructors, Autofac.IComponentContext context, System.Collections.Generic.IEnumerable`1[T] parameters) [
0x000b3] in <0e43922c38cb4505ab27fe9ce1207b2d>:0
  at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance (Autofac.IComponentContext context, System.
Collections.Generic.IEnumerable`1[T] parameters) [0x00090] in <0e43922c38cb4505ab27fe9ce1207b2d>:0
  at Autofac.Core.Resolving.InstanceLookup.CreateInstance (System.Collections.Generic.IEnumerable`1[T] parameters) [0x00
02b] in <0e43922c38cb4505ab27fe9ce1207b2d>:0
   --- End of inner exception stack trace ---
  at Autofac.Core.Resolving.InstanceLookup.CreateInstance (System.Collections.Generic.IEnumerable`1[T] parameters) [0x00
061] in <0e43922c38cb4505ab27fe9ce1207b2d>:0
  at Autofac.Core.Resolving.InstanceLookup.<Execute>b__8_0 () [0x00007] in <0e43922c38cb4505ab27fe9ce1207b2d>:0
  at Autofac.Core.Lifetime.LifetimeScope.CreateSharedInstance (System.Guid id, System.Func`1[TResult] creator) [0x00033]
 in <0e43922c38cb4505ab27fe9ce1207b2d>:0
  at Autofac.Core.Lifetime.LifetimeScope.CreateSharedInstance (System.Guid primaryId, System.Nullable`1[T] qualifyingId,
 System.Func`1[TResult] creator) [0x00017] in <0e43922c38cb4505ab27fe9ce1207b2d>:0
  at Autofac.Core.Resolving.InstanceLookup.Execute () [0x000df] in <0e43922c38cb4505ab27fe9ce1207b2d>:0
  at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance (Autofac.Core.ISharingLifetimeScope currentOperationSco
pe, Autofac.ResolveRequest request) [0x00075] in <0e43922c38cb4505ab27fe9ce1207b2d>:0
  at Autofac.Core.Resolving.ResolveOperation.ResolveComponent (Autofac.ResolveRequest request) [0x00000] in <0e43922c38c
b4505ab27fe9ce1207b2d>:0
  at Autofac.Core.Resolving.ResolveOperation.Execute (Autofac.ResolveRequest request) [0x00015] in <0e43922c38cb4505ab27
fe9ce1207b2d>:0
  at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent (Autofac.ResolveRequest request) [0x00033] in <0e43922c38cb450
5ab27fe9ce1207b2d>:0
  at Autofac.ResolutionExtensions.TryResolveService (Autofac.IComponentContext context, Autofac.Core.Service service, Sy
stem.Collections.Generic.IEnumerable`1[T] parameters, System.Object& instance) [0x0002d] in <0e43922c38cb4505ab27fe9ce12
07b2d>:0
  at Autofac.ResolutionExtensions.ResolveService (Autofac.IComponentContext context, Autofac.Core.Service service, Syste
m.Collections.Generic.IEnumerable`1[T] parameters) [0x00030] in <0e43922c38cb4505ab27fe9ce1207b2d>:0
  at Autofac.ResolutionExtensions.Resolve (Autofac.IComponentContext context, System.Type serviceType, System.Collection
s.Generic.IEnumerable`1[T] parameters) [0x00007] in <0e43922c38cb4505ab27fe9ce1207b2d>:0
  at Autofac.ResolutionExtensions.Resolve (Autofac.IComponentContext context, System.Type serviceType) [0x00000] in <0e4
3922c38cb4505ab27fe9ce1207b2d>:0
  at OpenMod.Core.Plugins.PluginActivator+<TryActivatePluginAsync>d__10.MoveNext () [0x00131] in <21ea4cf456254c2b98ca7c
302be2c7e3>:0
Kr4ken-9 commented 4 years ago

New error: [2020-07-30 12:19:30 WRN][OpenMod.Core.Plugins.PluginAssemblyStore] No IOpenModPlugin implementation found in assembly: NewEssentials, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null; skipping loading of this assembly as plugin

DiFFoZ commented 4 years ago

idk but for me is working

Kr4ken-9 commented 4 years ago

In that case I will push this version to NuGet and see if anyone else experiences this error

iamsilk commented 3 years ago

This error no longer occurs. This should be closed.

DiFFoZ commented 3 years ago

ok will close