Dont get the new Version to Start.Solved

I get this error in console, because its conflicts with a other Plug in, i report if i find it. but very nice work that you have make UI :).

12:35 [Error] Failed to initialize plugin 'Imperium v2.2.0' (InvalidCastException: Cannot cast Newtonsoft.Json.Linq.JObject to Newtonsoft.Json.Linq.JToken.)
  at Newtonsoft.Json.Linq.Extensions.Convert[T,U] (T token) [0x0008a] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.Linq.Extensions.Value[T,U] (System.Collections.Generic.IEnumerable`1[T] value) [0x0000b] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.Linq.Extensions.Value[U] (System.Collections.Generic.IEnumerable`1[T] value) [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Oxide.Plugins.Imperium+FactionManager.SyncAllWithClans () [0x00069] in <bd9d336c54224bfda28ffc28ac44864f>:0 
  at Oxide.Plugins.Imperium.Setup () [0x0012a] in <bd9d336c54224bfda28ffc28ac44864f>:0 
  at Oxide.Plugins.Imperium.Loaded () [0x0032a] in <bd9d336c54224bfda28ffc28ac44864f>:0 
  at Oxide.Plugins.Imperium.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00100] in <bd9d336c54224bfda28ffc28ac44864f>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0006e] in <09575a60985045248bcb43b20faeeb99>:0 
12:35 [Info] Unloaded plugin Imperium v2.2.0 by chucklenugget/evict​

Thanks for the report, I will look into it right now.

What version of Clans are you using?

Do you use Rust|IO Clans or k1lly0u's Clans?



Merged post

Can you provide the full log aswell?

Merged post

@BasteGK

I released a new version (2.2.1) with the option to turn off Clans integration

It is the key "useClansPlugin": false in the factions settings .

Turning this off will probably solve this issue for you so you can use the latest version that has important fixes.

But don't forget to provide more details about this issue if you can (plugins used, your Clans data file and config, ect)

 

wow fast ^^, i was searching a little bit more to get more details, i thinking its the Plug ins of the airevent or Junkyard event. Yes i have use a old version this has ccause some Problems (mevents dont need it you have set a buitifull cui, i get it to work now sometimes). But the Problems more here i think. Air event and convoy has conflict on this Hook:

Imperium.OnEntityTakeDamage​


Failed to call hook 'OnEntityTakeDamage' on plugin 'Imperium v2.2.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.Imperium+Raiding.HandleIncidentalDamage (BaseEntity entity, HitInfo hit) [0x00000] in <d9180ae11ff34900bdeebefe87de14e9>:0 
  at Oxide.Plugins.Imperium.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hit) [0x000e9] in <d9180ae11ff34900bdeebefe87de14e9>:0 
  at Oxide.Plugins.Imperium.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x021b5] in <d9180ae11ff34900bdeebefe87de14e9>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0  
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Failed to call hook 'OnEntityTakeDamage' on plugin 'Imperium v2.2.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.Imperium+Raiding.HandleIncidentalDamage (BaseEntity entity, HitInfo hit) [0x00000] in <d9180ae11ff34900bdeebefe87de14e9>:0 
  at Oxide.Plugins.Imperium.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hit) [0x000e9] in <d9180ae11ff34900bdeebefe87de14e9>:0 
  at Oxide.Plugins.Imperium.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x021b5] in <d9180ae11ff34900bdeebefe87de14e9>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0  
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)​


Merged post

You hate me if i write the console spam in this chat ^^ sometime i dont can download the logoutput ^^ , but i can send you a txt version :). i try to cut out the Imperium parts.

00:32 [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'Imperium v2.2.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.Imperium+Decay.AlterDecayDamage (BaseEntity entity, HitInfo hit) [0x00000] in <d9180ae11ff34900bdeebefe87de14e9>:0 
  at Oxide.Plugins.Imperium.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hit) [0x00059] in <d9180ae11ff34900bdeebefe87de14e9>:0 
  at Oxide.Plugins.Imperium.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x021b5] in <d9180ae11ff34900bdeebefe87de14e9>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0 


00:42 [Warning] Calling hook OnEntityTakeDamage resulted in a conflict between the following plugins: NpcSpawn - True (Boolean), Imperium (False (Boolean))



Merged post

I have throw out old shit, now it works perfectly :). But this entity take damage is still there (i think it use extra Ram/CPU. I have Throw out all Clans Plug ins.

Merged post

Calling hook OnEntityTakeDamage resulted in a conflict between the following plugins: Imperium - False (Boolean), AirEvent (True (Boolean)) 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

@BasteGK I uploaded a new version (2.2.2) that might fix all error spam and plugin conflicts with OnEntityTakeDamage hook.

When you are able to, test it and let me know if this version solved the issues. (I can't test it myself because I don't own an AirEvent plugin copy to test since it is a premium plugin)

Yes you do it great work and big thanks :=). Have ahappy and good new Year.

Very fast and good work:=)
and this plug in is Premium+  :)

Thanks for the kind words! Happy new year!

DM me your server so I can join when I have some free time.

Locked automatically