TurretConfig

Moved

Total Downloads: 4,361 - First Release: Nov 3, 2015 - Last Update: May 13, 2017

5/5, 24 likes
  1. not sure whet caused this I was just going through the rcon and saw this. Im running oxide version 2.0.3266 and rust protocol 1985.144.1 build date: 5/11/2017 1:17:00 PM

    Code:
    (22:08:41) | Failed to call hook 'OnEntitySpawned' on plugin 'TurretConfig v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    (22:08:41) | at Oxide.Plugins.TurretConfig.InitializeTurret (.BaseCombatEntity turret, Single turretHealth, Boolean justCreated) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.TurretConfig.UpdateAutoTurret (.AutoTurret turret, Boolean justCreated) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.TurretConfig.OnEntitySpawned (.BaseNetworkable entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.TurretConfig.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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
  2. Reload new cfg (turret plugin -delete old one) helped me ;)
     
    Last edited by a moderator: May 12, 2017
  3. this is what happened when I did what you did. so I took it out. :)

    Code:
    (00:37:13) | Failed to initialize plugin 'TurretConfig v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    (00:37:13) | at Oxide.Plugins.TurretConfig.InitializeTurret (.BaseCombatEntity turret, Single turretHealth, Boolean justCreated) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.TurretConfig.UpdateAutoTurret (.AutoTurret turret, Boolean justCreated) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.TurretConfig.LoadAutoTurrets () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.TurretConfig.Loaded () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.TurretConfig.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.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
    (00:37:13) | Unloaded plugin TurretConfig v2.0.3 by Calytic
    (00:37:13) | No previous version to rollback plugin: TurretConfig
     
  4. Did you remove config ? ( both ).
     
  5. of course I did.

    Although, I don't really use the plugin much any more, all I use it for is overriding admins from being shot. Not too important to have.
     
  6. Ohh sry cdnt help , its working for me.
    Only problem i have is flame t. Dont shot when set infinite ammo option.
     
  7. you have the infinite ammo permission set ?
     
  8. Yes, it works on normal but not on flame one.
     
  9. too bad it doesn't work on flame LOL... that'd be fun.
     
  10. ... very good Plugin - Idea, but not working :(
     
  11. Code:
    Failed to initialize plugin 'TurretConfig v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
      at Oxide.Plugins.TurretConfig.UpdateTurret (.AutoTurret turret, Boolean justCreated) [0x00000] in <filename unknown>:0 
      at Oxide.Plugins.TurretConfig.LoadTurrets () [0x00000] in <filename unknown>:0 
      at Oxide.Plugins.TurretConfig.Loaded () [0x00000] in <filename unknown>:0 
      at Oxide.Plugins.TurretConfig.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.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0 
     
  12. Now plugin dont work at all - PLISS fix that :)
     
  13. Wulf

    Wulf Community Admin

    Wulf updated TurretConfig with a new update entry:

    2.0.4

     
  14. thx much works now :)
    [flame one still dont but ... rest is cool ]
     
  15. Wulf

    Wulf Community Admin

    I don't see why that one wouldn't work, it all looks good in the plugin to me.
     
  16. there is no fuel on start so its not works no limit ammo - thats the problem there shd be some ammo on to start work with no limit ammo.
     
    Last edited by a moderator: May 13, 2017
  17. Wulf

    Wulf Community Admin

  18. unsure about last NRE i have posted, cause now it stoped.. but can confirm what unborn said about flame turrets - they don't work with infinite ammo option set to "true". there should be at least one low grade fuel in it but you can't put it in because no gui appears for that.
    [DOUBLEPOST=1494742426][/DOUBLEPOST]
    log.error.txt (v2.0.3):
    Code:
    [05/14/2017 05:00:34] Failed to call hook 'OnEntitySpawned' on plugin 'TurretConfig v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    [05/14/2017 05:00:34] Failed to call hook 'OnEntitySpawned' on plugin 'TurretConfig v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    ...
    [05/14/2017 05:00:48] Failed to call hook 'OnEntitySpawned' on plugin 'TurretConfig v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    [05/14/2017 05:00:48] Failed to call hook 'OnEntitySpawned' on plugin 'TurretConfig v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    [05/14/2017 06:05:32] Failed to call hook 'OnEntitySpawned' on plugin 'TurretConfig v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    [05/14/2017 06:05:47] Failed to call hook 'OnEntitySpawned' on plugin 'TurretConfig v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    log.exception.txt (after v2.0.4 installed):
    Code:
    [05/14/2017 07:04:07] NullReferenceException: Object reference not set to an instance of an object
    [05/14/2017 07:04:54] NullReferenceException: Object reference not set to an instance of an object
    ...
    [05/14/2017 08:04:53] NullReferenceException: Object reference not set to an instance of an object
    [05/14/2017 08:05:37] NullReferenceException: Object reference not set to an instance of an object
     
    Last edited by a moderator: May 14, 2017
  19. Wulf

    Wulf Community Admin

    Full error, not just the first line of each error. :p

    You can find the full one under oxide/logs.