In this particular instance the workaround "worked" because the BaseResource is no longer needed. Normally this wouldn't be the case and would probably cause more problems or errors, so waiting for an official update is recommended rather than trying to fix it yourself.
TruePVE
Better PVE/PVP implementation
Total Downloads: 4,637 - First Release: Mar 25, 2016 - Last Update: Mar 7, 2018
- 5/5, 26 likes
-
-
Wulf Community Admin
-
I'm running the updated version of TruePvE, and here's the issue I'm running into;
Code:TruePVE v0.7.17: Failed to load config file (is the config file corrupt?) (After parsing a value an unexpected character was encountered: r. Path 'RuleSets[0].flags', line 25, position 7.)
-
Wulf Community Admin
-
-
That website doesn't appear to be working. I'll paste my config file in case any of you helpful, kind souls want to give it a look. The ONLY thing I've done is added flags (thus far).
I've also attempted to JUST add the flag "AuthorizedDamage", and that nets the same error. Adding ANY flags causes this, and I'm not fluent enough in JSON to know what I'm doing wrong.
Code:{ "Config Version": "0.7.17", "Default RuleSet": "default", "Configuration Options": { "handleDamage": true, "handleLooting": true, "useZones": true }, "Mappings": { "default": "default" }, "Schedule": { "enabled": false, "useRealtime": false, "broadcast": false, "entries": [] }, "RuleSets": [ { "name": "default", "enabled": true, "defaultAllowDamage": false, "flags": "HumanNPCDamage, LockedBoxesImmortal, LockedDoorsImmortal, AuthorizedDamage, AuthorizedLooting, LootableCorpses, LootableSleepers, HeliDamageLocked“, "rules": [ "anything can hurt dispensers", "anything can hurt players", "players cannot hurt players", "anything can hurt traps", "traps cannot hurt players", "players can hurt barricades", "barricades cannot hurt players", "highwalls cannot hurt players", "anything can hurt heli" ] } ], "Entity Groups": [ { "name": "dispensers", "members": "BaseCorpse, HelicopterDebris", "exclusions": "" }, { "name": "players", "members": "BasePlayer", "exclusions": "" }, { "name": "traps", "members": "AutoTurret, BearTrap, FlameTurret, Landmine, GunTrap, ReactiveTarget, spikes.floor", "exclusions": "" }, { "name": "barricades", "members": "Barricade", "exclusions": "" }, { "name": "highwalls", "members": "wall.external.high.stone, wall.external.high.wood, gates.external.high.wood, gates.external.high.wood", "exclusions": "" }, { "name": "heli", "members": "BaseHelicopter", "exclusions": "" } ] }
-
Wulf Community Admin
Plenty of alternatives like the above. Your issue is that you used “ instead of " on one of the lines. -
Actually, I may have stumbled upon the issue thanks to the handy code feature here. My text editor may have been "helpfully" adding "smart quotes", changing the character of the close quote on the flags. It loads without error now.
-
Wulf Community Admin
-
Alright, NEXT dumb question from me;
I have everything configured exactly as I did before the wipe, however the Zone exemption doesn't appear to be working. No error messages, it's configured as before; per FAQ. But, simply, users inside the zone designated as PvP aren't being damaged. Thoughts?
EDIT: The problem appears to be that it doesn't like zones created by BuildingWrapper. Hmm...Last edited by a moderator: Jun 2, 2017 -
-
Update ZoneManager and place the code from TRUEPVE Overview inside the .cs file.
should work again.
[DOUBLEPOST=1496418665][/DOUBLEPOST] -
I wasn`t understanding this, to be honest.Whats the effect if I leave them there?
-
-
-
-
Does AuthorizedLooting actually protect furnaces/refineries/mailboxes regardless of whether they are in cupboard radius?
[DOUBLEPOST=1496617765][/DOUBLEPOST] -
The updated "AuthorizedDamage" doesn't appear to be working; players can't damage things that aren't owned by anyone. Thoughts?
-