TruePVE

Better PVE/PVP implementation

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

5/5, 26 likes
  1. @ignignokt84 This didn't take me as long as I thought it would.

    Testing with all plugins, I was able to damage some of the stuff I had in the list, Weird right ? It gets weirder ....
    I had a 6 x 6 platform set up. I put items all the away around. (obviously the stuff with no healthbar didn't die) but, check this out.

    From one edge of the platform to the other, Damage was different, One side, I was able to damage items. The other side across from it, I couldn't even damage the foundation under the item, let alone the item.

    Testing with just TruePVE, still the same as above. just unloaded all plugins besides TruePVE

    Testing with no plugins I was able to damage everything, some bullet types seem not to damage vs other types of ammo including c4. c4 got rid of everything per foundation wipe :)

    So I dont know what it is about the truepve plugin on my end, but its definately not letting damage some items and foundations without TC. I checked the area around me too. Noones base insight. no monuments... just me and the stuff. I dont know what to do. lol

    Maybe a fresh install might fix it. idk
     
  2. One question: how can I make twig destroyable?
    I want that everyone can destroy every building made out of twig. Is this possible?
     
  3. Would it be possible to make it so that mappings could be added via chat/console commands? As admin on a server, I can create Zones, but I cannot add them to TruePVE because I do not have access to the file system on the server. This would allow server owners to delegate some of these types of things.

    Example:
    We are testing the idea of having a PVP zone within a PVE server. As a user with level 2 authorization, I can build an arena, create a zone that fits within it, and make all the required modifications to that zone (name, size, messages, etc - all ZoneManager stuff). However, the actual owner of the server will still have to modify the TruePVE config file to add the "zoneid":"exclude" entry into the mapping section before it will work. If there was a command such as
    Code:
    /tpve_map add zoneid flag
    then the only thing the owner would need to do is modify the plugin once to enable the zones support. After that, it could be handled by authorized admins, and without direct server access. It would probably also be necessary to include commands to list mappings, and to remove a mapping.
     
  4. @Krazy J - That's odd behavior... I don't have a way to explain it. Maybe try that fresh install and see what happens? Maybe there's a plugin that wasn't completely unloaded when you tested? It would only make sense to see different damage if there was a zone intersecting that platform, but otherwise there's no explanation :(
    Not currently.

    @mughi - That is something I should be able to add. Rulesets and entity groups will still need to be manually created in the config, but having the ability to create mappings from chat/console would make sense.
     
  5. @mughi - That is something I should be able to add. Rulesets and entity groups will still need to be manually created in the config, but having the ability to create mappings from chat/console would make sense.[/QUOTE]

    Thank you! That would be great.
    One other question, and I apologize if it has been answered previously, although i did not search
    Actually, this was answered on page 35 (fire damage).. I'll pass that along to the server owner.
    Maybe that code snippet (TruePVE | Page 35 | Oxide) should be in the FAQ?
     
  6. hmmm I cant post what I wanted to post
    [DOUBLEPOST=1503465988][/DOUBLEPOST]
     
  7. Hey wulf, what is the tank classified as, seem like we can't kill the tank on my server
     
  8. Yup same here. APC can't be damaged. FWIW it shows 500 health.
     
  9. i think /tpve_prod chat command tells what it is, but i'm not sure what to add to the config file
     
  10. The tank is named BradleyAPC. you must add it to a rule or create a new rule for it. If you don't already have an "npcs" RuleSet, you can add one like below, with the accompanying rule. This will also preemptively set you up for when player NPCs are officially added to the game.
    Code:
    // rule
            "anything can hurt npcs"
    // npcs ruleset
        {
          "name": "npcs",
          "members": "BradleyAPC, NPCPlayerApex",
          "exclusions": ""
        }
    [DOUBLEPOST=1503614166][/DOUBLEPOST]Also, attached is a config that you can use for reference.
     

    Attached Files:

  11. I keep having this pop up randomly. Its been going on for some time now. maybe a coup months. I post it when I see it. Its the same one ive had a hard time getting rid of for ever now.

    Code:
    (19:31:45) | [Oxide] 19:31 [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'TruePVE v0.7.22' (NullReferenceException: Object reference not set to an instance of an object)
    (19:31:45) | [Oxide] 19:31 [Stacktrace]   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
     
  12. I'll check the code and see if there are any potential NREs I can handle. Any idea what was being damaged when it popped?
     
  13. I really just don't know. Its one that has been around through a few versions. just cant pin it down because I never see it until I look at RCON.

    but I figure its an entity taking a hit from a weapon or something, just cant tell what. I can never reproduce this error.
     
  14. Ok - I fixed a potential NRE in that procedure, so hopefully that'll solve this issue. The fix will be part of the next release, but I don't know when that'll be done (I'm considering removing loot handling from TruePVE and leaving looting to other plugins that are better at it).
     
  15. Loot handling in TruePVE has worked good for a while. The flag for authorized looting could use some work though. But if taking it all out completely I wouldn't bother. Not sure what other plugins are "better" but I suppose that would be ok. lol

    I Finally found out what caused the NRE Error. I was just shooting at the heli (Which I hardly ever do cause I don't have time to usually.) :) That's at least one reason why it pops up. If you fixed this in the new update, disregard this.
     
  16. yeah. I was reading through the overview on that one. Seems pretty cool. :) either way, I'm down with it.
     
  17. anyone else have issue with looting scientist
     
  18. ignignokt84 updated TruePVE with a new update entry:

    0.8.0