1. Wolf, hook "CanUseDoor" not work
    Plugin Friends API, share door for friend don't work. This plugin uses CanUseDoor
     
    Last edited by a moderator: Nov 5, 2016
  2. Wulf

    Wulf Community Admin

    Update Oxide, there was a build yesterday for that issue.
     
  3. I'm on a new build still not working
     
  4. Wulf

    Wulf Community Admin

    Check the Oxide.version command
     
  5. (03:23:52) | Oxide 2.0.2655 for Rust 1058.78 (1920)
     
  6. Wulf

    Wulf Community Admin

    You aren't on the latest build that has it fixed.
     
  7. I just downloaded the latest version again and nothing works In the version amended hook OnItemCraftFinished
    I have not worked CanUseDoor
     
  8. Wulf

    Wulf Community Admin

    CanUseLock and CanUseDoor should work fully in the latest Oxide update. If you were using CanUseDoor, it was not returning true/false to the new hook that replaced it.
     
  9. Friends API | Page 12 | Oxide
    Here read people's comments
    this problem many
     
  10. Wulf

    Wulf Community Admin

    Okay? Solution is to update. More fixes were added in build 2669.
     
  11. Hooray=)
    Thx Wolf!
     
  12. (05:11:07) | [Oxide] 06:11 [Error] Failed to call hook 'CanUseLock' on plugin 'RustCore v1.0.2665' (NullReferenceException: Object reference not set to an instance of an object)

    (05:11:07) | [Oxide] 06:11 [Debug] at Oxide.Game.Rust.RustCore.CanUseLock (.BasePlayer player, .BaseLock lock) [0x00000] in <filename unknown>:0

    at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)

    at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0

    And I use bool false/true, CodeLock no noise
     
  13. Wulf

    Wulf Community Admin

    2665 is still outdated.
     
  14. Got it, expect updates

    Oxide build 2.0.2693 fixed?
     
    Last edited by a moderator: Nov 6, 2016
  15. Wulf

    Wulf Community Admin

    It was fixed in the build I told you about before, build 2669. Any builds above that are also fixed.
     
  16. He throws a lot of mistakes, CanUseDoor and when I do through bool true / false function does not work all the code locks sounds
     
  17. not.
    with last steam update
    and last oxide update
    FriendsAPI is still giving the hook error
     
  18. Wulf

    Wulf Community Admin

    I'd need to see updated logs.
     
  19. Code:
    (20:11:07) | [Oxide] 21:11 [Error] Failed to call hook 'CanUseLock' on plugin 'RustCore v1.0.2665' (NullReferenceException: Object reference not set to an instance of an object)
    (20:11:07) | [Oxide] 21:11 [Debug]   at Oxide.Game.Rust.RustCore.CanUseLock (.BasePlayer player, .BaseLock lock) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    (20:11:08) | [Oxide] 21:11 [Error] Failed to call hook 'CanUseLock' on plugin 'RustCore v1.0.2665' (NullReferenceException: Object reference not set to an instance of an object)
    (20:11:08) | [Oxide] 21:11 [Debug]   at Oxide.Game.Rust.RustCore.CanUseLock (.BasePlayer player, .BaseLock lock) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    (20:11:11) | [Oxide] 21:11 [Error] Failed to call hook 'CanUseLock' on plugin 'RustCore v1.0.2665' (NullReferenceException: Object reference not set to an instance of an object)
    (20:11:11) | [Oxide] 21:11 [Debug]   at Oxide.Game.Rust.RustCore.CanUseLock (.BasePlayer player, .BaseLock lock) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    (20:11:13) | [Oxide] 21:11 [Error] Failed to call hook 'CanUseLock' on plugin 'RustCore v1.0.2665' (NullReferenceException: Object reference not set to an instance of an object)
    (20:11:13) | [Oxide] 21:11 [Debug]   at Oxide.Game.Rust.RustCore.CanUseLock (.BasePlayer player, .BaseLock lock) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    (20:11:18) | [Oxide] 21:11 [Error] Failed to call hook 'CanUseLock' on plugin 'RustCore v1.0.2665' (NullReferenceException: Object reference not set to an instance of an object)
    (20:11:18) | [Oxide] 21:11 [Debug]   at Oxide.Game.Rust.RustCore.CanUseLock (.BasePlayer player, .BaseLock lock) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    (20:11:20) | [Oxide] 21:11 [Error] Failed to call hook 'CanUseLock' on plugin 'RustCore v1.0.2665' (NullReferenceException: Object reference not set to an instance of an object)
    (20:11:20) | [Oxide] 21:11 [Debug]   at Oxide.Game.Rust.RustCore.CanUseLock (.BasePlayer player, .BaseLock lock) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    (20:11:27) | [Oxide] 21:11 [Error] Failed to call hook 'CanUseLock' on plugin 'RustCore v1.0.2665' (NullReferenceException: Object reference not set to an instance of an object)
    (20:11:27) | [Oxide] 21:11 [Debug]   at Oxide.Game.Rust.RustCore.CanUseLock (.BasePlayer player, .BaseLock lock) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    (20:11:30) | [Oxide] 21:11 [Error] Failed to call hook 'CanUseLock' on plugin 'RustCore v1.0.2665' (NullReferenceException: Object reference not set to an instance of an object)
    (20:11:30) | [Oxide] 21:11 [Debug]   at Oxide.Game.Rust.RustCore.CanUseLock (.BasePlayer player, .BaseLock lock) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    (20:11:31) | [Oxide] 21:11 [Error] Failed to call hook 'CanUseLock' on plugin 'RustCore v1.0.2665' (NullReferenceException: Object reference not set to an instance of an object)
    (20:11:31) | [Oxide] 21:11 [Debug]   at Oxide.Game.Rust.RustCore.CanUseLock (.BasePlayer player, .BaseLock lock) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
    More error
     
  20. Wulf

    Wulf Community Admin

    You aren't updated.