HarborEvent supportFixed

Hello, can you please add check for cargoship for support HarborEvent? Thanks.

private void HandleCargoState(CargoShip cargoShip, bool state)
{
    if (!cargoShip || null == cargoShip.net)
    {
        return;
    }

    if (cargoShip.skinID == 81182151852251420) return;
    ...
 }

Ideally Harbor Event would instead provide a feature to handle the OnCreateDynamicPVP hook in order to manage whether PVP zones are created for its cargo ships. Bradley Drops does this for example.

I'm not going to hard-code an undocumented skin value, but I will look into adding some more ways for server owners to configure Dynamic PVP's behavior around skin IDs.

Merged post

I've implemented a solution in 5.2.0. There are now include/exclude skinID lists for owned-versus-unowned entities under several events, including CargoShip:

      "Entity-Based Event Creation Rules": {
        "Owned Entities": {
          "Include Skin IDs (Empty for all)": [],
          "Exclude Skin IDs (Empty for none)": [
            0
          ]
        },
        "Unowned Entities": {
          "Include Skin IDs (Empty for all)": [],
          "Exclude Skin IDs (Empty for none)": []
        }
      }​

You may add your magic number to the owned and/or unowned exclude list(s) to cause Dynamic PVP to skip event creation.
lPtstclNldSGe8g.jpg HunterZ

Ideally Harbor Event would instead provide a feature to handle the OnCreateDynamicPVP hook in order to manage whether PVP zones are created for its cargo ships. Bradley Drops does this for example.

I'm not going to hard-code an undocumented skin value, but I will look into adding some more ways for server owners to configure Dynamic PVP's behavior around skin IDs.

Merged post

I've implemented a solution in 5.2.0. There are now include/exclude skinID lists for owned-versus-unowned entities under several events, including CargoShip:

      "Entity-Based Event Creation Rules": {
        "Owned Entities": {
          "Include Skin IDs (Empty for all)": [],
          "Exclude Skin IDs (Empty for none)": [
            0
          ]
        },
        "Unowned Entities": {
          "Include Skin IDs (Empty for all)": [],
          "Exclude Skin IDs (Empty for none)": []
        }
      }​

You may add your magic number to the owned and/or unowned exclude list(s) to cause Dynamic PVP to skip event creation.

I contacted you because I had a question about HarborEvent, and KpucTaJI said it would be much easier to add a check in a single line, but you solved this problem differently. Thank you so much <3

KpucTaji could have solved it from their end by handling the hook provided by Dynamic PVP for preventing event creation