TurretInfo

Check the authorized players in a AutoTurret and the victims of it.

Total Downloads: 499 - First Release: Nov 13, 2017 - Last Update: Nov 18, 2017

5/5, 5 likes
  1. ninco90 submitted a new resource:

    TurretInfo - Check the authorized players in a AutoTurret and the victims of it.

    Read more about this resource...
     
  2. ninco90 updated TurretInfo with a new update entry:

    1.0.1

     
  3. looks interesting will test this laters.
     
  4. Code:
    12:33 [Error] Failed to call hook 'OnEntityDeath' on plugin 'TurretInfo v1.0.1' (NullReferenceException: Object reference not set to an instance of an object)
    12:33 [Stacktrace]  at Oxide.Plugins.TurretInfo_OnEntityDeath (.BaseCombatEntity entity, .HitInfo infos) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.TurretInfo.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
    Just fyi............^
     
    Last edited by a moderator: Nov 13, 2017
  5. I will try to add new checks so that it does not happen in the next update. Working on it ;)
     
  6. ninco90 updated TurretInfo with a new update entry:

    1.0.2

     
  7. The Failed To Call Hook Error usually would pop-up after server completed a save.
    Server just completed a save after Update 1.0.2.........No Failed To Hook Error occurred.

    Thanks!
     
  8. Is the same error cited above? It should not be like that, since that could happen when an entity is destroyed.
     
  9. There is no more failed to call hook error.........last update fixed it.....all is good!
     
  10. Hi
    Show owner of the turret in the global chat, and show log in console -
    This is not working, I'm doing something wrong? (config default)
     
  11. Hey, it shows in the chat only for the members of the clans or owner when any turret kills someone? If not how to do it?
     
  12. Are you using the latest version? I recommend you delete the plugin and the config file and download it again. By default the turret information should appear in the chat when a player dies or a player breaks the turret.

    However, I think I will have to replace the configuration method later.

    Let me know if you still have these problems after doing that.
    [DOUBLEPOST=1510773034][/DOUBLEPOST]
    Currently it is shown for everyone, I will add it in future updates so that only the owner can see the messages if this is configured.
     
  13. Two things.

    Can you make it so that typing /turret provides the player with help?

    Also I got this error.

    Code:
    (23:01:42) | Failed to call hook 'cmdAuth' on plugin 'TurretInfo v1.0.2' (IndexOutOfRangeException: Array index is out of range.)
    (23:01:42) | at Oxide.Plugins.TurretInfo.cmdAuth (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.TurretInfo.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
    (23:01:50) | Failed to call hook 'cmdAuth' on plugin 'TurretInfo v1.0.2' (IndexOutOfRangeException: Array index is out of range.)
    (23:01:50) | at Oxide.Plugins.TurretInfo.cmdAuth (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.TurretInfo.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
     
  14. Hello, in the next update I will add help information when using /turret

    About the error ... Is it possible that you have made Wipe on your server but you have not deleted the Data file generated by the plugin? If so, it would be possible for an error to arise. Otherwise, could you tell me when that error appears?
     
  15. Failed to call hook 'cmdAuth' on plugin 'TurretInfo v1.0.2' (IndexOutOfRangeException: Array index is out of range.)
    at Oxide.Plugins.TurretInfo.cmdAuth (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.TurretInfo.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
     
  16. No, only because I wiped two weeks ago and then put the plugin on for the first time.

    I will try to remove all files though and see if that helps.
     
  17. ninco90 updated TurretInfo with a new update entry:

    1.0.3

     
  18. Looks nice. There is already a plugin that uses the /turret command though. Would it be possible to set the /chatcommand in the config as some other plugin devs are beginning to do? That would be very cool as we could set it to /tinfo or something even shorter, and wouldn't clash with a /chatcommand we're already using. :)
     
  19. Code:
    00:03 [Error] Failed to call hook 'cmdAuth' on plugin 'TurretInfo v1.0.2' (IndexOutOfRangeException: Array index is out of range.)
    00:03 [Stacktrace]   at Oxide.Plugins.TurretInfo.cmdAuth (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.TurretInfo.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
    00:04 [Info] [SaveAnnouncer] <color=green>Bumfuzzler Modtopia</color> map/environment being saved. Lag doubtful, but possible.
    00:04 [Error] Failed to call hook 'cmdAuth' on plugin 'TurretInfo v1.0.2' (IndexOutOfRangeException: Array index is out of range.)
    00:04 [Stacktrace]   at Oxide.Plugins.TurretInfo.cmdAuth (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.TurretInfo.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
    00:04 [Error] Failed to call hook 'cmdAuth' on plugin 'TurretInfo v1.0.2' (IndexOutOfRangeException: Array index is out of range.)
    00:04 [Stacktrace]   at Oxide.Plugins.TurretInfo.cmdAuth (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.TurretInfo.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
    00:05 [Info] TurretInfo was compiled successfully in 2875ms
    00:05 [Info] [Magic Description] Server description updated!
    00:05 [Info] Unloaded plugin TurretInfo v1.0.2 by ninco90
    00:05 [Info] [Magic Description] Server description updated!
    00:05 [Info] Loaded plugin TurretInfo v1.0.3 by ninco90
    00:06 [Error] Failed to call hook 'cmdAuth' on plugin 'TurretInfo v1.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    00:06 [Stacktrace]   at Oxide.Plugins.TurretInfo.cmdAuth (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.TurretInfo.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 
     
  20. Is this plugin working? It doesn't appear to on my server.