HeliControl

Moved

Total Downloads: 35,358 - First Release: Sep 18, 2015 - Last Update: Apr 19, 2018

5/5, 74 likes
  1. Shady - I tried adding the permissions to myself and now it works perfectly. Thanks for the help and all you do !
     
  2. Shady757 updated HeliControl with a new update entry:

    1.0.31

     
  3. Hey,

    I updated plugin and now /callheli command is not working but others work like /killheli can u help me about that?

    Thank You,
     
  4. Not working in what way? Command does nothing, error in console, heli just doesn't come, or what? Also, read the past update, if you have the helicontrol.callheli permission and the new config option enabled, it should be called regularly.
     
  5. Hi, i have the same problem of Burak...

    If i use the command in the console: "callheli" it works great, but in-game chat "/callheli" isn't working for me.
    Instead, other commands like "/killheli" are working fine.

    I tried reinstalling the last update and granting again the permissions. nothing.
     
  6. Please read the post above and tell me in what way it isn't working. Thanks.
     
  7. I write /callheli and nothing happens. No errors in console, no heli coming, no text in the chat.
     
  8. What version are you using and did you add the permission helicontrol.callheli to to use /callheli
     
  9. I'm using the latest Version 1.0.31 and yes i added the permission helicontrol.callheli
     
  10. I'll look into this. To speed this up, any chance you can give me your HeliControl.json inside your Config folder? I've been unable to reproduce this so far, works for me every time.
     
  11. Hey there,
    I just installed this plugin and it won't work. Here's the error I get on start up:

    Code:
    16:17 [Info] Loaded plugin HeliControl v1.0.31 by Shady
    16:17 [Warning] [HeliControl] Creating a new configuration file.
    16:17 [Info] [HeliControl] No weapons data found, creating new file...
    16:17 [Error] Failed to initialize plugin 'HeliControl v1.0.31' (NullReferenceException: Object reference not set to an instance of an object)
    16:17 [Debug]  at Oxide.Plugins.HeliControl.LoadWeaponData () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HeliControl.Init () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HeliControl.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.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
    16:17 [Info] Unloaded plugin HeliControl v1.0.31 by Shady
    Any ideas on how to fix it? I've searched around and can't really find anything relevant.

    Thanks
     

  12. Never seen it manage to fail to generate weapon data. I'll look into this, but for now, try seeing if inside Oxide\Data there's a HeliControlWeapons.json, if so, try deleting it then loading the plugin again.

    If that still doesn't work, try using the attached version.
     

    Attached Files:

  13. Its still throwing errors. I tried removing the Weapons and letting it re-create but no go. I then used your udpated HeliControl.cs and no go, after removing the config and weapons again still no go. Here's the error with the updated plugin:

    Code:
    09:43 [Info] Loaded plugin HeliControl v1.0.31 by Shady
    09:43 [Warning] [HeliControl] Creating a new configuration file.
    09:43 [Info] [HeliControl] No weapons data found, creating new file...
    09:43 [Error] Failed to initialize plugin 'HeliControl v1.0.31' (NullReferenceException: Object reference not set to an instance of an object)
    09:43 [Debug]   at Oxide.Plugins.HeliControl.LoadWeaponData () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HeliControl.Init () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HeliControl.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.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
    09:43 [Info] Unloaded plugin HeliControl v1.0.31 by Shady
    Here is what HeliControlWeapons.json looks like after it fails to load the plugin:

    Code:
    {
      "WeaponList": {}
    }
     

  14. Sorry if you already did this/if this is redundant, but just to make sure, can you do the steps in this order?
    1. Make sure the plugin is fully unloaded/deleted.
    2. Make sure in oxide\config\HeliControl.json has been deleted.
    3. Make sure in oxide\data\HeliControlWeapons.json and Cooldowns.json have been deleted.
    4. Load the attached plugin below. (Made some additional null checks)


    It sounds like you already did this, but I just want to make sure, as I can't reproduce this and it seems very strange for this to be happening.



    By the, way, @KingOfSlaves I still have not been able to reproduce your issue. Once again, if you could give me your config/data files, that would help a lot. Thanks.
     

    Attached Files:

  15. I never had a HeliControlCooldowns.json. But, the attached plugin you had seems to have fixed it. I'm not sure if its because this time the server was running when I put it in, but this time it created the weapons file and the cooldowns and seems to be working. Thanks!
     
  16. Cool. Glad I could help, still not sure why you're the only person this has ever happened to (at least as far as I know), but glad we fixed it.
     
  17. /helistrafe playername or in console heli.strafe playername isn't working :/
     
  18. I believe the command is just /strafe, not /helistrafe.
     
  19. but in the overview of the plugin the docs says /helistrafe playername.

    and playername is with " or without?

    :/
     
  20. Hmm, no? The overview says "/strafe", you can do it with or without a player name, if you do it without, it will strafe where you currently are. If you do /strafe "PlayerName", it will strafe whoever you specified.