HuntRPG

Moved

Total Downloads: 16,962 - First Release: Mar 15, 2015 - Last Update: Jul 30, 2018

5/5, 73 likes
  1. Are you saying to delete the config folder?
     
  2. no I was asking why did you rename that json file for
    [DOUBLEPOST=1452712795][/DOUBLEPOST]if you cant make the config for hunt plugin you need to either reload the plugin or restart server but can you post a ss of your plugin folder try get all plugins in the ss
    [DOUBLEPOST=1452712857][/DOUBLEPOST]Going to take a bath back soon
     
  3. Ok, I apologize if I am making anything confusing. When you said to delete the config, I understood you were saying to delete a config file specific to the plugin hunt. In the config folder, I don't have any files that are related to Hunt. All the *.json files have the name of the plugin associated with the file name, so the only one I wasn't 100 percent sure of was the RustIO.json, and I thought you were saying that is the file associated with Hunt.
    Here is a SS of my Plugin and Config folders respectively. rust5.png
    [DOUBLEPOST=1452713629][/DOUBLEPOST]
    Ok, I do appreciate the help! I do understand how the folder structures in Rust are laid out, and my experience with the Rust server is that when a plugin is installed into the plugin directory, on first run it spawns config files, which I have seen all the plugins do, I just do not see any being created for Hunt. Previously, I thought you said it was the RustIO.json file, but I think you meant to imply that the RustIO.json file will be in the folder (letting me know that if I see that, then I am in the correct folder)
     
    Last edited by a moderator: Jan 13, 2016
  4. If your server is running run this command in the bat file
    reload HuntPlugin
    Then check config folder see if it has made the HuntPlugin.json
    [DOUBLEPOST=1452716158][/DOUBLEPOST]@mcgendraft it must be all ok now
     
  5. That worked!! Thank you! That is now the first time I have seen HuntPlugin.json
     
  6. EDIT:

    A already fix my problem.
     
    Last edited by a moderator: Jan 14, 2016
  7. > reload HuntPlugin
    [Oxide] 9:36 PM [Error] HuntPlugin plugin failed to compile!
    [Oxide] 9:36 PM [Error] Compiler closed.
     
  8. Good morning all, I am getting the same compile error, looks like after Rust update 93. Its not just this plugin, I have it for others too

    EDIT: Looks like the sever assisted auto installer for oxide is not picking correct version and that is the cause for my issues today.
     
    Last edited by a moderator: Jan 15, 2016
  9. Add this in the config file for the new weapon "semi-automatic rifle"

    "rifle.semiauto": {
    "DisplayName": "semi-automatic rifle",
    "CanResearch": true,
    "ItemCategory": "Weapon"
    },
     
  10. A player made this video to show a bug in the Hunt Plugin


    The bandaid changes I made to patch this:

    1. Find:
    Code:
    int level;
                    if (!int.TryParse(args[index + 1], out level))
                    {
                        ChatMessage(player, HMK.InvalidCommand, args[0]);
                        continue;
                    }
    2. Add this code right after:
    Code:
                    //added by isuelt- the builder
                    level = 1;
    3. Find:
    Code:
    int points;
                    if (!int.TryParse(args[index + 1], out points))
                    {
                        ChatMessage(player, HMK.InvalidCommand, args[index + 1]);
                        continue;
                    }
    3. Add this code right after:
    Code:
             // added by Isuelt - The builder
             points = 1;
    Hunt data file got corrupted and I had to set players levels and then have them level up their stats and skills. At first I tried simply restricting players to using the GUI to up their levels but the functions seem tied. The could just overwrite the value they type in. Using the GUI works and stat/skill points are deducted appropriately.

    Just trying to bring this to server owner/developers attention
     
    Last edited by a moderator: Jan 16, 2016
  11. @isuelt I noticed in that video there is no t at the end of enough and why make a video and all you see is you dont have permission to do anything in it lol
     
  12. Can't see any bug right now, and limit the commands to only allow one level to be upped is no real fix for anything? So what is actually wrong for you?
     
  13. Got this error with the new Rust-Update:

    Code:
    :34 PM [Error] Failed to initialize plugin 'HuntPlugin v1.5.3' (NullReferenceException: Object reference not set to an instance of an object)
    7:34 PM [Debug]   at Hunt.RPG.HuntTablesGenerator.GenerateItemTable (System.Collections.Generic.Dictionary`2 itemDict) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HuntPlugin.DefaultConfig () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HuntPlugin.LoadDefaultConfig () [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.LoadConfig () [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.RustPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0
      at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0
    7:34 PM [Info] No previous version to rollback plugin: HuntPlugin
    Oxide is 2.0.1721 and cant update to the newest because of compile errors.

    Can someone help, please?
     
  14. Wulf

    Wulf Community Admin

    The compile issues are fixed on Oxide 2.0.1732.
     
  15. Got Oxide 1732, but still the same error:

    Code:
    8:21 PM [Error] Failed to initialize plugin 'HuntPlugin v1.5.3' (NullReferenceException: Object reference not set to an instance of an object)
    8:21 PM [Debug]   at Hunt.RPG.HuntTablesGenerator.GenerateItemTable (System.Collections.Generic.Dictionary`2 itemDict) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HuntPlugin.DefaultConfig () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HuntPlugin.LoadDefaultConfig () [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.LoadConfig () [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.RustPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0
      at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0
    8:21 PM [Info] No previous version to rollback plugin: HuntPlugin
     
  16. try to load/reload the plugin after server is fully started
     
  17. Thx, that worked!
     
  18. This is the right video ==>
    Code:
    https://www.youtube.com/watch?v=kFxKCaLb2OQ
     
  19. Nogrod updated Hunt RPG with a new update entry:

    1.5.4

     
  20. I have a quick question is there a way to reset the skill points etc for other players? When I have tried previously with the commands /huntstat reset etc it reset my own and not the name I put in.