Multiple issues with the pluginFixed

not compatible with HumanNPC from Umod:

when you shoot the NPC 1 time, the healthbar shows up insanely long

then you shoot it again, the HP reverts to the default 100HP and makes custom NPCs useless = /

Failed to call hook 'OnEntityTakeDamage' on plugin 'XPerience v1.0.8' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.XPerience.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitInfo) [0x004ee] in :0 
  at Oxide.Plugins.XPerience.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00e18] in :0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0 
 
Failed to call hook 'OnResearchCostDetermine' on plugin 'XPerience v1.0.8' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.XPerience.OnResearchCostDetermine (Item item, ResearchTable researchTable) [0x0000d] in :0 
  at Oxide.Plugins.XPerience.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01614] in :0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0 
 

Second shot to HumanNPCHumanNPC plugin 1

I don't use the humanNPC mod but I'm pretty sure I know why it's doing this. Will have this fixed in the next update asap.

As for the other research error I'm currently working on that one as it was reported in my discord yesterday.

TeW2yCNZCNCcm5B.jpg MACHIN3

I don't use the humanNPC mod but I'm pretty sure I know why it's doing this. Will have this fixed in the next update asap.

As for the other research error I'm currently working on that one as it was reported in my discord yesterday.

No problem!! ^_^ do take your time, dont stress or overwork yourself!

i know you and all the other devs are insanely busy, and stressed due to FPs disgusting Fuckup

 

LunaZE

No problem!! ^_^ do take your time, dont stress or overwork yourself!

i know you and all the other devs are insanely busy, and stressed due to FPs disgusting Fuckup

 

Do you use "EnemyBar" plugin by any chance?

TeW2yCNZCNCcm5B.jpg MACHIN3

Do you use "EnemyBar" plugin by any chance?

Yes, i do.

the HP bug thingy with HumanNPC only happens when i have XPerience loaded.

when i unload it, the HP is back to normal to the custom values.

yes, the issue is with the EnemyBar pluign, it won't error because the creator has it delete the log before it's shown. I am discussing this exact problem with another developer

Without the EnemyBar mod it works fine

TeW2yCNZCNCcm5B.jpg MACHIN3

yes, the issue is with the EnemyBar pluign, it won't error because the creator has it delete the log before it's shown. I am discussing this exact problem with another developer

Without the EnemyBar mod it works fine

UGH damn it = / 

is there any way to fix that or patch that?



Merged post

actually Machine, i just 100% confirmed, that its XPerience that causes the HumanNPC custom enemies to get reverted to vanilla 100HP.

it is not Oranges plugin that is causing the issue, its 100% XPerience.

 

i can live with the console error.. thats not a biggie, its the actual HP problem that causes all HumanNPC healths to get reverted to 100hp 

TeW2yCNZCNCcm5B.jpg MACHIN3

yes, the issue is with the EnemyBar pluign, it won't error because the creator has it delete the log before it's shown. I am discussing this exact problem with another developer

Without the EnemyBar mod it works fine

Maybe you will show all of us part of code that "creator has it delete the log before it's shown"? If you know what you are talking about of course....

 

I have humanNPC on my test server and cannot replicate your issue. Everything works fine. I do not have the enemybar mod on it and from discussions with another dev they said this issue is from enemybar and they can patch it. 

If I can't replicate this issue I can't fix any problems and so far humanNPC works fine with XPerience on my test server.

Merged post

I will be releasing an update tomorrow sometime that fixes all the other issues and new features. I will continue to try and replicate your issue if I can. I can only go off what I was told by another developer who came across this same issue and claimed its fixed due to enemybar and I can only assume this is the case since I cannot replicate this problem on my test server and so far humanNPC is working fine with XPerience on it.

Merged post

When I release tomorrow's update it will fix the OnEntityTakeDamage error within XPerience as it was caused by NPCs being added to the XPerience data by mistake which is not related to your problem but its unlikely to fix the NPCs health issue your having. Once you have the updated version we can see if any other mod gives you an error that will explain the cause.

Locked automatically