Jump to content

The PveMode plugin is spamming the chat for players who are not the event owner.

Pending 1.8.7

Kobani
Kobani

Posted

The PveMode plugin is spamming the chat for players who are not the event owner.

image.png

Adem

Posted

48 minutes ago, Kobani said:

The PveMode plugin is spamming the chat for players who are not the event owner.

image.png

Hi. What did the player do to receive this spam? 

Kobani

Posted (edited)

If a player is the event owner, all other players who are not the owner receive repeated chat messages when they move far enough into the event zone.

The message comes from the PveMode plugin. I have also informed the developer about this.

Edited by Kobani
Kobani

Posted (edited)

@Adem
This also happens in the previous version.
It only happens with the Armored Train, not with the Convoy plugin.
Both plugins use the same PveMode settings.
Here’s a video.
The player shown in the video is not the owner of the event.

http://kobani.de/trainspam.mp4

Edited by Kobani
Kobani

Posted

@Adem

Could you please prioritize this bug? It currently only occurs with the Armored Train and is really disruptive at the moment. I would be very grateful for your help.

Just an idea: if you don’t have a second person available for testing, you could send me a private message with your changes, and I can test them with my players.

Kobani

Posted

Here are the PveMode settings. I think this will help you see what the issue is and understand where it’s coming from.
I hope I’m not bothering you.
 

    "PVE Mode Setting": {
      "Use the PVE mode of the plugin? [true/false]": true,
      "Allow administrators to loot crates and cause damage? [true/false]": false,
      "The owner of the event will be the one who stopped the event? [true/false]": false,
      "If a player has a cooldown and the event has NO OWNERS, then he will not be able to interact with the event? [true/false]": false,
      "If a player has a cooldown, and the event HAS AN OWNER, then he will not be able to interact with the event, even if he is on a team with the owner? [true/false]": false,
      "Allow only the owner or his teammates to loot crates? [true/false]": true,
      "Show the displayName of the event owner on a marker on the map? [true/false]": true,
      "The amount of damage that the player has to do to become the Event Owner": 100.0,
      "Damage coefficients for calculate to become the Event Owner.": {
        "Npc": 1.0,
        "Bradley": 2.0,
        "Helicopter": 2.0,
        "Turret": 2.0
      },
      "Can the non-owner of the event loot the crates? [true/false]": false,
      "Can the non-owner of the event hack locked crates? [true/false]": false,
      "Can the non-owner of the event loot NPC corpses? [true/false]": false,
      "Can an Npc attack a non-owner of the event? [true/false]": false,
      "Can Bradley attack a non-owner of the event? [true/false]": false,
      "Can Helicopter attack a non-owner of the event? [true/false]": false,
      "Can Turret attack a non-owner of the event? [true/false]": false,
      "Can the non-owner of the event deal damage to the NPC? [true/false]": false,
      "Can the non-owner of the event do damage to Helicopter? [true/false]": false,
      "Can the non-owner of the event do damage to Bradley? [true/false]": false,
      "Can the non-owner of the event do damage to Turret? [true/false]": false,
      "Allow the non-owner of the event to enter the event zone? [true/false]": true,
      "Allow a player who has an active cooldown of the Event Owner to enter the event zone? [true/false]": true,
      "The time that the Event Owner may not be inside the event zone [sec.]": 300,
      "The time until the end of Event Owner status when it is necessary to warn the player [sec.]": 60,
      "Prevent the actions of the RestoreUponDeath plugin in the event zone? [true/false]": true,
      "The time that the player can`t become the Event Owner, after the end of the event and the player was its owner [sec.]": 14.4,
      "Darkening the dome (0 - disables the dome)": 0
    },

 

Kobani

Posted

@Adem
I think I may have found the issue.
Since it doesn’t occur in Convoy, I compared the PveModeManager class in Armored Train with the one in Convoy. I noticed that in Armored Train, the IsPveModeBlockAction method uses CanActionEvent, while in Convoy a similar method uses CanActionEventNoMessage.

Would it make sense to use CanActionEventNoMessage in Armored Train as well? 
I wanted to ask first to make sure I don’t do anything wrong. You’re the expert here.

2.1m

Downloads

Total number of downloads.

9.7k

Customers

Total customers served.

141.3k

Files Sold

Total number of files sold.

3m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.