ComponentBlocker

Moved

Total Downloads: 2,274 - First Release: Oct 18, 2015 - Last Update: Feb 4, 2017

5/5, 11 likes
  1. Good to see it doesn't only happen on my server :(
     
  2. Yeah, it's becoming quite a problem - especially when trying to run a fairly heavily populated server. Myself and my admins are having to resolve each and every complaint by spawning in whatever was not refunded to each player. I was hoping we were going to be seeing the XP system implemented by now so it wouldn't be an issue anymore, but it doesn't look like we are getting that in the near future at least.
     
  3. MD2

    MD2

    How to remove all entities generate by procedural map exept trees, animals and prefabs (radtowns)?
     
  4. Code:
    (23:26:52) | [Oxide] 23:26 [Error] Failed to call hook 'OnBlueprintReveal' on plugin 'ComponentBlocker v0.0.8' (InvalidCastException: Cannot cast from source type to destination type.)
    (23:26:52) | [Oxide] 23:26 [Debug]   at Oxide.Plugins.ComponentBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (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 name, System.Object[] args) [0x00000] in <filename unknown>:0
    (23:26:57) | [Oxide] 23:26 [Error] Failed to call hook 'OnBlueprintReveal' on plugin 'ComponentBlocker v0.0.8' (InvalidCastException: Cannot cast from source type to destination type.)
    (23:26:57) | [Oxide] 23:26 [Debug]   at Oxide.Plugins.ComponentBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (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 name, System.Object[] args) [0x00000] in <filename unknown>:0
    (23:27:00) | [Oxide] 23:27 [Error] Failed to call hook 'OnBlueprintReveal' on plugin 'ComponentBlocker v0.0.8' (InvalidCastException: Cannot cast from source type to destination type.)
    (23:27:00) | [Oxide] 23:27 [Debug]   at Oxide.Plugins.ComponentBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (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 name, System.Object[] args) [0x00000] in <filename unknown>:0
    (23:27:04) | [Oxide] 23:27 [Error] Failed to call hook 'OnBlueprintReveal' on plugin 'ComponentBlocker v0.0.8' (InvalidCastException: Cannot cast from source type to destination type.)
    (23:27:04) | [Oxide] 23:27 [Debug]   at Oxide.Plugins.ComponentBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (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 name, System.Object[] args) [0x00000] in <filename unknown>:0
    (23:27:09) | [Oxide] 23:27 [Info] [Death Notes] TapionJr ssj tiene una vida dura en Hogwarts.
    (23:27:12) | [Oxide] 23:27 [Error] Failed to call hook 'OnBlueprintReveal' on plugin 'ComponentBlocker v0.0.8' (InvalidCastException: Cannot cast from source type to destination type.)
    (23:27:12) | [Oxide] 23:27 [Debug]   at Oxide.Plugins.ComponentBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (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 name, System.Object[] args) [0x00000] in <filename unknown>:0
     
  5. Wulf

    Wulf Community Admin

    Try the below please.
     

    Attached Files:

  6. i love u, I want a child of yours
     
  7. MD2

    MD2

    who can help me?
     
  8. Wulf

    Wulf Community Admin

    If you are referring to nodes and such, I don't think you can.
     
  9. [Oxide] 02:30 [Debug] at Oxide.Plugins.ComponentBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (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 name, System.Object[] args) [0x00000] in <filename unknown>:0
     
  10. Code:
    (02:50:06) | [Oxide] 02:50 [Error] Failed to call hook 'OnBlueprintReveal' on plugin 'ComponentBlocker v0.0.8' (InvalidCastException: Cannot cast from source type to destination type.)
    (02:50:06) | [Oxide] 02:50 [Debug]   at Oxide.Plugins.ComponentBlocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (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 name, System.Object[] args) [0x00000] in <filename unknown>:0
     
  11. /blocklist, /blockerlist /block list does not work in console for me at all. also when i block stuff from crafting does that mean it blocks from spawning in aswell?
     
  12. Code:
    [07/07/2016 22:01:00] [Oxide] 22:00 [Error] Error while compiling ComponentBlocker.cs(466,42): error CS1061: Type `ProtoBuf.PersistantPlayer' does not contain a definition for `blueprints' and no extension method `blueprints' of type `ProtoBuf.PersistantPlayer' could be found. Are you missing an assembly reference?
     
  13. Calytic

    Calytic Community Admin Community Mod

  14. Code:
    [07/14/2016 21:01:50] [Oxide] 21:01 [Error] Error while compiling ComponentBlocker.cs(539,89): error CS1061: Type `BaseNetworkable' does not contain a definition for `LookupShortPrefabName' and no extension method `LookupShortPrefabName' of type `BaseNetworkable' could be found. Are you missing an assembly reference?
     
  15. Wulf

    Wulf Community Admin

    Quickfix, untested. Replaced LookupPrefabName() with LookupPrefab().name and removed LookupShortPrefabName().
     

    Attached Files:

  16. [Oxide] 03:05 [Error] ComponentBlocker plugin failed to compile!
    [Oxide] 03:05 [Error] ComponentBlocker.cs(539,89): error CS1061: Type `BaseNetworkable' does not contain a definition for `LookupShortPrefabName' and no extension method `LookupShortPrefabName' of type `BaseNetworkable' could be found. Are you missing an assembly reference?
     
  17. Any chance of a fix?
     
  18. Code:
    [07/16/2016 22:00:17] [Oxide] 22:00 [Error] ComponentBlocker plugin failed to compile!
    [07/16/2016 22:00:17] [Oxide] 22:00 [Error] ComponentBlocker.cs(539,89): error CS1061: Type `BaseNetworkable' does not contain a definition for `LookupShortPrefabName' and no extension method `LookupShortPrefabName' of type `BaseNetworkable' could be found. Are you missing an assembly reference?
     
  19. Code:
    [07/16/2016 22:46:16] [Oxide] 22:46 [Error] ComponentBlocker.cs(395,40): error CS1061: Type `Deployer' does not contain a definition for `ownerPlayer' and no extension method `ownerPlayer' of type `Deployer' could be found. Are you missing an assembly reference?
    error with oxide 2.0.2191
     
  20. any fixes for 2.0.2191 yet?