Roadsigns and Corpses BugSolved

Hey there! So I just updated to the latest Rust Update and now there seem to be a few issues. Player's can't damage Roadsigns and they also can't damage Corpses. I know TruePVE is causing this since when I unloaded the plugin it all worked fine. Please help, thanks!

{
  "Config Version": "2.0.4",
  "Default RuleSet": "default",
  "Configuration Options": {
    "handleDamage": true,
    "useZones": true
  },
  "Mappings": {
    "default": "default",
    "51231822": "pve",
    "1007476933": "exclude"
  },
  "Schedule": {
    "enabled": false,
    "useRealtime": false,
    "broadcast": false,
    "entries": []
  },
  "RuleSets": [
    {
      "name": "default",
      "enabled": true,
      "defaultAllowDamage": true,
      "flags": "HumanNPCDamage",
      "rules": [
        "anything can hurt anything"
      ]
    },
    {
      "name": "pve",
      "enabled": true,
      "defaultAllowDamage": false,
      "flags": "HumanNPCDamage, LockedBoxesImmortal, LockedDoorsImmortal, AuthorizedDamageRequiresOwnership, AuthorizedDamage, SelfDamage",
      "rules": [
        "anything can hurt dispensers",
        "anything can hurt players",
        "players cannot hurt players",
        "anything can hurt traps",
        "anything can hurt samsites",
        "samsites cannot hurt players",
        "traps cannot hurt players",
        "players cannot hurt traps",
        "players cannot hurt samsites",
        "players cannot hurt barricades",
        "players can hurt heli",
        "players can hurt mini",
        "players can hurt scrapheli",
        "players can hurt cars",
        "players can hurt ridablehorses",
        "players can hurt ch47",
        "players can hurt npcs",
        "barricades can hurt players",
        "highwalls can hurt players",
        "heli can hurt everything",
        "ch47 can hurt everything",
        "anything can hurt heli",
        "anything can hurt mini",
        "anything can hurt scrapheli",
        "anything can hurt cars",
        "anything can hurt ch47",
        "anything can hurt ridablehorses",
        "anything can hurt npcs",
        "fire cannot hurt anything",
        "fire can hurt dispensers",
        "fire can hurt guards",
        "fire cannot hurt players",
        "fire cannot hurt samsites",
        "fire cannot hurt traps",
        "anything can hurt resources",
        "npcs can hurt everything"
      ]
    }
  ],
  "Allow Killing Sleepers": false,
  "Entity Groups": [
    {
      "name": "barricades",
      "members": "Barricade, icewall, GraveYardFence",
      "exclusions": "barricade.concrete, barricade.sandbags, barricade.metal, barricade.stone, barricade.wood, barricade.woodwire"
    },
    {
      "name": "dispensers",
      "members": "BaseCorpse, HelicopterDebris, NPCPlayerCorpse, HorseCorpse, PlayerCorpse",
      "exclusions": ""
    },
    {
      "name": "fire",
      "members": "FireBall, fireball_small, fireball_small_arrow, fireball_small_shotgun, riflebullet_fire, rocket_fire, flamethrower_fireball, flameturret_fireball",
      "exclusions": "FlameExplosive, rocket_heli_napalm, Napalm, oilfireball2, FlameThrower, BaseOven"
    },
    {
      "name": "guards",
      "members": "bandit_guard, scientistpeacekeeper, sentry.scientist.static",
      "exclusions": ""
    },
    {
      "name": "heli",
      "members": "BaseHelicopter",
      "exclusions": ""
    },
    {
      "name": "highwalls",
      "members": "SimpleBuildingBlock, wall.external.high.ice, gates.external.high.stone, gates.external.high.wood",
      "exclusions": ""
    },
    {
      "name": "ridablehorses",
      "members": "RidableHorse",
      "exclusions": ""
    },
    {
      "name": "cars",
      "members": "BasicCar, ModularCar, BaseModularVehicle, BaseVehicleModule, VehicleModuleEngine, VehicleModuleSeating, VehicleModuleStorage, VehicleModuleTaxi, ModularCarSeat",
      "exclusions": ""
    },
    {
      "name": "mini",
      "members": "MiniCopter",
      "exclusions": ""
    },
    {
      "name": "scrapheli",
      "members": "ScrapTransportHelicopter",
      "exclusions": ""
    },
    {
      "name": "ch47",
      "members": "ch47.entity",
      "exclusions": ""
    },
    {
      "name": "npcs",
      "members": "ch47scientists.entity, BradleyAPC, HTNAnimal, HTNPlayer, HumanNPC, NPCMurderer, NPCPlayer, Scientist, ScientistNPC, Zombie",
      "exclusions": ""
    },
    {
      "name": "players",
      "members": "BasePlayer",
      "exclusions": ""
    },
    {
      "name": "resources",
      "members": "ResourceEntity, TreeEntity, OreResourceEntity, LootContainer",
      "exclusions": "hobobarrel.deployed"
    },
    {
      "name": "samsites",
      "members": "sam_site_turret_deployed",
      "exclusions": "sam_static"
    },
    {
      "name": "traps",
      "members": "AutoTurret, BearTrap, FlameTurret, Landmine, GunTrap, ReactiveTarget, TeslaCoil, spikes.floor",
      "exclusions": ""
    }
  ]
}​

Hi, I could not reproduce this. You will have to use the tpve.trace command and look at the logs to see why this is happening to you

Before creating this report I actually remembered to do a trace. Within the trace it says I am hitting roadsign4, so I decided to add that into my file but it still doesn't allow damage.

======================
==  STARTING TRACE  ==
==  19:29:06.60486  ==
======================
 From: BasePlayer, player
 To: LootContainer, roadsign4
  Checking exclusions between [51231822, pve] and [51231822, pve]
   Shared locations: 51231822
   No shared locations, or no matching exclusion mapping - no exclusions
 No exclusion found - looking up RuleSet...
  Beginning RuleSet lookup for [51231822, pve] and [51231822, pve]
   Shared locations: 51231822
   Found 1 location names, with 1 mapped RuleSets
   Found RuleSet: pve
 Using RuleSet "pve"
 Door/StorageContainer detected with immortal flag; lock check results: null (no lock or unlocked); continue checks
 Initiator is player who does not own non-player target; block and return​


Merged post

I have just done some Trial and Error testing and for some reason the "AuthorizedDamageRequiresOwnership" flag is the thing causing the issue. Is there any chance you could roll out a patch update for this?

That isn't from AuthorizedDamageRequiresOwnership. The issues with this flag have already been fixed in the next update

You should be using LootContainer, not roadsign4, otherwise you will have to add 1-9 as well and that's inefficient.

The issue is the immortal flag including LootContainer as a box when it isn't a box, which is what your trace is showing. Also fixed in next update

Gotcha okay I will wait till next update until I re-add the flag then :)

Locked automatically