HeliControl

Moved

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

5/5, 74 likes
  1. Is there suppost to be anything in the data folder
    [DOUBLEPOST=1466056868][/DOUBLEPOST]
    Everything is in the config and plugins folder
    [DOUBLEPOST=1466057314][/DOUBLEPOST]
    I also dont have Helicontrol.cfg Is this important.
     
  2. It's not a .cfg file, it's a .json, just like every other plugin. You probably haven't installed the plugin properly, I'll ask again, does it say unknown command, report an error, or what? If it says unknown command, the plugin simply isn't installed properly, or not at all. Just drop the .cs file into your server's plugins folder.
     
  3. That seemed to be the issue. Thank you
     
  4. Shady757 updated HeliControl with a new update entry:

    1.0.30

     
  5. Does anyone have a good config that has a good balance? I am having trouble getting the heli balanced so it is not impossible to take down also but not too hard. I would like 2 players to be able to take it down easier that the default heli but not without a decent fight.

    Anyone have any they think will work as a good baseline.
     
  6. MAN! this update unbelievable! THX! lets testing tomorrow)
     
  7. helicontrol.limits permission is not in the file and going by your latest update it should be there
    as its helicontrol.limit

    Can you also update the overview with all the new info
     

  8. You're right, it appears to be .limit, not limits. I was planning on updating the overview, yes, but once again it was around 3 AM when I posted this and just wanted to get to bed. ;)
     
  9. That's ok, no rush
     
  10. 15:48 [Error] Failed to call hook 'cmdCallToPlayer' on plugin 'HeliControl v1.0.30' (NullReferenceException: Object reference not set to an instance of an object)
    15:48 [Debug] at Oxide.Plugins.HeliControl.cmdCallToPlayer (.BasePlayer player, System.String command, System.String[] args) [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

    Some errors dom`t know whats wrong, but its work.
    and one more question - Can I grant permission that`s give to player use commands /callhely me and /callhely <nickname> - call 1 helycopter and revoke permission after use ?
     
  11. I have tried everything but I can't get the update to work. I completely deleted the plugin and config file. Re-added the plugin 3 times. Added the command to allow admins as well as myself in the console and in both instances it said permission granted. When I go to call in a heli either on myself or just in general, nothing happens. Nothing happens, no heli and no messages. I only made 2 slight changes to the config file. Allow custom loot and 8 crates, nothing else. Any thoughts. BTW Thanks for all the work you do.

    EDIT: I can call in the heli via console but not in the game chat. I can kill the heli in game chat though
     
    Last edited by a moderator: Jun 18, 2016
  12. Revoke the permission after one use? Currently this isn't added, and I'm not sure if it will be. As for the error, I'll look into it, thanks for the report.


    This may be an un-intended effect of the cooldown part of it I added, try granting yourself permissions
    Code:
    helicontrol.ignorecooldown
    and
    Code:
    helicontrol.ignorelimits
    In a future update, I will probably make a default config option that allows anyone with helicontrol.callheli to bypass that, I thought I had already, but I guess not.
     
  13. It for online-shop - like buy 1 call hely for money. I take next - limit.1 = 1 and cooldown.1 =0 for 1 day, I think this is good replacement. update great thx
     
  14. Ah, ok. That makes sense. I'll try to implement this soon as well as a fix for Flash's issue and the NRE you posted. Thanks.
     
  15. Please add support for ServerRewards also :) I have there in shop option to call heli on your position and would be good to have the cooldown thing on it ;)
     
  16. I'm not familiar with the plugin, so I'll have to do some experimenting, but it shouldn't be too hard to implement. Maybe a separate command from "/callheli" just for simplifying things.

    Are you saying you've already managed to add it to your config of the plugin? But it just doesn't have the cooldown, or what exactly?
     
  17. Code:
            void LoadSavedData()
            {
                storedData = Interface.GetMod().DataFileSystem.ReadObject<StoredData>("HeliControlData");
                //Create a default data file if there was none:
                if (storedData == null || storedData.HeliInventoryLists == null || storedData.HeliInventoryLists.Count <= 0)
                {
                    Puts("No Lootdrop Data found,  creating new file...");
                    storedData = new StoredData();
                    BoxInventory inv;
                    inv = new BoxInventory("rifle.ak", 10);
                    inv.lootBoxContents.Add(new ItemDef("ammo.rifle.hv", 10000));
                    storedData.HeliInventoryLists.Add(inv);                inv = new BoxInventory("rifle.bolt", 10);
                    inv.lootBoxContents.Add(new ItemDef("ammo.rifle.hv", 10000));
                    storedData.HeliInventoryLists.Add(inv);                inv = new BoxInventory("explosive.timed", 30);
                    inv.lootBoxContents.Add(new ItemDef("ammo.rocket.hv", 300));
                    storedData.HeliInventoryLists.Add(inv);                inv = new BoxInventory("lmg.m249", 100);
                    inv.lootBoxContents.Add(new ItemDef("ammo.rifle", 10000));
                    storedData.HeliInventoryLists.Add(inv);                SaveData();
                }        }
    not work.
     
  18. 1) For a starters you never edit the script/plugin ever
    2) Check the overview of the plugin and read it all it will tell you on there what you need to know
    3) In your config file you will see a option
    "UseCustomLoot": true,
    it will be false by default set it to true
     
  19. Thank you .... I got it ....sorry:(
     
  20. No problem you are not the first to make that mistake