HeliControl

Moved

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

5/5, 74 likes
  1. Are you sure it's loot? Does the error go away if you disable the use custom loot config option?
     
  2. Sorry not sure if its by the custome loot :D just assumed it by the hook call - my bad sorry - but I will gona test it with no loot and report later with it ;)
     
  3. How do I give myself permission to use this command? I'm authorized on everything and I'm the server owner yet I keep getting "You do not have permission to use this command!" SO ANNOYING!
     
  4. Try doing the folloiwng if you want to grant all admins full access:

    Code:
    oxide.grant group admin helicontrol.admin
    This will give the group full access to anything. You can also replace group with user and admin with the username, if you wish to grant it to a single user.

    I recommend you read Using Oxide's permission system | Oxide as it should help you understand it a lot more in the future for other plugins.

    I apologize for any inconvenience it caused you!


    You could alternatively just give me your config/data file so I can reproduce it myself. Thanks.
     

  5. Here you go :)
     

    Attached Files:

  6. I've done some additional null checking with this version, as well as some small cleanup. Please try it and let me know if the error occurs again.
     

    Attached Files:

  7. How to make sure no fire rockets?
    Becasue i don't like the fire.
    TKS
     
  8. "DisableNapalm" should be the config option you're looking for. Set it to true. Right now, I think in this version there's a bug causing DisableNapalm to also disable all rockets, but that should be fixed in the attachment above, so you can use that as a temporary workaround if you like.
     
  9. Where hould i write the permissions ? working anywhere :/
     
  10. please make a configurable period of time the launch of the helicopter.
     
  11. This will be added in the upcoming version, after I make sure the bugs brko reported are fixed.
     
  12. ok what exactly is the command to grant myself (admin) access to /killheli as it wont stop shootin me and says i dont have access too command
    [DOUBLEPOST=1463112026][/DOUBLEPOST]sorted it thanks
     
  13. Is there a setting for a cooldown, so i can give the permission /strafe <playername> to a vip and he can call a heli every 12 hours or so?
     
  14. I can probably add this feature, though I'm not sure how you want it implemented? Do you want it to have an optional cost, different cooldowns for permissions, or what?
     
  15. I have Vip Ultimate which can send a heli to someone but he needs to be able to do it every 24 hours. Do you understand me?
     
  16. Yes, I understand that but I was asking how exactly you wanted it to work. I could create a static permission that allows someone to do it every 24 hours, or I could have it so that you can change the permission and how long the cooldown is.
     
  17. Yeah like i want to give them a permission and i need be able to edit how long the cooldown is, so second one i think
     
  18. Any thoughts on this error?
    Code:
    [Oxide] 17:49 [Error] Failed to call hook 'OnServerInitialized' on plugin 'HeliControl v1.0.20' (JsonSerializationException: Unexpected end when deserializing array. Path 'HeliInventoryLists[3]', line 72, position 2.)
    [Oxide] 17:49 [Debug]   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ThrowUnexpectedEndException (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contract, System.Object currentObject, System.String message) [0x00000] in <filename unknown>:0 
     
  19. Something is wrong with your json file, go to jsonlint.com and copy and paste your "HeliControlData.json" into it, it should tell you what's wrong, and you should be able to fix it from there on.
     
  20. Got this: I don't know that much code so I'm not sure what to do lol :)
    Code:
    Error: Parse error on line 52:
    ...                    }]                }]            },
    ---------------------^
    Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got 'EOF'
    Code:
    {
      "HeliInventoryLists": [
        {
          "lootBoxContents": [
            {
              "name": "rifle.ak",
              "amount": 3,
              "isBP": false
            },
            {
              "name": "ammo.rifle.hv",
              "amount": 128,
              "isBP": false
            }
          ]
        },
        {
          "lootBoxContents": [
            {
              "name": "rifle.bolt",
              "amount": 4,
              "isBP": false
            },
            {
              "name": "ammo.rifle.hv",
              "amount": 128,
              "isBP": false
            }
          ]
        },
        {
          "lootBoxContents": [
            {
              "name": "explosive.timed",
              "amount": 3,
              "isBP": false
            },
            {
              "name": "ammo.rocket.hv",
              "amount": 3,
              "isBP": false
            }
          ]
        },
        {
          "lootBoxContents": [
            {
              "name": "lmg.m249",
              "amount": 1,
              "isBP": false
            },
            {
              "name": "ammo.rifle",
              "amount": 100,
              "isBP": false
            },
                {
          "lootBoxContents": [
            {
              "name": "cctv.camera",
              "amount": 1,
              "isBP": false
            },
            {
              "name": "ammo.rifle",
              "amount": 100,
              "isBP": false
            }
          ]
        }
      ]
    }