HeliControl

Moved

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

5/5, 74 likes
  1. Because that isn't a valid syntax. It's either oxide.grant user, or oxide.grant group. In your case, you'd use user, since you're giving it to a single steam ID.

    Read this for more info: Using Oxide's permission system | Oxide


    You can disable Napalm in the config already, which should do what you want.
     
  2. Ok thanks mate
    [DOUBLEPOST=1469926734][/DOUBLEPOST]Ok thanks mate
    Ok thanks mate
     
  3. Hey i have some issues with the command permission, im the admin (authlvl 2) and i still cant call a heli :/
     
  4. console
    grant group admin helicontrol.admin
     
  5. :) i type drop in console and theres a heli dropping towards me, i bind m drop then i spam m and 100 helis are above my head slowly dropping.
    is this a bug or feature... love it..i do have the fancy drop plugin in but i didnt think it effected helis
     
  6. It's neither a bug nor a feature :p
    It seems more like wrong usage of keybinds ;)

    >>> Rust Player Key Binds - Rust Hub <<<
     
  7. ah yes thank you!
     
  8. 2 helicopters with new update
     
  9. I pasted the HeliControl.cs file into my oxide/plugins/ directory, but nothing happens when using: grant group admin helicontrol.admin

    Does the plugin need to be updated after today's patch?
     
  10. make sure you update oxide and rust
     
  11. Is there a way to make the helicoptor only attack players who have weapons in their inventory?

    At the moment its attacking and killing everyone, not good!
     
  12. "helicontrol.callheli" and "helicontrol.admin" permissions have been set to my group, yet I still get "You do not have permission to use this command!"

    *Solved with: oxide.grant admin helicontrol.admin
     

    Attached Files:

    Last edited by a moderator: Aug 6, 2016
  13. (11:07:49) | [Oxide] 11:07 [Error] Failed to call hook 'OnEntitySpawned' on plugin 'HeliControl v1.0.37' (NullReferenceException: Object reference not set to an instance of an object)

    (11:07:49) | [Oxide] 11:07 [Debug] at Oxide.Plugins.HeliControl.OnEntitySpawned (.BaseNetworkable entity) [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.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0

    (11:07:49) | [Oxide] 11:07 [Error] Failed to call hook 'OnEntitySpawned' on plugin 'HeliControl v1.0.37' (NullReferenceException: Object reference not set to an instance of an object)

    (11:07:49) | [Oxide] 11:07 [Debug] at Oxide.Plugins.HeliControl.OnEntitySpawned (.BaseNetworkable entity) [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.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0

    (11:07:49) | [Oxide] 11:07 [Error] Failed to call hook 'OnEntitySpawned' on plugin 'HeliControl v1.0.37' (NullReferenceException: Object reference not set to an instance of an object)

    (11:07:49) | [Oxide] 11:07 [Debug] at Oxide.Plugins.HeliControl.OnEntitySpawned (.BaseNetworkable entity) [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.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0

    I keep getting this error when heli is taken down, any fix for it. And the heli keeps spawning way too much. 2 times a hour and its setted to spawn once a hour.
     

    Attached Files:

  14. I can not have any permissions allowed, helicontrol.admin and all other commands are "invalid" in console command?
    [DOUBLEPOST=1470768309][/DOUBLEPOST]
    tried these any still no permission?
     
  15. Code:
    grant group admin helicontrol.*   // << wildcard
    grant group admin helicontrol.admin>> This was granting a USERGROUP <<grant user yoursteamid helicontrol.admin>> Would grant direct a USER <<
     
  16. Is there a way I can have the chopper only target players who have weapons in their actionbar?
     
  17. Thats not EASY said yes or no :p
    Basically, it depends on the player, the Heli itself checks only the ThreadLevel.
    A BasePlayer hass already a threatlevel of 1, when he wears 2 clothing parts. An Additional Weapon, BaseProjectile or BowWeapon, will raise the level to 2. But the 1 was already enough to get targetd.

    So you need to advice them:
    1) only ONE wearable active
    2) NO Projectile and NO BowWeapon in the belt.
    The main-inv will not be checked.

    By night it has decreased sight-range of 40meters ;)
     
  18. Ahhh that's great thank you Fuji - I was trying to look in the plugin for what the parameters are, that's a great help :)
     
  19. You're welcome...This part can only be "decrypted" by reading the game-code :p
     
  20. That's great, I understand how to read C# - I just can't write the damned stuff aha!