ninco90 submitted a new resource:
TurretInfo - Check the authorized players in a AutoTurret and the victims of it.
Read more about this resource...

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
-
ninco90 updated TurretInfo with a new update entry:
1.0.1
-
looks interesting will test this laters.
-
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
Last edited by a moderator: Nov 13, 2017 -
-
ninco90 updated TurretInfo with a new update entry:
1.0.2
-
Server just completed a save after Update 1.0.2.........No Failed To Hook Error occurred.
Thanks! -
-
-
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) -
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?
-
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] -
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
-
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? -
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 -
I will try to remove all files though and see if that helps. -
ninco90 updated TurretInfo with a new update entry:
1.0.3
-
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.
-
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
-
Is this plugin working? It doesn't appear to on my server.