HuntRPG

Moved

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

5/5, 73 likes
  1. Please update this plugin it seems to be interfering with others?
     
  2. How can i research something with space for example Large medkit? it just says you ran the "research" command incorrectly.????!?
     
  3. The admin command to give levels isn't working for me. Was using this for testing purposes on skills before i made server public.
    States "Hunt: No player found with that name" or sometimes it just stays blank and does nothing when i enter the command.

    Attempts i've tried (Name is [102] Jawsh) :
    /hunt lvlup "[102] Jawsh" 50
    /hunt lvlup "Jawsh" 50
    /hunt lvlup [102] 50
    /hunt lvlup Jawsh 50

    None of these have worked.
    I have admin rights, yes.
    I can do any other commands for all plugins currently installed except for that command itself.
     
  4. @PedraozauM

    You wrote a bit to fast, right? :D
    Code:
    "To see you available shortcuts commdands, type \"/hunt shortcuts\"",
     
  5. need help pls error
    Code:
    [Oxide] 4:19 PM [Debug]   at Hunt.RPG.HuntRPG.OnPlayerAttack (.BasePlayer player, .HitInfo hitInfo) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HuntPlugin.OnPlayerAttack (.BasePlayer player, .HitInfo hitInfo) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: Jun 10, 2015
  6. Code:
    [Oxide] 5:53 PM [Error] Failed to call hook 'OnPlayerAttack' on plugin 'Hunt RPG' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 5:53 PM [Debug]   at Hunt.RPG.HuntRPG.OnPlayerAttack (.BasePlayer player, .HitInfo hitInfo) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HuntPlugin.OnPlayerAttack (.BasePlayer player, .HitInfo hitInfo) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    GetOwnerItem - null!
    [Oxide] 5:53 PM [Error] Failed to call hook 'OnPlayerAttack' on plugin 'Hunt RPG' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 5:53 PM [Debug]   at Hunt.RPG.HuntRPG.OnPlayerAttack (.BasePlayer player, .HitInfo hitInfo) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HuntPlugin.OnPlayerAttack (.BasePlayer player, .HitInfo hitInfo) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    GetOwnerItem - null!
    [Oxide] 5:53 PM [Error] Failed to call hook 'OnPlayerAttack' on plugin 'Hunt RPG' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 5:53 PM [Debug]   at Hunt.RPG.HuntRPG.OnPlayerAttack (.BasePlayer player, .HitInfo hitInfo) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HuntPlugin.OnPlayerAttack (.BasePlayer player, .HitInfo hitInfo) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
     
  7. So the only bug i have run into is /hunt skilllist just showing blank
     
    Last edited by a moderator: Jun 11, 2015
  8. Dear Hunt RPG Developer, as a helper to a moderator may I ask you a question?

    We have recently found that this mod (and its one of my favorite mods) is rather incompatible. Especially with the Crafting Controller mod.

    So, I come here today to ask you: "Why can't you change Intelligence into something else besides crafting speed?"

    Nobody is ever going to take crafting speed over damage reduction and dodge, they are WAY too powerful. However how about this?

    1.) Shield Every point in the stat is a regenerating damage ward that wards damage until it is broken, each second refreshes the ward. Up to 800 points of damage.

    2.) Health Regeneration, every second you gain 1% health per 100 intelligence. That means 1 intelligence is 0.001% health. At max intelligence that is 8% health regeneration every second, however you lack damage reduction and dodge.

    This means, everyone will find myself using your mod a LOT more because it no longer screws everyone out of using the other mods and makes your own mod more unique!
     
  9. Can you make it so we can craft items instantly without using intellect.
     
  10. Code:
    [Oxide] 2:11 PM [Error] Failed to call hook 'OnPlayerAttack' on plugin 'Hunt RPG' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 2:11 PM [Debug]   at Hunt.RPG.HuntRPG.OnPlayerAttack (.BasePlayer player, .HitInfo hitInfo) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HuntPlugin.OnPlayerAttack (.BasePlayer player, .HitInfo hitInfo) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    GetOwnerItem - null!
    [DOUBLEPOST=1434625795][/DOUBLEPOST]
    It doesn't work because, crafting speed is specified in config file for each item.
     
  11. Anyone know what is wrong if I can't get /h profile or other /h commands to show up in chat? I can still level up the skills, and it still works for every other player on my server. I tried turn off the craft reduce timer as I don't want that, and now chat doesn't seem to work, and then I re-enabled it, and it still doesn't show up.
     
  12. You need to update your server and re-install oxide. Thats what i had to do, you don't need to remove any plugins just update and re-install.
     
  13. Hi, what it is?
    Code:
    [Oxide] 12:14 PM [Error] Failed to call hook 'cmdHunt' on plugin 'Hunt RPG' (KeyNotFoundException: The given key was not present in the dictionary.)
    [Oxide] 12:14 PM [Debug] at System.Collections.Generic.Dictionary`2[System.String,Hunt.RPG.Skill].get_Item (System.String key) [0x00000] in <filename unknown>:0 at Hunt.RPG.HuntRPG.Profile (Hunt.RPG.RPGInfo rpgInfo, .BasePlayer player) [0x00000] in <filename unknown>:0 at Hunt.RPG.HuntRPG.DisplayProfile (.BasePlayer player) [0x00000] in <filename unknown>:0 at Hunt.RPG.HuntRPG.HandleChatCommand (.BasePlayer player, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.HuntPlugin.cmdHunt (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: Jun 19, 2015
  14. How can I remove the BlinkToArrow function?
     
  15. Hey,

    i tried to reset the Hunt database, but it is always coming back. Any ideas how to do it without server restart? I unloaded the plugin, deleted the data file, loaded the plugin again, but the files are still there.
    And i have a issue with the skilllist ... when you do ingame /h skilllist it is just showing a empty message.
    I am running on latest oxide, dev 65.
     
  16. Hi ! this is a great plugin but i don't know how to reset the hunt_data file. How can i do ? Thx
     
  17. I found out.
    Shutdown your server -> delete the Hunt_data file in the Data folder. Start your server. All skills reset.
     
  18. thx for your answer
     
  19. One more thing, i get the following error message:

    Code:
    Oxide] 1:30 AM [Error] Failed to call hook 'OnPlayerAttack' on plugin 'Hunt RPG' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 1:30 AM [Debug]   at Hunt.RPG.HuntRPG.OnPlayerAttack (.BasePlayer player, .HitInfo hitInfo) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HuntPlugin.OnPlayerAttack (.BasePlayer player, .HitInfo hitInfo) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
    It looks like the system is running normal, but it always pops up.
     
  20. Hey! Hello!

    We try to fix some bugs and add new content in this mod.

    1st fix: Show in chat correct craft queue information and whats crafted.

    Code:
            public ItemCraftTask OnItemCraft(ItemCraftTask item)
            {
                BasePlayer player = item.owner;
                var itemName = item.blueprint.targetItem.displayName.translated.ToLower();
                if (!ItemTable.ContainsKey(itemName))
                    return null;
                var blueprintTime = ItemTable[itemName].BlueprintTime;
         
                var rpgInfo = RPGInfo(player);
                float craftingTime = blueprintTime;
                float craftingReducer = RPGHelper.GetCraftingReducer(rpgInfo, MaxStatsTable[HRK.IntCraftingReducer]);
                var amountToReduce = (craftingTime*craftingReducer);
                float reducedCraftingTime = craftingTime - amountToReduce;
                item.blueprint.time = reducedCraftingTime;
                if(rpgInfo.Preferences.ShowCraftMessage)
                    ChatMessage(player, String.Format("In queue: {3} {0}. Will be ready in {1:F} seconds. Craft time reduced on: {2:F} seconds.", itemName, reducedCraftingTime*item.amount, amountToReduce*item.amount, item.amount.ToString()));
                return item;
            }
    
    Delete original code and paste it in HuntPlug.cs (near 620 string).

    2nd fix(? new feature ?): Get +1 Exp after craft.

    paste this:
    Code:
    void OnItemCraftFinished(ItemCraftTask task, Item item)
    {
               HuntRPGInstance.OnItemCraftFinished(task, item);
    }
    
    after this:
    Code:
    ItemCraftTask OnItemCraft(ItemCraftTask item)
    {
    return HuntRPGInstance.OnItemCraft(item);
    }
    
    and paste this
    Code:
    public void OnItemCraftFinished(ItemCraftTask task, Item item)
    {
    RPGInfo rpgInfo = RPGInfo(task.owner);
    ExpGain(rpgInfo, 1, task.owner);
    }
    
    after fix 1.



    Sorry for my bad english, but I try :)

    In plans on future:
    Add Engineer profession (speed up for mining quarry)
    Crafter profession (chance to x2 loot when crafting)
    Getherting profession (more loot from wood/stone from ground)
     
    Last edited by a moderator: Jun 24, 2015