HuntRPG

Moved

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

5/5, 73 likes
  1. This is just for admins, you must be added to the owners of the server, Auth level 2.[/QUOTE]
    Dont forget that if you do that when you are already connected you will need to reconnect.

    Oh, and just one more thing, nothing shows up. But if you check your profile, it will show you are the lvl u wanted.
     
    Last edited by a moderator: Mar 18, 2015
  2. yes i am the owner of the server but when i do the command nothing shows up i tried different levels
     
  3. If when u connect nothing is showing up you need to delete the data and config file and restart the server so the files can be generated again. This update I made requires that.
     
  4. The point can be reset?if player want change thier skill . Of course it should have some limit.
     
  5. Right now no. If you are and admin you can reset the whole rpg. But that is a good idea I'll add it to my todo list.
     
  6. When I crafting a item, dose not display the time countdown,and the craft can't cancel , does that can be solve?
     
  7. Great work so far. I am running this on our test server right now to check it out before moving it over to our main server.

    Suggestions:
    • The XP for upgrading seems a bit high. Leveled from 30 to ~48 up quite quickly just building and upgrading to Stone with the materials I gathered from 1-30. I feel it should take roughly 30 to 40 hours of play time to reach level 200. (Still testing)
    • Add a skill set that increases durability of items.
    • Add a skill set that has a small chance of doubling the crafted item. Example: Craft Hatchet. (Max level 10% chance to craft 2 Hatchets).

    Questions:
    1. What is the maximum dodge chance, HP, & craft reduction you can achieve? I don't want to set my level to 200 right now because I am testing leveling up to 200 manually.

    Issues:
    • If you multi-click an item to craft, it will not queue up the second/third/etc. item correctly, it will spit it out right after the first. Example: Currently- Craft Stone Hatchet x2. 120s craft. Receive first, then receive second. Should be- Craft Stone Hatchet x2. 120s craft for first. Receive first. 120s craft for second.
    • I would like to point out that without any Blacksmithing skill, I was melting Metal Ore faster (~ 10 sec per melt, as opposed to the default 30 sec). It still stands at 10 sec. per melt for level 1.
     
    Last edited by a moderator: Mar 18, 2015
  8. When I build a furnace have this error:
    Code:
    [Oxide] 5:13 PM [Debug] ExType: NullReferenceException
    [Oxide] 5:13 PM [Error] Failed to call hook 'OnItemDeployed' on plugin 'Hunt RPG
    ' (NullReferenceException: Object reference not set to an instance of an object)
     
     
    [Oxide] 5:13 PM [Debug]  at Hunt.RPG.HuntRPG.OnDeployItem (.Deployer deployer,
    .BaseEntity baseEntity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.HuntPlugin.OnItemDeployed (.Deployer deployer, .BaseEntity ba
    seEntity) [0x00000] in <filename unknown>:0  3kb/s in, 5kb/s out
      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
     
  9. hi there i been getting flooded with this error tongiht
    Code:
    [Error] Failed to call hook 'OnConsumeFuel' on plugin 'Hunt RPG' (NullReferenceException: Object reference not set to an instance of an object)
    9:46 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
    9:46 PM [Debug] ExType: NullReferenceException
     
  10. Guys, I am sorry for the errors, but since I live in Brazil, our timezones are different. Right now I'm at college. GMT -3 HERE.

    Furnace problem: I'm not sure but I think you guys forget to delete the plugin files and restart the server.

    Blacksmith problem: Probabily caused by a change when the hook was deployed, as soon I get home I'll fix that.
    [Confirmed] When the hook was deployed the inection indez changed, I'll have to change the mechanics of the skill, I'll try to finish that today.

    About the other stuff I'll probably take a look only tomorrow because today my day is very agitaded.

    Thanks for understanding.
    [DOUBLEPOST=1426709599,1426685903][/DOUBLEPOST]

    Suggestions:


    I haven't had time to test leveling up all the way through, but the idea is not be easy.
    Balancing an XP Table is a pretty hard task.
    I spent almost 8h just for that.
    When the RPG get more solid I'll check and balance stuff with you guys help.

    Wrote it down, thanks!

    Questions:

    This depends on how much points you spend in each attribute, I'll tell you the values if you apply all points in each attribute:
    • STR: +400Heatlh (500 Total)
    • AGI: 50% chance of dodging
    • INT: 80% craft time reduced
    Again this is going to be balanced later.

    Issues:
    This is my mistake probably, I don't know if I will be able to make the countdown disapear, but the no delay between itens I'll have to.

    This is not my doing, I just checked, rust devs changed that I think, I disabled my plugin and got the same rate as you said.
    The blacksmith skill didnt work properly because the hook changed. I'm fixing that now.
     
  11. could we please get the errors fixed showing up rusty is getting flooded on me with that onconsumefuel error
     
  12. Have you deleted both the HuntPlugin.json, Hunt_Data.json and restarted the server?
    That error you listed doesnt happen after you do this.
    I'll publish a new update now, but the error you are getting is from updating from version 1.1.x to 1.2.0. I told that the files need to be erased.
     
  13. PedraozauM updated Hunt RPG with a new update entry:

    Blacksmith, Itemcraft Fixed

     
  14. PedraozauM updated Hunt RPG with a new update entry:

    ItemCraft Finally Fixed

     
  15. doesnt work on my server since update. i deleted plugin and data files restarted server and reloaed plugin still have issue.
    xide] 9:20 PM [Debug] ExType: NullReferenceException
    [Oxide] 9:20 PM [Error] Failed to call hook 'OnConsumeFuel' on plugin 'Hunt RPG' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 9:20 PM [Debug] 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:20 PM [Debug] ExType: NullReferenceException
    [Oxide] 9:20 PM [Error] Failed to call hook 'OnConsumeFuel' on plugin 'Hunt RPG' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 9:20 PM [Debug] 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:20 PM [Debug] ExType: NullReferenceException
    [Oxide] 9:20 PM [Error] Failed to call hook 'OnConsumeFuel' on plugin 'Hunt RPG' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 9:20 PM [Debug] 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:20 PM [Info] Unloaded plugin Hunt RPG v1.2.2 by PedraozauM / SW
    [DOUBLEPOST=1426740481][/DOUBLEPOST]ok missed the config file and its working again. however when i do /hunt skilllist it just bring up what /hunt does.

    also when users try to put points in research or blacksmith it either says not a skill buy this name or brings up what /hunt would
    [DOUBLEPOST=1426741466][/DOUBLEPOST]
    ok n/m now it shows the lvl requirements. we are all good
     
  16. I'm getting when I deleted plugin and data files restarted server and reloaded plugin and I still have issue.
    Code:
    [Oxide] 2:04 AM [Info] Exception while patching HuntPlugin assembly: System.IO.IOException: Win32 IO returned 1224. Path: c:\games\208_167_250_55_28016\1177708\ruste\server\1177708\oxide\temp\HuntPlugin_2.dll
      at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
      at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
      at Mono.Cecil.ModuleDefinition.GetFileStream (System.String fileName, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
      at Mono.Cecil.ModuleDefinition.Write (System.String fileName, Mono.Cecil.WriterParameters parameters) [0x00000] in <filename unknown>:0
      at Mono.Cecil.AssemblyDefinition.Write (System.String fileName, Mono.Cecil.WriterParameters parameters) [0x00000] in <filename unknown>:0
      at Mono.Cecil.AssemblyDefinition.Write (System.String fileName) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CompilablePlugin+<PatchAssembly>c__AnonStorey2.<>m__0 (System.Object _) [0x00000] in <filename unknown>:0 
     
  17. Ok, no more errors at all?
    [DOUBLEPOST=1426758652][/DOUBLEPOST]
    This is probably not my plugin fault, its oxide permission to write the compiled file down. I would check if RustDedicated.exe is running with admin priviledges.
    Ok, just checked the error code and its probably some other program locking the file, tends to be either an antivirus or an unproperly closed instance of the server. Rebooting your server might be the easiest fix.(by rebotting I mean really rebotting the server pc, not just the server program)
     
    Last edited by a moderator: Mar 19, 2015
  18. Most of the time just rebooting the rust server is fine.
    And about the reduced crafting time, keep in mind that you are changing the blueprint definition, so once one player creates something with a reduced crafting time, this will actually reduce it for every player on the server, the only way to actually handle it on a per player basis is to alter the endTime of the task. Even when the plugin is unloaded the change in craft time stays active until the server restarts.
     
  19. Yeah I´m aware of that, but I´ve added the default blueprint time to my items table, so eveytime a diferent player tries to craft an item it applies the craft reducer to the default time. I´ve tested multiple people doing that at the same time and it seems no conflict had happened.
     
  20. Oops, was looking at the previous one, didn't notice the last update where you stored the default values. Yea, that should do the trick :p