TruePVE

Better PVE/PVP implementation

Total Downloads: 4,636 - First Release: Mar 25, 2016 - Last Update: Mar 7, 2018

5/5, 26 likes
  1. Also....would this perhaps have an effect on players not being able to harvest on server?
     
  2. No, but that's a result of another update: TruePVE for Rust - 0.8.2 | Oxide
     
  3. Me being thick again....you mean an update from a different plugin? GatherManager, ToolGatherManager and possibly
    the like?

    Oh...and I just installed latest update. Console still being spammed.
     
  4. No, it was TruePVE v 0.8.1 that caused the gathering issue. I linked the update notes in my previous post (I'd recommend reading them).

    Spammed with what error?
     
  5. 15:41 [Error] Failed to call hook 'CanBeTargeted' on plugin 'TruePVE v0.8.2' (KeyNotFoundException: The given key was not present in the dictionary.)
    15:41 [Stacktrace] at System.Collections.Generic.Dictionary`2[System.String,System.String].get_Item (System.String key) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.TruePVE+<GetRuleSet>c__AnonStorey0.<>m__2 (Oxide.Plugins.RuleSet r) [0x00000] in <filename unknown>:0
    at System.Linq.Enumerable.Any[RuleSet] (IEnumerable`1 source, System.Func`2 predicate) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.TruePVE.GetRuleSet (System.Collections.Generic.List`1 e0Locations, System.Collections.Generic.List`1 e1Locations) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.TruePVE.GetRuleSet (.BaseEntity e0, .BaseEntity e1) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.TruePVE.CanBeTargeted (.BaseCombatEntity target, System.Object turret) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.TruePVE.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
  6. Hello
    no gathering dead tree ?
    Sorry for my english... ^^

    Edit : its ok with :
    Code:
    {
      "name": "resources",
      "members": "ResourceEntity, TreeEntity, OreResourceEntity",
      "exclusions": ""
      }
     
    Last edited by a moderator: Oct 12, 2017
  7. All of this has to be put into the config file?.....I thought it was just..."anything can hurt resources" rule?
     
  8. Yes it all needs to be there. The rule won't work on its own because it doesn't know what "resources" is, which is what that entity group is defining.

    Can you upload your config, and also the log files I had you upload last time you had issues?
    [DOUBLEPOST=1507807215][/DOUBLEPOST]By the way @draindoc98, please always upload the latest error. The second error you posted is the same error you posted already from before you updated, which makes it irrelevant.
     
  9. Yeah...sorry about not uploading the error files, forgot about that.

    All is good now!......no errors, spamming of console, no more. TruPvE working Awesome once again! I just copied and pasted what phoebusbook had posted.......But I am curious to know, why do the resources now have to have their own RuleSet/Entity Group? Is it because of Facepunch updates or Oxide itself?

    It's just kind of difficult to find out, for whatever reason, all the sudden a plugin which was working just fine, doesn't anymore.
    And not just this one. I understand updates and improvements and instabilities and what not.........but....

    I guess it is just my lay-persons brain getting no reception.

    Thanks once again.
    And I will remember config and log files next time.
     
  10. Any fix to the not gathering wood/ores yet ? when i add the above code i get errors and GatherManager quits working....
    [DOUBLEPOST=1507872138][/DOUBLEPOST]Got it fixed. Had to delete TruePVE and GatherManager, Restart server and re-upload them to server.
     
  11. Players are telling me the cactus are not harvest-able and the logs/branches on the ground. this all started when i updated TruePVE and GatherManager.
    I have tested the logs and cactus and nothing harvests them.
     
  12. This has to be set the way I have it, or those you may not harvest.

    I'm using version 8.3.0 with this entity group

    {
    "name": "resources",
    "members": "ResourceEntity, TreeEntity, OreResourceEntity",
    "exclusions": ""
    }
     
  13. @Krazy J - I was just going to post that same thing. @^Animal^ - make sure all three of those entities are in the resources entity group or you might not be able to gather some things. I didn't realize that logs/cactus were actually the generic ResourceEntity types, so I had removed it from the default config again to try to keep it clean. :( It'll be added back in next version... (le sigh)
     
  14. I deleted the config files and loaded version 0.8.0 and all works fine.
     
  15. that /tpve_prod command comes in handy, I've recently been using that for everything. :)

    Oh and cactus are part of the ResourceEntity, so if you don't have that in the config, you cant harvest cactus.
     
  16. ignignokt84 updated TruePVE with a new update entry:

    0.8.4

     
  17. @ignignokt84 the searching on here isn't that great but I am trying to find out how to block sleepers from being looted. i have tried "sleeperLooting": false, in default rules config tried LootableSleepers as a flag. None of the work also checked FAQ and found nothing any help? Seems with your last update sleepers can be looted. I had to go back to version "0.7.22" so sleepers wont be looted.
     
    Last edited by a moderator: Oct 16, 2017
  18. @ignignokt84 Wondering why Cactus cannot be harvested with Hatchet? It can however be harvested with Salvaged Axe.

    You will be so proud of me!......I Uploaded my config file.

    Thanks for any help you can give!
     

    Attached Files:

  19. TruePVE doesn't distinguish between different weapons/tools. If you can gather with one tool but not another, it's not an issue with TruePVE. If you have any gathering plugins you may want to start looking at those. I'd recommend unloading all plugins and testing, then load them one at a time and test until you see the issue (this should be the first thing you do, to make sure you know for sure which plugin is causing the issue).
     
  20. Thank You