1. Reneb OR WULF

    Can you help us here. Please !

    This is STILL throwing errors.
     
  2. won't work after last update
     
  3. Getting this error like some others here too.
    The plugin works fine, but it spams my console.
    Anyone know what to do to prevent this?
    Code:
    [Oxide] 6:32 PM [Error] Failed to call hook 'OnStructureUpgrade' on plugin 'RotateOnUpgrade v1.3.0' (NullReferenceException: )
    [Oxide] 6:32 PM [Debug] at (wrapper managed-to-native) UnityEngine.Component:get_transform () at Oxide.Plugins.RotateOnUpgrade.updateConfig () [0x00000] in <filename unknown>:0 at Oxide.Plugins.RotateOnUpgrade.addBlockToList (.BuildingBlock buildingBlock, DateTime dateTime) [0x00000] in <filename unknown>:0 at Oxide.Plugins.RotateOnUpgrade.OnStructureUpgrade (.BuildingBlock block, .BasePlayer player, Enum grade) [0x00000] in <filename unknown>:0 at Oxide.Plugins.RotateOnUpgrade.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
     
  4. This plugin causes server lag. Do not use
     
  5. plugin does nothing, no option to Destroy or Rotate, config is as follows, plugin is loaded.
    Code:
    {
      "allowAdminRotate": true,
      "allowDemolish": true,
      "allowDemolishDoors": false,
      "amountOfMinutesAfterUpgrade": 0,
      "configVersion": "1.3.0",
      "positionsOfBuildingBlocks": [],
      "timesOfUpgrade": []
    }
     
    Last edited by a moderator: Oct 30, 2015
  6. [10/30/2015 12:49:48 PM] [Oxide] 12:49 PM [Error] Failed to call hook 'OnServerInitialized' on plugin 'RotateOnUpgrade v1.3.0' (NullReferenceException: Object reference not set to an instance of an object)
     
  7. Getting an error and I'm just wondering if its something to worry about.
    Code:
    [Oxide] 6:23 PM [Error] Failed to call hook 'OnStructureUpgrade' on plugin 'RotateOnUpgrade v1.3.0' (NullReferenceException: )
    (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)
    [Oxide] 6:23 PM [Debug]   at (wrapper managed-to-native) UnityEngine.Component:get_transform ()
      at Oxide.Plugins.RotateOnUpgrade.updateConfig () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.RotateOnUpgrade.addBlockToList (.BuildingBlock buildingBlock, DateTime dateTime) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.RotateOnUpgrade.OnStructureUpgrade (.BuildingBlock block, .BasePlayer player, Enum grade) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.RotateOnUpgrade.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
     
  8. Yes exactly the same what i get. It spams my server log.

    Code:
    [Oxide] 8:21 PM [Error] Failed to call hook 'OnStructureUpgrade' on plugin 'RotateOnUpgrade v1.3.0' (NullReferenceException: )
    (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)
    [Oxide] 8:21 PM [Debug]   at (wrapper managed-to-native) UnityEngine.Component:get_transform ()
      at Oxide.Plugins.RotateOnUpgrade.updateConfig () [0x00000] in <filename unknown>:0 
      at Oxide.Plugins.RotateOnUpgrade.addBlockToList (.BuildingBlock buildingBlock, DateTime dateTime) [0x00000] in <filename unknown>:0 
      at Oxide.Plugins.RotateOnUpgrade.OnStructureUpgrade (.BuildingBlock block, .BasePlayer player, Enum grade) [0x00000] in <filename unknown>:0 
      at Oxide.Plugins.RotateOnUpgrade.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
    Dont know what to do?
     
  9. Eat

    Eat

    "amountOfMinutesAfterUpgrade": 60 - not working, always 10 min.
     
  10. I have a bug :(
    Code:
    [Oxide] 6:47 PM [Error] Failed to call hook 'OnStructureUpgrade' on plugin 'Rota
    teOnUpgrade v1.3.0' (NullReferenceException: )
    [Oxide] 6:47 PM [Debug]   at (wrapper managed-to-native) UnityEngine.Component:g
    et_transform ()
      at Oxide.Plugins.RotateOnUpgrade.updateConfig () [0x00000] in <filename unknow
    n>:0
      at Oxide.Plugins.RotateOnUpgrade.addBlockToList (.BuildingBlock buildingBlock,
    DateTime dateTime) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.RotateOnUpgrade.OnStructureUpgrade (.BuildingBlock block, .Ba
    sePlayer player, Enum grade) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.RotateOnUpgrade.DirectCallHook (System.String name, System.Ob
    ject& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo metho
    d, 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
     
    Last edited by a moderator: Jan 14, 2016
  11. Code:
    [Oxide] 8:42 PM [Error] Failed to call hook 'OnStructureUpgrade' on plugin 'RotateOnUpgrade v1.3.0' (NullReferenceException: )
    [Oxide] 8:42 PM [Debug]   at (wrapper managed-to-native) UnityEngine.Component:get_transform ()
      at Oxide.Plugins.RotateOnUpgrade.updateConfig () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.RotateOnUpgrade.addBlockToList (.BuildingBlock buildingBlock, DateTime dateTime) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.RotateOnUpgrade.OnStructureUpgrade (.BuildingBlock block, .BasePlayer player, Enum grade) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.RotateOnUpgrade.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    how to fix that? its spam my Console pllesae help fast
     
    Last edited by a moderator: Jan 14, 2016
  12. It works, just this error spams the server log.

    Code:
    [Oxide] 4:00 PM [Error] Failed to call hook 'OnStructureUpgrade' on plugin 'RotateOnUpgrade v1.3.0' (NullReferenceException: )
    [Oxide] 4:00 PM [Debug] at (wrapper managed-to-native) UnityEngine.Component:get_transform () at Oxide.Plugins.RotateOnUpgrade.updateConfig () [0x00000] in <filename unknown>:0 at Oxide.Plugins.RotateOnUpgrade.addBlockToList (.BuildingBlock buildingBlock, DateTime dateTime) [0x00000] in <filename unknown>:0 at Oxide.Plugins.RotateOnUpgrade.OnStructureUpgrade (.BuildingBlock block, .BasePlayer player, Enum grade) [0x00000] in <filename unknown>:0 at Oxide.Plugins.RotateOnUpgrade.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
     
  13. So KeyboardCavemen are you going to update this plugin so i can read my console anytime soon, or will i have to remove it? Lots of thank's for taking your time to create a nice plugin !
     
  14. Code:
    [Oxide] 16:57 [Error] Failed to call hook 'OnStructureUpgrade' on plugin 'RotateOnUpgrade v1.3.0' (NullReferenceException: )
    [Oxide] 16:57 [Debug] at (wrapper managed-to-native) UnityEngine.Component:get_transform () at Oxide.Plugins.RotateOnUpgrade.updateConfig () [0x00000] in :0 at Oxide.Plugins.RotateOnUpgrade.addBlockToList (.BuildingBlock buildingBlock, DateTime dateTime) [0x00000] in :0 at Oxide.Plugins.RotateOnUpgrade.OnStructureUpgrade (.BuildingBlock block, .BasePlayer player, Enum grade) [0x00000] in :0 at Oxide.Plugins.RotateOnUpgrade.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in :0
     
  15. so it seems, that nobody has any idea / fix for this "Failed to call hook 'OnStructureUpgrade'" problem....
     
  16. be nice to fix the console spam :D any update due soon bud
     
  17. I know wombat.. if only they took the time to fix a good plugin :/