Can't get PVP zones to workSolved
nivex

i would need a better trace to figure it out

What do you mean by a better trace? The first time I gave too much info, so I only enabled it for a few seconds like you said, and I copied the two parts that contained the information from the two zones the second time.

I think problem was the zone_data file. I had both zones named "killall" in that file. I gave each a unique name (nuketown and dedust) and I changed the mappings section of the TruePVE.json file to have this in Mappings:

  "Mappings": {
    "default": "default",
    "dedust": "killall",
    "nuketown": "killall"
  },

I hope to have time to test it later today.

In case that's not the answer, can you expand on what you mean by a "better" trace?
FDSHh1dppsApsWB.jpg BetterDeadThanZed

What do you mean by a better trace? The first time I gave too much info, so I only enabled it for a few seconds like you said, and I copied the two parts that contained the information from the two zones the second time.

I think problem was the zone_data file. I had both zones named "killall" in that file. I gave each a unique name (nuketown and dedust) and I changed the mappings section of the TruePVE.json file to have this in Mappings:

  "Mappings": {
    "default": "default",
    "dedust": "killall",
    "nuketown": "killall"
  },

I hope to have time to test it later today.

In case that's not the answer, can you expand on what you mean by a "better" trace?

In your first trace, the trace said that the attacking player was not inside the zone, but the attacked player was inside.

Because the players did not have a shared ruleset for True PVE to use, it used the default ruleset instead.

oh my bad I misread. yes it looks like you've figured it out with the duplicate name

I finally got to test and it's still not fixed.

zone_data.json: https://pastebin.com/yCe7Kh0h

TruePVE.json: https://pastebin.com/tzSkVG7R

Log information:

In this first one, I could not harm the other player in the zone:

======================
==  STARTING TRACE  ==
==  15:36:46.88505  ==
======================
From: BasePlayer, player
To: BasePlayer, player
Checking exclusions between [empty] and [62003600, dedust]
Shared locations: none
No shared locations, or no matching exclusion mapping - no exclusions
No exclusion found - looking up RuleSet...
Using RuleSet "default"
No match in pre-checks; evaluating RuleSet rules...
Initator EntityGroup matches: players
Target EntityGroup matches: players
Evaluating Rules...
Checking direct initiator->target rules...
Evaluating "players->players"...
Match found; allow damage? False

In this second one, I was able to harm the other player. There are two PVP zones on the map.

======================
==  STARTING TRACE  ==
==  15:38:51.88671  ==
======================
From: BasePlayer, player
To: BasePlayer, player
Checking exclusions between [41557018, nuketown] and [41557018, nuketown]
Shared locations: nuketown
No shared locations, or no matching exclusion mapping - no exclusions
No exclusion found - looking up RuleSet...
Beginning RuleSet lookup for [41557018, nuketown] and [41557018, nuketown]
Shared locations: nuketown
Found 1 location names, with 1 mapped RuleSets
Found RuleSet: killall
Using RuleSet "killall"
No match in pre-checks; evaluating RuleSet rules...
Initator EntityGroup matches: players
Target EntityGroup matches: players
Evaluating Rules...
Checking direct initiator->target rules...
Evaluating "players->players"...
Match found; allow damage? True

What I noticed is that in the zone where I can't hurt the other player, I see this line:

Checking exclusions between [empty] and [62003600, dedust]

In the zone where I can hurt the other player, I see this line:

Checking exclusions between [41557018, nuketown] and [41557018, nuketown]

Why does the first one say "empty"?

    "dedust": "killall",
    "nuketown": "killall"

change this to:

    "62003600": "killall",
    "41557018": "killall"

and see if it makes any difference.

it means that it can't find the zone. it looks up the zone ID and once it finds those it will look up the zone name using the zone ID

nivex
    "dedust": "killall",
    "nuketown": "killall"

change this to:

    "62003600": "killall",
    "41557018": "killall"

and see if it makes any difference.

it means that it can't find the zone. it looks up the zone ID and once it finds those it will look up the zone name using the zone ID

I tried that and it still isn't working.



Merged post

I deleted the zone that wasn't working and I recreated and it's working for now, but I seem to remember in the past that was the case, then it stopped working again, so we'll see if it still works later on.

Merged post

I can confirm that the player damage has stopped working again. I just had a player try the zone that's been having the trouble and they can't hurt each other again.

Merged post

Same info in the debug:

======================
==  STARTING TRACE  ==
==  17:41:28.88694  ==
======================
From: BasePlayer, player
To: BasePlayer, player
Checking exclusions between [empty] and [47692921, dedust]
Shared locations: none
No shared locations, or no matching exclusion mapping - no exclusions
No exclusion found - looking up RuleSet...
Using RuleSet "default"
No match in pre-checks; evaluating RuleSet rules...
Initator EntityGroup matches: players
Target EntityGroup matches: players
Evaluating Rules...
Checking direct initiator->target rules...
Evaluating "players->players"...
Match found; allow damage? False

idk what to tell ya. we run 10+ zones no problem :/

I'm trying to use this with the Arena plugin from Chaos Code. I wonder if that plugin affects the PVP zones some how? Previously I found that the first zone I had set up work and the second zone didn't so I changed it so only the zone that wasn't working was the only zone but it still isn't working. Everything except for pvp works. It's driving me nuts. I'm wondering if the Arena plugin isn't playing nice with TruePVE.

did you happen to figure out it yet Zed? I could try to be available sometime to assist if you want to grant me FTP, rcon and admin status on your server. teamviewer might work, too. then i add debug code to the plugin to see exactly where the issue might be.

nivex

did you happen to figure out it yet Zed? I could try to be available sometime to assist if you want to grant me FTP, rcon and admin status on your server. teamviewer might work, too. then i add debug code to the plugin to see exactly where the issue might be.

The only thing I can see as being a problem is the Events plugin I referenced. I think it's possible that mod is doing something to affect the zones when combined with TruePVE. Specifically it doesn't work with the GunGame mode of that plugin but it only affects PVP. The other attributes of the zone seem to work.

I wouldn't know without debugging it myself

Is there a solution? Damage does not pass either ...

Normal PVP zones work fine. When used in conjunction with the Arena plugin from Chaos Code, I get the problems obviously described. I posted on the other site but have gotten no response. 

FDSHh1dppsApsWB.jpg BetterDeadThanZed

Normal PVP zones work fine. When used in conjunction with the Arena plugin from Chaos Code, I get the problems obviously described. I posted on the other site but have gotten no response. 

last update Arena v2.0.10 solves the problem.