TriggeredExplosiveCharges

Moved

Total Downloads: 1,798 - First Release: Mar 16, 2017 - Last Update: Jun 10, 2018

5/5, 11 likes
  1. Bug
    Code:
    (17:14:23) | Failed to call hook 'OnPlayerInput' on plugin 'TriggeredExplosiveCharges v1.0.16' (NullReferenceException: )
    at (wrapper managed-to-native) UnityEngine.Component:get_transform ()
    at Oxide.Plugins.TriggeredExplosiveCharges+TriggeredExplosivesManager.FakeC4_To_RealC4 (.DroppedItem fakeC4) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.TriggeredExplosiveCharges+TriggeredExplosivesManager.Explode (Boolean forceExplode) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.TriggeredExplosiveCharges.OnPlayerInput (.BasePlayer player, .InputState input) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.TriggeredExplosiveCharges.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
  2. I couldn't reproduce the error so far. Could you explain in more detail when this error happend?
     
  3. Here is a video that shows the bug

     
  4. Thanks for the video. I probably know which line of code generates the error message, but I don't know why. :confused: I added some server messages for debugging to the attached a file. You can try it if you want and send me the output of the server console again. Also, clearing the data file ("rustserver\oxide\data\TriggeredExplosiveCharges.json") or restarting the server might help.
     

    Attached Files:

  5. OK, thanks . I will test and I will keep you running
     
  6. No more orders have been placed since the update on 05/03/18
     

    Attached Files:

  7. (20:02:22) | Error while compiling: TriggeredExplosiveCharges.cs(528,79): error CS1503: Argument `#1' cannot convert `UnityEngine.Quaternion' expression to type `UnityEngine.Vector3'
    [DOUBLEPOST=1525629773][/DOUBLEPOST](20:02:44) | Protocol: 2086.162.1

    Build Date: 05/03/2018 17:58:25

    Unity Version: 2017.1.3f1

    Changeset: 26795

    Branch: release

    Oxide.Rust Version: 2.0.3917
     
  8. If you get above error message, because of the new rust update, change line 525 until this gets fixed.

    change:
    Code:
    if (Physics.Raycast(player.eyes.position, Quaternion.Euler(player.GetNetworkRotation()) * Vector3.forward, out hitinfo, 30f,
    into:
    Code:
    if (Physics.Raycast(player.eyes.position, player.GetNetworkRotation() * Vector3.forward, out hitinfo, 30f,
     
  9. thank you very much
     
  10. (15:31:33) | Calling 'OnPlayerActiveItemChanged' on 'TriggeredExplosiveCharges v1.0.17' took 555ms [GARBAGE COLLECT]

     
  11. bug
    (06:39:02) | Calling 'OnPlayerActiveItemChanged' on 'TriggeredExplosiveCharges v1.0.18' took 103ms
     
    Last edited by a moderator: Jun 12, 2018
  12. (07:25:49) | Failed to call hook 'OnPlayerActiveItemChanged' on plugin 'TriggeredExplosiveCharges v1.0.18' (NullReferenceException: Object reference not set to an instance of an object)

    at Oxide.Plugins.TriggeredExplosiveCharges+TriggeredExplosivesManager..ctor (BasePlayer player) [0x00036] in <3f44fc5d129348b6b06330d9bab45ffb>:0

    at Oxide.Plugins.TriggeredExplosiveCharges.OnPlayerInit (BasePlayer player) [0x00015] in <3f44fc5d129348b6b06330d9bab45ffb>:0

    at Oxide.Plugins.TriggeredExplosiveCharges.OnPlayerActiveItemChanged (BasePlayer player, Item oldItem, Item newItem) [0x00000] in <3f44fc5d129348b6b06330d9bab45ffb>:0

    at Oxide.Plugins.TriggeredExplosiveCharges.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005dd] in <3f44fc5d129348b6b06330d9bab45ffb>:0

    at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09b255f9a88d4ffda4779759134e116d>:0

    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ba44835247a74c58bf6cabef8b441b56>:0

    at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ba44835247a74c58bf6cabef8b441b56>:0
    [DOUBLEPOST=1529731689][/DOUBLEPOST]++++
    07:27:50) | Calling 'OnPlayerActiveItemChanged' on 'TriggeredExplosiveCharges v1.0.18' took 134ms

    (07:27:50) | Calling 'OnPlayerActiveItemChanged' on 'TriggeredExplosiveCharges v1.0.18' took 132ms

    (07:27:50) | Calling 'OnPlayerActiveItemChanged' on 'TriggeredExplosiveCharges v1.0.18' took 135ms

    (07:27:51) | Calling 'OnPlayerActiveItemChanged' on 'TriggeredExplosiveCharges v1.0.18' took 135ms

    (07:27:51) | Calling 'OnPlayerActiveItemChanged' on 'TriggeredExplosiveCharges v1.0.18' took 126ms

    (
     
  13. Beeping does not stop after 10 seconds and this console error:
    Code:
    Failed to run a 10.00 timer in 'TriggeredExplosiveCharges v1.0.18' (NullReferenceException: Object reference not set to an instance of an object)
        at Oxide.Plugins.TriggeredExplosiveCharges+TriggeredExplosivesManager.RealC4_To_FakeC4 (TimedExplosive realC4) [0x0001d] in <dca01771f0c841ce899d08ffb8767e87>:0
        at Oxide.Plugins.TriggeredExplosiveCharges+TriggeredExplosivesManager+<DeployExplosive>c__AnonStorey0.<>m__0 () [0x00011] in <dca01771f0c841ce899d08ffb8767e87>:0
        at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <4452f821def6406d834e4149849fe7ea>:0 
     
  14. Anyone had any issues with their shop despawning? The foundation and walls are still there but the cupboard and vending machine are gone.
     
  15. Thanks for pointing it out. I fixed it, but I can't post an update at the moment (probably due to migration to uMod). New version is attached to this post.

    Yes, I just noticed this, too. I think it happens when you build around the shop, or when somthing attached to the building breaks. Not fixed yet, though.
     
  16. Wulf

    Wulf Community Admin

    You're good to go on the new site. :)