HeliControl

Moved

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

5/5, 74 likes
  1. How do i give myself permissions? i cant seem to get it working...
     
  2. Wulf

    Wulf Community Admin

    Update to the latest version or replace isDestroyed with IsDestroyed.
     
  3. A simple example to give yourself access to pretty much all of HeliControl is to, in your server console, type:

    Code:
    oxide.grant user UserName helicontrol.admin
    
    If you haven't already, I'd recommend reading: Using Oxide's permission system | Oxide
     

  4. Thanks man its been so long since i added a Plugin i forgot haha derp!

    I do have some issues, i added HeliControlData.json and added all my possible loot findings in there but when i down the heli the loot is always Vanilla?

    .............

    Am i being completely stupid and disregarding something i shouldn't? i dont have any error messages regarding the plugin on my logs either....

    Thanks in advance and apologies for such the long message!
     

    Attached Files:

  5. Did you re-load plugin after?

    Code:
    oxide.reload HeliControl
     

  6. Yes, did nothing sadly..

    i did run it through the JSON validate again and recieved this...


    Error: Parse error on line 40:
    ... "lootBoxContents": [{ "name": "amm
    ----------------------^
    Expecting 'EOF', '}', ',', ']', got ':'


    But i cant see the mistake its referring too....
     
    Last edited by a moderator: Dec 25, 2016
  7. The problem was a missing bracket before the start of each "lootBoxContents" (above it) I attached a fixed verison.
     

    Attached Files:

    Last edited by a moderator: Dec 25, 2016
  8. Where can i find this file? im looking in the data folder, config folder and i got no json with this name
     
  9. The file is only generated/read if "Loot - Use Custom loot spawns" config option is set to true.
     
  10. I git it valid, but i cant tell if its working for you.
    Try this:
    [DOUBLEPOST=1482636881][/DOUBLEPOST]
    Did not see your post there -.- but why is your file bigger than mine?
     

    Attached Files:

    Last edited by a moderator: Dec 25, 2016
  11. Thank you! that fixed my issue but i made some further edits to my folder and validated and even though my JSON file is valid now the loot im getting in game is way more than im asking...

    For example i have tweaked it down to 4 items per box (if thats how it works) but i seem to be getting 5-6 items per box and certain items that are spawning are not in my file, like certain ammo types and velocity rockets.

    i attached a screenshot with all the loot i got from 1 helicopter (4 boxes) along with my date file.

    Any help on this would be great!

    Imgur: The most awesome images on the Internet


    Heli Loot above ^^^^^
     

    Attached Files:

  12. Hi Shady.

    I along with many other server owners are experiencing server crashes while running HeliControl - I'm not too sure on how to reproduce it but I got a stack trace for ya.

    Code:
    0x00007FF7EC582FDB (RustDedicated) RuntimeSceneManager::GetSceneCount
    0x00007FF7EC846B86 (RustDedicated) MeshFilter::GetSharedMesh
    0x00007FF7EC446864 (RustDedicated) GameObject::ActivateAwakeRecursivelyInternal
    0x00007FF7EC446905 (RustDedicated) GameObject::ActivateAwakeRecursively
    0x00007FF7EC446C5B (RustDedicated) GameObject::SetSelfActive
    0x00007FF7EC7A573F (RustDedicated) Mesh::GetRuntimeMemorySize
    0x000000001D4F118B (Mono JIT Code) (wrapper managed-to-native) UnityEngine.GameObject:SetActive (bool)
    0x00000000166A93EB (Mono JIT Code) BaseNetworkable:DoServerDestroy ()
    0x00000000166A889F (Mono JIT Code) BaseEntity:DoServerDestroy ()
    0x00000000166A5D11 (Mono JIT Code) BaseNetworkable:DoEntityDestroy ()
    0x00000000166A5823 (Mono JIT Code) BaseNetworkable:Kill (BaseNetworkable/DestroyMode)
    0x000000002492A3EF (Mono JIT Code) ServerGib:RemoveMe ()
    0x0000000004DA807B (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
    0x00007FFB13AE503F (mono) mono_set_defaults
    0x00007FFB13A38385 (mono) mono_runtime_invoke
    0x00007FF7EC6C554D (RustDedicated) ScriptingArguments::AddString
    0x00007FF7EC6C5831 (RustDedicated) ScriptingArguments::AddString
    0x00007FF7EC61A515 (RustDedicated) IIMGUI::IIMGUI
    0x00007FF7EC62CD00 (RustDedicated) ScriptingManager::RebuildClassIDToScriptingClass
    0x00007FF7EC4DF659 (RustDedicated) Behaviour::InitializeClass
    0x00007FF7EC696D58 (RustDedicated) CallbackArray1<bool>::Invoke
    0x00007FF7EC752C70 (RustDedicated) Append
    0x00007FF7EC7535BA (RustDedicated) PlayerMainWndProc
    0x00007FF7EC75674D (RustDedicated) PlayerWinMain
    0x00007FF7ECC0DEAC (RustDedicated) RectT<int>::GetBottom
    0x00007FFB22518364 (KERNEL32) BaseThreadInitThunk
     
  13. Just to give you a heads up even Vanilla servers seem to be experiencing this. One of the causes is Heli corpses which get traced back to this plugin, but it's fault is still internal to the Rust engine :) Turning off Heli corpses may help a little!
     
  14. I have all time heli body/corpse/gibs off and still crashes are real when somebody takes down helicopter :(

    Code:
      "Spawning - Disable helicopter gibs": true,
     
  15. works good for me so idk why this happening to you guys. never crashed.

    I have reduced the heli rocket damage alot. as players do the cup exploit. now they dont need to.

    but as i said, never crashed for me, so if you want to try this one, pls.
     

    Attached Files:

  16. I haven't experienced the crashing mentioned above on my test servers, but I'm going to assume what jemes said is true. With that said, there's not much, if anything, I can do to fix the issue.
     
  17. So this CUP exploit might be a cause for it?
     
  18. no. im just telling ya, that the json is edited to make less damage from rockets. now cup exploit is not allowed on my servers. (Kick/ban if they do).
    i did this because clans only take down heli and farm c4/rockets all day from heli.
     
  19. I am also having trouble with the plugin. Or at least the heli in general. My server is not completely crashing to the start menu, but it becomes unresponsive, as if there is a disconnect between the client and the server. It only happens when the gibs of the heli are harvested after having been taken down. For instance, when the gibs of the heli are harvested, and it usually occurs with the main fuselage, suddenly you cannot harvest anything else. You cant chat, you cant open doors, you cannot open boxes and you cant skin animals. I had a friend on the server and whenever this happened to me, it happened to him as well. I could run circles around him while shooting him and he told me my character is standing still.
     
  20. Hey folks, in my hard-headed determination to get the heli working on my server, the way I want it to work, and without issue, I went through test after test and made all my HeliControl cfg changes one at a time and making multiple heli spawns/take-downs to verify each setting was okay. Here is what I found.

    Brace yourselves...

    The one setting that appears to be taboo to change is the napalm. Every time I turned the napalm off, the server would become unresponsive after harvesting the gibs. I can't explain why, and its possible that harvesting the gibs represents a time period, over being directly related. I simply don't know. All I know is that I can set the projectile (bullet & rocket) damage to "0", set the rocket count to "3" and set the time to open the crates & harvest the gibs to "0" without any problems, so I just left it at that. I tried it with and without napalm multiple times and it was the one setting that continuously disrupted the client/server handshake. Hopefully this might offer some kind of insight on my issue and possibly others who have been having issues when they customize the cfg.

    Cheers & Happy New Year!

    Tater
    Server - "RUSTPVE - A Friendly PVE Server"