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

    Is there a way to use the existing config to allow looting npcs (botspawn plugin) ? or would you need to update it to allow that?
     
  2. I'll look into it - I need to see how the NPCPlayer handles death (what kind of corpse it turns into).
     
  3. ignignokt84 updated TruePVE with a new update entry:

    0.7.22

     
  4. Got this error i juste update it i unload remove config reload new one and that came in cosole?
    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
     
  5. Thanks, Ill check thus out later.. Players are waiting to loot npcs :) LOL
     
  6. Hmm, players are taking damage with PVE enabled. I've unloaded/reloaded the plugin as well as the config and it's acting like the plugin doesn't even exist. Doesn't show reloaded unloaded, anything.
     
    Last edited by a moderator: Aug 6, 2017
  7. post your config file.
     
  8. Error while compiling: TruePVE.cs(422,25): error CS0246: The type or namespace name `BaseResource' could not be found. Are you missing `ProtoBuf' using directive?
    [DOUBLEPOST=1501999105][/DOUBLEPOST]

    Wow alright, so it looks like the issue is persisting with any plugin. I can't reload anything.
     

    Attached Files:

    Last edited by a moderator: Aug 6, 2017
  9. Not sure what the error is. maybe an error in the config ?

    "Config Version": "0.7.17", << ------ update your .cs file 0.7.21 is the new version.

    I cant see anything offhand other then maybe below:

    I don't have this "anything can hurt players", in my config and mine works just fine
     
  10. I've tried updating it and no suck luck. Also, it's how our servers run. Depends on the day whether it's PVP or PVE. Think my oxide took a dump lol. It's doing it for other plugins now too.
     
  11. might be that oxide needs to be updated then. I don't know. You're running the latest version I would think, correct ?
     
  12. 2.0.3389 right?
    [DOUBLEPOST=1502000709][/DOUBLEPOST]
    This is the error I keep getting with the newest version of TruePVE:
    Error while compiling: TruePVE.cs(422,25): error CS0246: The type or namespace name `BaseResource' could not be found. Are you missing `ProtoBuf' using directive?
     
  13. What I would do is delete everything. and throw in the new .cs file and let it create a new config. If you haven't done that. Not sure offhand what is causing that error besides something being incorrect in the config. or the .cs file.

    This is what I'm running:

    Protocol: 2003.149.1

    Build Date: 08/03/2017 12:10:07

    Unity Version: 5.6.0f3

    Changeset: 22031

    Branch: main

    Oxide Version: 2.0.3389

    Make sure yours is the same

    Edit: I overlooked something: BaseResource .. its not found because it has changed a few updates ago. take out BaseResource out of the first Entity Group. It should Run then.
     
  14. That's the thing, it won't go in and create a new config...it just gives that error. No new config is generated. I'll give the base resource thing a try.
     
  15. If you cant delete something entirely, submit a ticket to your host. But make sure when you're trying to delete something, unload the plugin, then delete the files you want. Some are sticklers and wont let you do anything to them.
     
  16. I deleted them both the first time by accident, and they never came back. Even after reloading the .cs file, no .json is regenerating. But the BaseResource thing is erroring in the .cs file, and I can't find it anywhere in the .cs file.
     
  17. sorry. I wasn't clear. Its in the config file. In the Entity Groups section for "dispensers"
     
  18. I tried clearing that out, same error upon oxide.reload-ing it.
    [DOUBLEPOST=1502010933][/DOUBLEPOST]
    The error is coming up as something from the .cs file, not the .json file. That's where I'm confused. It's saying Like 422, over 25 letters. The config file is nowhere near that length.
     
  19. Not sure then. Which version are you trying to use? Might have to ask the dev. He may know better.
     
  20. The latest version is what I'm trying to use. It's not working so hot though. 0.7.22

    I just tried reverting, and it's giving me the exact same error.
    [DOUBLEPOST=1502011562][/DOUBLEPOST]Alright I'm turning this over to @ignignokt84 in hopes he will have a solution. Thank you for your assistance in trying to debunk the issue @Krazy J :( Wish it would've worked out well...

    To summarize this whole mess up:

    I am uploading the current .cs version of TruePVE and I am receiving this error:
    Error while compiling: TruePVE.cs(422,25): error CS0246: The type or namespace name `BaseResource' could not be found. Are you missing `ProtoBuf' using directive?
    Another issue I am having while uploading the current issue is that it will not generate a new config file, nor will it accept my old config files. I am hoping by some great miracle you will have an idea as to what I should do. I am also running the most current oxide version as well. I tried searching through the .cs file for this "BaseResource" error and no such luck. Any ideas? Thank you!