HeliControl

Moved

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

5/5, 74 likes
  1. Does the issue still happen if HeliControl is removed? It looks like some issue with the Sound in the game, so I highly doubt it's HeliControl's fault, but you should test and see if it happens when the plugin is removed.
     
  2. That are complete client-side functions. none of those exist on the server files. Either their binaries are corrupted or its a general client-side bug, but nothing Oxide or plugin related.
    [DOUBLEPOST=1485169530][/DOUBLEPOST]
    The plugin is okay, their clients are having problems.
     
  3. guys need help, when heli fall down - server freeze
    how to fix that? no errors

    [01/23/2017 21:46:37] [Death Notes] The Patrol Helicopter was taken down

    Code:
    [01/23/2017 21:30:06] [LBT] NickZeroNeufiX[140986/76561198107626568] fired invalid projectile: Line of sight (riflebullet on update) (804.8, 25.7, -801.4) (684.8, 58.6, 210.7)
    [01/23/2017 21:30:13] [LBT] NickZeroNeufiX[140986/76561198107626568] fired invalid projectile: Line of sight (riflebullet on update) (804.8, 25.7, -801.4) (644.6, 53.1, 338.5)
    [01/23/2017 21:30:15] Smokedog[2678882/76561198021327103] fired invalid projectile: Line of sight (riflebullet on update) (570.0, 18.0, -315.0) (863.7, 77.2, 551.3)
    [01/23/2017 21:30:19] [LBT] NickZeroNeufiX[140986/76561198107626568] fired invalid projectile: Entity too far away (riflebullet on pinebare-1 with 1.224056m > 1m in 2.370312s)
    [01/23/2017 21:31:24] Calling 'OnPlayerInit' on 'RustIO v2.9.0' took 267ms
    [01/23/2017 21:31:47] Calling 'OnPlayerInit' on 'RustIO v2.9.0' took 277ms
    [01/23/2017 21:32:00] Calling 'OnPlayerInit' on 'RustIO v2.9.0' took 224ms
    [01/23/2017 21:34:41] wiwkin[3914215/76561198079775137] fired invalid projectile: Entity too far away (riflebullet on servergibs_patrolhelicopter with 0.1285768m > 0.1m in 0.4427088s)
    [01/23/2017 21:34:42] wiwkin[3914215/76561198079775137] fired invalid projectile: Entity too far away (riflebullet on servergibs_patrolhelicopter with 0.1659663m > 0.1m in 0.5130267s)
    [01/23/2017 21:34:42] wiwkin[3914215/76561198079775137] fired invalid projectile: Entity too far away (riflebullet on servergibs_patrolhelicopter with 0.1201557m > 0.1m in 0.4660146s)
    [01/23/2017 21:34:49] Entity is NULL but is still in saveList - not destroyed properly? oilfireballsmall[4957614]
    [01/23/2017 21:36:45] [Vote For Money] New vote on Rust-Servers: [JJ] injust gaming
    [01/23/2017 21:37:50] [LBT] NickZeroNeufiX[140986/76561198107626568] fired invalid projectile: Entity too far away (riflebullet on servergibs_patrolhelicopter with 0.1971385m > 0.1m in 1.122402s)
    [01/23/2017 21:38:56] [EBATb] Djonos[4479309/76561198061630310] sent invalid reload: T+1.109375s
    [01/23/2017 21:42:53] [RDMN] ShadowTKA[1413370/76561198077684633] sent invalid attack: Player stalled (1.074306s)
    [01/23/2017 21:46:08] [LBT] NickZeroNeufiX[140986/76561198107626568] sent invalid attack: Entity too far away (stone_pickaxe.entity on servergibs_patrolhelicopter with 0.5763955m > 0.1m in 0.2552088s)
    [01/23/2017 21:46:09] [LBT] NickZeroNeufiX[140986/76561198107626568] sent invalid attack: Entity too far away (stone_pickaxe.entity on servergibs_patrolhelicopter with 0.5680808m > 0.1m in 0.9078786s)
    [01/23/2017 21:46:13] [LBT] NickZeroNeufiX[140986/76561198107626568] sent invalid attack: Entity too far away (pickaxe.entity on servergibs_patrolhelicopter with 0.9311036m > 0.1m in 0.66771s)
    [01/23/2017 21:46:15] [LBT] NickZeroNeufiX[140986/76561198107626568] sent invalid attack: Entity too far away (pickaxe.entity on servergibs_patrolhelicopter with 0.9353465m > 0.1m in 1.587264s)
    [01/23/2017 21:46:15] [LBT] NickZeroNeufiX[140986/76561198107626568] sent invalid attack: Entity too far away (pickaxe.entity on servergibs_patrolhelicopter with 0.9352033m > 0.1m in 0.2552119s)
    [01/23/2017 21:46:17] [LBT] NickZeroNeufiX[140986/76561198107626568] sent invalid attack: Entity too far away (pickaxe.entity on servergibs_patrolhelicopter with 1.005805m > 0.1m in 0.2375s)
    [01/23/2017 21:46:18] [LBT] NickZeroNeufiX[140986/76561198107626568] sent invalid attack: Entity too far away (pickaxe.entity on servergibs_patrolhelicopter with 1.005776m > 0.1m in 0.2552088s)
    [01/23/2017 21:46:20] [LBT] NickZeroNeufiX[140986/76561198107626568] sent invalid attack: Entity too far away (pickaxe.entity on servergibs_patrolhelicopter with 1.005956m > 0.1m in 0.6118608s)
    
     
    Last edited by a moderator: Jan 23, 2017
  4. Thanks for getting back to me in short time I appreciate you looking into it man
     
  5. Shady757 updated HeliControl with a new update entry:

    1.1.5

     
  6. I get an error when trying to install the updated plugin:
    "Error while compiling HeliControl.cs(462,30): error CS1061: Type `BaseHelicopter' does not contain a definition for `TransformChanged' and no extension method `TransformChanged' of type `BaseHelicopter' could be found. Are you missing an assembly reference?"

    Had to revert back to the older version.
     
  7. Are you sure you're on the latest version? TransformChanged isn't in this version.
     
  8. My Mistake. I downloaded the plugin again and it worked perfectly. I must have uploaded from the wrong folder. Thanks for the quick reply!
     
  9. "killheli" seems to be broken in latest version. Works in 1.1.4

    Code:
    20:05 [Error] Failed to call hook 'consoleKillHeli' on plugin 'HeliControl v1.1.5' (NullReferenceException: Object reference not set to an instance of an object)
    20:05 [Stacktrace]   at Oxide.Plugins.HeliControl.consoleKillHeli (.Arg arg) [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 
     
  10. Is it only with the console command or does it happen with the chat command as well?
     
  11. Sorry, I'm only using console commands so I can't answer that
     
  12. I think I've identified the issue, should be a fix out soon. Thanks for the report.
     
  13. Shady757 updated HeliControl with a new update entry:

    1.1.6

     
  14. I got what I think is a great addition to this mod.... I think the ability to call a heli by any player would be really cool if it is in specified coordinates.... so for example I have a public heli attack area and it would be nice if players can go there and call helis to that location only... maybe tie it to a saved /TOWN or have its own coordinates like that where a heli can freely be called to a location that is pre-approved / pre-created by admins.
     
  15. The idea isn't bad, but I'm not sure that HeliControl is the right kind of plugin for that. The original intention, and what I would like to keep, was for this plugin to be (mostly) for configuring the Helicopter's settings, and a small bit of other things (like heli spawns).
     
  16. Thats fine I already created a function for spawning by players to a specific location I designated.... but can you help me understand the limits and cool downs bc I want to use them in my modified code but cannot even understand how they are used in default code.
     
  17. You mean using it in a modified version of HeliControl or in your own plugin that references it? If it's the latter, I don't think you'll be able to get the player's cooldown times (at least not very easily).

    However, if you're modifying HeliControl itself... You can use GetLowestCooldown(BasePlayer player) and GetHighestLimit(BasePlayer player), to get the player's lowest/highest permission, respectively. This means if they have 3 cooldown permissions, and one of them is 5 seconds, one is 10, and one is 15, it will pick 5. Same for limits but reversed. If you're wanting to do something else, you'll have to explain a bit more as I'm not sure what parts you need to understand.
     
  18. I got it to work by simply copying the callheli chat command and adding the console command in it to call heli to other then hard coded my town coordinates in it. I also created a permission for it called townheli and it all works. The cool downs and all work perfectly.


    *** OK I GOT THE /TOWNHELI CMD TO WORK WITH COORDINATES IN THE CONFIG IF ANYONE WANTS MY CODE LET ME KNOW!!! ***
     
    Last edited by a moderator: Jan 30, 2017
  19. is it possible to randomize amount of items in "lootBoxContents" entries? like for example getting between 100 and 300 bullets or w/e
     
  20. There's not currently. It shouldn't be too hard to add a min/max value to it in the next update.