HuntRPG

Moved

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

5/5, 73 likes
  1. If player learned the blacksmith skill and keep light thier furnace, when they disconnect the server have this error:
    Code:
    [Oxide] 8:07 PM [Debug] ExType: NullReferenceException
    [Oxide] 8:07 PM [Error] Failed to call hook 'OnConsumeFuel' on plugin 'Hunt RPG'
    (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 8:07 PM [Debug]   at System.UInt64.ToString () [0x00000] in <filename un
    known>:0
      at Hunt.RPG.HuntRPG.SteamId (.BasePlayer player) [0x00000] in <filename unknow
    n>:0 2 ents, 1 slprs                                      588b/s in, 301b/s out
      at Hunt.RPG.HuntRPG.RPGInfo (.BasePlayer player) [0x00000] in <filename unknow
    n>:0
      at Hunt.RPG.HuntRPG.OnConsumeFuel (.BaseOven oven, .Item fuel, .ItemModBurnabl
    e burnable) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HuntPlugin.OnConsumeFuel (.BaseOven oven, .Item fuel, .ItemMo
    dBurnable burnable) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (ob
    ject,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invoke
    Attr, System.Reflection.Binder binder, System.Object[] parameters, System.Global
     
    Last edited by a moderator: Mar 19, 2015
  2. Thanks! As soon as I get home I'll take a look into that.
     
  3. Although the skill level is max but the skill still can learn and spend the skill point.
    Also learn skill set level is more than the max level ,and it will execute.
    Can you avoid it ?
    [DOUBLEPOST=1426769560][/DOUBLEPOST]
    Thank you very much for your work.
     
  4. Yeah, that is my mistake, probably forgot some check. But I didnt get what you meant with your second sentence, can you give example?
     
  5. PedraozauM updated Hunt RPG with a new update entry:

    Fixes and update management


    [DOUBLEPOST=1426797645][/DOUBLEPOST]Just out of curiosity, is there any published server running my plugin? :oops:
     
  6. Code:
    [3/19/2015 11:47:36 PM] [Oxide] 11:47 PM [Error] Failed to call hook 'OnGather' on plugin 'Hunt RPG' (NullReferenceException: Object reference not set to an instance of an object)
    [3/19/2015 11:47:37 PM] [Oxide] 11:47 PM [Error] Failed to call hook 'OnConsumeFuel' on plugin 'Hunt RPG' (NullReferenceException: Object reference not set to an instance of an object)
     
  7. I restarted my server now I'm getting this.
    Code:
    [Oxide] 4:55 PM [Debug] ExType: NullReferenceException
    [Oxide] 4:55 PM [Error] Failed to call hook 'cmdHunt' on plugin 'Hunt RPG' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 4:55 PM [Debug]   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
    [Oxide] 4:56 PM [Debug] ExType: NullReferenceException
    [Oxide] 4:56 PM [Error] Failed to call hook 'OnEntityAttacked' on plugin 'Hunt RPG' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 4:56 PM [Debug]   at Hunt.RPG.HuntRPG.RPGInfo (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Hunt.RPG.HuntRPG.OnAttacked (.BasePlayer player, .HitInfo hitInfo) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HuntPlugin.OnEntityAttacked (UnityEngine.MonoBehaviour entity, .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
    [Oxide] 4:56 PM [Debug] ExType: NullReferenceException
    [Oxide] 4:56 PM [Error] Failed to call hook 'OnEntityAttacked' on plugin 'Hunt RPG' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 4:56 PM [Debug]   at Hunt.RPG.HuntRPG.RPGInfo (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Hunt.RPG.HuntRPG.OnAttacked (.BasePlayer player, .HitInfo hitInfo) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HuntPlugin.OnEntityAttacked (UnityEngine.MonoBehaviour entity, .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
    [Oxide] 4:56 PM [Debug] ExType: NullReferenceException
    [Oxide] 4:56 PM [Error] Failed to call hook 'cmdHunt' on plugin 'Hunt RPG' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 4:56 PM [Debug]   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
    [Oxide] 4:56 PM [Debug] ExType: NullReferenceException
    [Oxide] 4:56 PM [Error] Failed to call hook 'OnEntityAttacked' on plugin 'Hunt RPG' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 4:56 PM [Debug]   at Hunt.RPG.HuntRPG.RPGInfo (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Hunt.RPG.HuntRPG.OnAttacked (.BasePlayer player, .HitInfo hitInfo) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HuntPlugin.OnEntityAttacked (UnityEngine.MonoBehaviour entity, .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
    [Oxide] 4:56 PM [Debug] ExType: NullReferenceException
    [Oxide] 4:56 PM [Error] Failed to call hook 'OnEntityAttacked' on plugin 'Hunt RPG' (NullReferenceException: Object reference not set to an instance of an object)
    
     
  8. Ok guys, that wasnt supposed to happen, try deleting the files this time and tell me if it keeps happening please. Oh and reload the plugin or server.
    [DOUBLEPOST=1426799508][/DOUBLEPOST]NVM just know what happened, if you had no files the errors will occur, fixing it now. In 3 minutes I'll release a fix.
     
  9. PedraozauM updated Hunt RPG with a new update entry:

    Fixed version 1.2.3 problem with new plugin users


    [DOUBLEPOST=1426801578][/DOUBLEPOST]Is it working now guys?
     
  10. If I learn the skill leavel 10 and the max level is 5, although that say :You have mastered this skill already! but the the skill point still can be spend.
     
  11. updated to new version and it worked fine. restarted server and its now spamming this every second.
    Code:
    [Oxide] 9:34 PM [Error] Failed to call hook 'OnConsumeFuel' on plugin 'Hunt RPG' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 9:34 PM [Debug]  at System.UInt64.ToString () [0x00000] in <filename unknown>:0
      at Hunt.RPG.HuntRPG.SteamId (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Hunt.RPG.HuntRPG.RPGInfo (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Hunt.RPG.HuntRPG.OnConsumeFuel (.BaseOven oven, .Item fuel, .ItemModBurnable burnable) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HuntPlugin.OnConsumeFuel (.BaseOven oven, .Item fuel, .ItemModBurnable burnable) [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
    [Oxide] 9:34 PM [Error] Failed to call hook 'OnConsumeFuel' on plugin 'Hunt RPG' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 9:34 PM [Debug]  at System.UInt64.ToString () [0x00000] in <filename unknown>:0
      at Hunt.RPG.HuntRPG.SteamId (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Hunt.RPG.HuntRPG.RPGInfo (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Hunt.RPG.HuntRPG.OnConsumeFuel (.BaseOven oven, .Item fuel, .ItemModBurnable burnable) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HuntPlugin.OnConsumeFuel (.BaseOven oven, .Item fuel, .ItemModBurnable burnable) [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: Mar 20, 2015
  12. This error every second.
    Code:
    [Oxide] 6:45 PM [Error] Failed to call hook 'OnConsumeFuel' on plugin 'Hunt RPG' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 6:45 PM [Debug]   at System.UInt64.ToString () [0x00000] in <filename unknown>:0
      at Hunt.RPG.HuntRPG.SteamId (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Hunt.RPG.HuntRPG.RPGInfo (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Hunt.RPG.HuntRPG.OnConsumeFuel (.BaseOven oven, .Item fuel, .ItemModBurnable burnable) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HuntPlugin.OnConsumeFuel (.BaseOven oven, .Item fuel, .ItemModBurnable burnable) [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
    
     
  13. Most likely from a dead offline player whose furnace is still running, you could go and turn off every running furnace technically to stop it.
     
  14. That's exactly what I needed, I thought that getting the sleeping players would solve, but apparently not.
    That plugin will solve my problem, if not, I'm gone disable the skill when player is not in game.
    Later today I'll fix that, have somethings to do right now.
     
  15. PedraozauM updated Hunt RPG with a new update entry:

    Blacksmith Final Fix + Blink to arrow for admins

     
  16. I have it running on a 100 man server but haven't seen a lot of action other then myself on it. I go there to play because I don't play the game on my main server, just admin
     
  17. Is there a command to level up your players? With delete the data and config files they get resetted to level 0 and get mad having to do it all over again.
     
  18. There is a command for the admin to levelup, I'll add it in about 1h or so.
     
  19. Hi, i want ask that can you fix this?