TruePVE

Better PVE/PVP implementation

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

5/5, 26 likes
  1. But is it ok to keep the existing json config file after replacing TruePvE.cs?
     
  2. It should be, but keep a backup of the config anyway. Worst case scenario, the new version resets the config to the defaults. But in any case, you can always just unload TruePVE then update the config and reload TruePVE again.
     
  3. Thanks once again for helping out......your awesome! All Locked Boxes & Doors Cannot be damaged and/or destroyed.
    Not at all surprising it was something I did. Story of my life.

    Now If I can just figure out which plugin is keeping server from harvesting Cactus, I will be golden.

    Thanks again!

    P.S. It's Timber Plugin
     
    Last edited by a moderator: Oct 5, 2017
  4. Sorry...I'm back...different issue this time, that I don't remember having before.
    Zone integration for Zones Manager.
    I keep getting an error messsage......inputting zone id's?

    19:48 [Error] Error while compiling: ZoneManager.cs(2169,9): error CS1002: ; expected


    Once again, I'm sure I have done something to muck it up.

    Thanks for any help can give.
     

    Attached Files:

  5. @draindoc98 - You have some extra text in the code you pasted into ZoneManager. The code should be exactly the same as the code in the TruePVE overview, Zone Integration section.
     
  6. Uumm.....could you be a little more specific? What extra text exactly? You mean the zone id's themselves should not be inputted
    into the Zone Integration code? Or maybe you mean the green headings of were TruePvE Integration begins and ends?

    Sorry.......@draindoc98 = Thick!
     
  7. Correct.
     
  8. Thank You!.........Now if I can just figure out why my server is constantly crashing and restarting
    since wipe, once again I'll be golden.
     
  9. ignignokt84 updated TruePVE with a new update entry:

    0.8.1

     
  10. Getting no wood and stone with this plugin now! Please fix!
     
  11. Was having the same problem. I had to install older version.
     
  12. Sorry! I reimplemented the gathering checks in 0.8.1 but completely forgot to rebuild the default resource node rules. I will release an update, but this should be solved by adding the following ruleset and rule to your configs (an example config is attached for reference as well):
    Code:
    // rule
    "anything can hurt resources"
    // ruleset
    {
      "name": "resources",
      "members": "ResourceEntity",
      "exclusions": ""
    }
    Disclaimer: I haven't actually tested this yet, but I wrote the plugin, so it *should* work. ;)
     

    Attached Files:

  13. ignignokt84 updated TruePVE with a new update entry:

    0.8.2

     
  14. had to add the Entity Type for Trees and Rock Nodes to get those resources when Harvesting them. FYI :)

    Code:
      {
      "name": "resources",
      "members": "ResourceEntity, TreeEntity, OreResourceEntity",
      "exclusions": ""
      }
     
  15. Damn, I guess I jumped the gun on my update and only specified the "parent" of trees/nodes. :( I'll have to release another update, but for now anyone else who can't gather resources, please use the entity group mentioned in the previous post. Thanks @Krazy J!
     
  16. Still not working!
     
  17. np any time. :)
    [DOUBLEPOST=1507757152][/DOUBLEPOST]
    lets see your config. I'll look at it.
     
  18. Sorry about this again....but just when I think I have got a bead on it.......I am just so lost.
    I have read latest update.....although cant make heads or tails of it. And for whatever reason
    server console command window just being spammed to death with.....

    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

    This suppose to be happening?
     
  19. Sure isn't. That's definitely the result of a failure point I accidentally introduced in 0.8.1. I'll post a fix shortly.
     
  20. ignignokt84 updated TruePVE with a new update entry:

    0.8.3