TruePVE

Better PVE/PVP implementation

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

5/5, 26 likes
  1. Made a valid config for TruePVE, at least that`s what JSON validator said, but still getting it reverted to default once applied on the server.
     
  2. So it's syntactically valid, but there must be another issue - I'd recommend checking your flags first and making sure they match up with the flags defined in the overview. Flags must match exactly, including capitalization. After that then you should check rules/rulesets - pretty much everything is case-sensitive in the json, so if you have a mapping to a ruleset "pvp", but the ruleset name is "PVP", then it will cause an issue, and you need to make sure they are the same.
     
  3. I will get onto that then.Can you confirm whether that ZoneManager line is the one we need ?
     
  4. Yes, that's correct - that entire block needs to be copied into the ZoneManager.cs file.
     
  5. I inserted this into line 2011:

    Got this:

     
  6. One sec, I'm checking what you're doing.
    [DOUBLEPOST=1494812228][/DOUBLEPOST]Sorry, my brain transposed those procedure names and I confused myself apparently... Where did you get the CreateOrUpdateZone from?
     
  7. Can`t copy a whole block of code, because that single line is all I see there.No problem, not wanting to nag you anymore.I will, MAYBE, come across something/someone that will point in the right direction someday.Thanks.
     
  8. The code you need to copy is in the TruePVE plugin description, not the ZoneManager description.
     
  9. Well, I did not see this post at all, because of edits.So I just proceeded taking your initial post that I got the right line.Now ZoneManager has loaded properly.Time to update TruePVE config now and see what happens in that zone.
    [DOUBLEPOST=1494814757][/DOUBLEPOST]Mission successful.Ignignokt84, you are our hero.Thanks a lot.
     
  10. @ignignokt84, I'm thinking this is from when a player attacks his base, or when my admin "Ent killed" an entity and it lagged out. not sure. both of those things took place at the same time.

    Can we find whats causing this? :) It actually does it on both servers. but, not sure if its the same error on each.

    Code:
    (20:23:50) | Failed to call hook 'OnEntityTakeDamage' on plugin 'TruePVE v0.7.14' (NullReferenceException: Object reference not set to an instance of an object)
    (20:23:50) | at Oxide.Plugins.TruePVE+TruePVEData.ResolveEntityGroups (.BaseEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.TruePVE.EvaluateRules (.BaseCombatEntity entity, .HitInfo hitinfo, Oxide.Plugins.RuleSet ruleSet) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.TruePVE.AllowDamage (.BaseCombatEntity entity, .HitInfo hitinfo) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.TruePVE.HandleDamage (.BaseCombatEntity entity, .HitInfo hitinfo) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.TruePVE.OnEntityTakeDamage (.BaseCombatEntity entity, .HitInfo hitinfo) [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 (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
     
  11. @Krazy J - Please upload your json. Neither of those things should cause issues - ent kill doesn't fire TruePVE damage handling since it directly kills the entity, and hitting your owned entities has been heavily tested without issues.
     
  12. I just created a server and after installing quite a few mods and plug-ins the right mouse click to use weapon aim stopped working so no weapons can be aimed using the right mouse click I have no idea how it happened or how to fix has anyone come across this?
     
  13. Out of curiosity - I've apparently had people trying to "Rocket Jump" on my server during PVE time. What would you suggest to combat this haha.
     
  14. What do you mean "rocket jump"?
     
  15. I will do a little more testing but aside of fireballs, there seems to be another loophole in here.I had few cases where people were able to deal damage to external stone walls. (it wasn`t decay)
     
  16. If you can provide me with more details I will try to replicate the issue. But external walls shouldn't take any damage unless the attacker owns the wall, or the heli hits it and heli damage is on for structures.
     
  17. Heli could be the only reason.I tried all ways of dealing damage to that wall and nothing worked.
     
  18. Would you mind sharing your TruePVE config file and the ZoneManager.cs file? I've tried the edits myself, and must be missing something. Because we cannot PvP in the designated zone that I have created. Also, server.pve true or server.pve false should be active?
     
  19. it spams my rcons at random times, I haven't figured out whats causing it exactly.

    But on another note, Do you know where I can find, "Fireball" and the other ones that go along with that? Explosion one maybe? Splash damage ? idk lol
    Trying to make an entity group just for them.

    Im trying to block damage from the plugin "Rocket Turrets" during pve times. :)
     

    Attached Files: