Please fix update oxide
Not an Issue NullReferenceException spam in log (no details)
Discussion in 'Rust Discussion' started by 3rror, Aug 11, 2018.
-
Attached Files:
-
-
Wulf Community Admin
Oxide is updated, and that is a generic NullReferenceException. You'd need to check your logs to see what the full error is and where it is coming from.
-
Code:
NullReferenceException: Object reference not set to an instance of an object at NPCPlayerApex.OnAiQuestion (NPCPlayerApex source, Rust.Ai.AiQuestion_ShareEnemyTarget question) [0x000a7] in <34b1f54ef897408a984fc5263cc0e3f6>:0 at Scientist.AskQuestion (Rust.Ai.AiQuestion_ShareEnemyTarget question, System.Collections.Generic.List`1[Rust.Ai.AiAnswer_ShareEnemyTarget]& answers) [0x0002c] in <34b1f54ef897408a984fc5263cc0e3f6>:0 at Rust.Ai.SharePlayerTargetComm.Execute (Rust.Ai.PlayerTargetContext c) [0x00018] in <34b1f54ef897408a984fc5263cc0e3f6>:0 at Apex.AI.ActionBase`1[TContext].Apex.AI.IAction.Execute (Apex.AI.IAIContext context) [0x00001] in <7bc5c1faa2af4095bd4b5e00ae6066c5>:0 at Apex.AI.CompositeAction.Execute (Apex.AI.IAIContext context) [0x0001e] in <7bc5c1faa2af4095bd4b5e00ae6066c5>:0 at Apex.AI.Components.UtilityAIClient.Execute () [0x00071] in <7bc5c1faa2af4095bd4b5e00ae6066c5>:0 at NPCPlayerApex.TickSensorySystem () [0x000c7] in <34b1f54ef897408a984fc5263cc0e3f6>:0 at NPCPlayerApex.Apex.LoadBalancing.ILoadBalanced.ExecuteUpdate (System.Single deltaTime, System.Single nextInterval) [0x00038] in <34b1f54ef897408a984fc5263cc0e3f6>:0 at Apex.LoadBalancing.LoadBalancedQueue.Update () [0x000ab] in <bb0a7f1370d1429d8f5843f17f216f71>:0 at Apex.LoadBalancing.LoadBalancerComponent.Update () [0x00006] in <bb0a7f1370d1429d8f5843f17f216f71>:0
-
Wulf Community Admin
Oxide doesn't deal with or modify anything related to AI in Rust, so that'd either be Rust or a plugin you are using.
-
I'm getting the same spamming in the log occasionally but have yet to discover the cause. I do have one theory about the Recycler plugin that I will test.
-
not plugins
-
Hi all,
I have been working on my mod (PvX) and at this stage have been trying to handle damage done by helicopters.
What I have found is that some of the damage being done by the helicopters rocket does not have any info except for damage.
Here is an example of the error message:
Code:(23:43:03) | Failed to call hook 'OnEntityTakeDamage' on plugin 'PvXSelector v0.1.0' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.PvXSelector.OnEntityTakeDamage (BaseCombatEntity Target, HitInfo HitInfo) [0x00146] in <421b69b35ac94f028e17c493b40f63dc>:0 at Oxide.Plugins.PvXSelector.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00372] in <421b69b35ac94f028e17c493b40f63dc>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
Code:Puts(hitinfo?.IsProjectile().ToString()); Puts(hitinfo?.material.ToString()); BaseEntity Attacker = HitInfo?.Initiator;
Hope this helps