Jump to content

Onwership not working

Pending 2.4.4

ALiEN JiM
ALiEN JiM

Posted

Hi,

I bought Harbor Event 2.4.4 today and I’m currently setting up the
PvE Mode side of it, but I can’t seem to get the owner functionality
working. The cooldown also doesn’t appear to be working.

When I check PvE Mode, running /eventstime does not list
HarborEvents at all. All of my other events that use PvE Mode seem to
be working correctly and are listed there.

I’ve included the relevant PvE Mode configuration below in case I’ve
missed something. As far as I can see, the settings are configured the
same way as my other working events.

Could you please let me know if there is something I’ve missed or if
there is an issue with the Harbor Event integration?

Thank you for any information or help.

My PveMode settings

  "PVE Mode Setting (only for users PveMode plugin)": {
    "Use the PVE mode of the plugin? [true/false]": true,
    "The amount of damage that the player has to do to become the Event Owner": 1.0,
    "Damage Multipliers for calculate to become the Event Owner": {
      "Npc": 1.0,
      "Bradley": 2.0,
      "Helicopter": 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 the non-owner of the event deal damage to the NPC? [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 Patrol Helicopter? [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 Patrol Helicopter attack a non-owner of the event? [true/false]": false,
    "Allow the non-owner of the event to enter the event zone? [true/false]": false,
    "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]": false,
    "The time that the player can`t become the Event Owner, after the end of the event and the player was its owner [sec.]": 10800.0,
    "Darkening the dome (0 - disables the dome)": 4
  },

aimacak

Posted

5 hours ago, ALiEN JiM said:

Hi,

I bought Harbor Event 2.4.4 today and I’m currently setting up the
PvE Mode side of it, but I can’t seem to get the owner functionality
working. The cooldown also doesn’t appear to be working.

When I check PvE Mode, running /eventstime does not list
HarborEvents at all. All of my other events that use PvE Mode seem to
be working correctly and are listed there.

I’ve included the relevant PvE Mode configuration below in case I’ve
missed something. As far as I can see, the settings are configured the
same way as my other working events.

Could you please let me know if there is something I’ve missed or if
there is an issue with the Harbor Event integration?

Thank you for any information or help.

My PveMode settings

  "PVE Mode Setting (only for users PveMode plugin)": {
    "Use the PVE mode of the plugin? [true/false]": true,
    "The amount of damage that the player has to do to become the Event Owner": 1.0,
    "Damage Multipliers for calculate to become the Event Owner": {
      "Npc": 1.0,
      "Bradley": 2.0,
      "Helicopter": 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 the non-owner of the event deal damage to the NPC? [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 Patrol Helicopter? [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 Patrol Helicopter attack a non-owner of the event? [true/false]": false,
    "Allow the non-owner of the event to enter the event zone? [true/false]": false,
    "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]": false,
    "The time that the player can`t become the Event Owner, after the end of the event and the player was its owner [sec.]": 10800.0,
    "Darkening the dome (0 - disables the dome)": 4
  },

Hello, looks fine.
Why did you decide that ownership isn’t working?
The /eventstime command shows only those events for which you have an active cooldown.
Please send the entire config.

ALiEN JiM

Posted (edited)

Hi, thanks for the reply.

I may have explained it poorly in my first message, but I think there may be a misunderstanding.

Regarding “Why did you decide that ownership isn’t working?” — I didn’t decide that ownership isn’t working; I’m reporting what is actually happening. Regardless of who starts or completes the event, the ownership does not change from “No Owner” to the player’s name. So the ownership functionality simply isn’t working as expected.

Regarding /eventstime, that is also the issue I was trying to explain. I understand that it only shows events which currently have an active cooldown. The problem is that HarborEvents never appears because the cooldown is not being created in the first place.

The event runs successfully but ownership remains "No Owner" regardless of which player does most damage.

No cooldown appears to be created. Therefore HarborEvents does not appear in /eventstime.

I’ll send the entire config as requested. Hopefully that will make it easier to see what is happening.

Thank you for taking a look.

HarborEvent.json

Edited by ALiEN JiM
aimacak

Posted (edited)

2 hours ago, ALiEN JiM said:

Hi, thanks for the reply.

I may have explained it poorly in my first message, but I think there may be a misunderstanding.

Regarding “Why did you decide that ownership isn’t working?” — I didn’t decide that ownership isn’t working; I’m reporting what is actually happening. Regardless of who starts or completes the event, the ownership does not change from “No Owner” to the player’s name. So the ownership functionality simply isn’t working as expected.

Regarding /eventstime, that is also the issue I was trying to explain. I understand that it only shows events which currently have an active cooldown. The problem is that HarborEvents never appears because the cooldown is not being created in the first place.

The event runs successfully but ownership remains "No Owner" regardless of which player does most damage.

No cooldown appears to be created. Therefore HarborEvents does not appear in /eventstime.

I’ll send the entire config as requested. Hopefully that will make it easier to see what is happening.

Thank you for taking a look.

HarborEvent.json 54.43 kB · 0 downloads

Thanks, but i already tested it on default config + your part of config, everything works fine, i have cooldown in /eventstime after became a owner of event and stop it, and it works same with other KpucTaJI's events. Here, the time that has passed since you were last the owner is indicated.

The issue you’re referring to — when “No Owner” doesn’t change to the player’s name — can only occur in one case: when a player joins an event with an active cooldown for completing it. If, at the moment this player completes the event, another player without an active cooldown joins the event, another player will be able to become the owner and take the event for themselves.
You can try changing this setting, but players with an active cooldown may encounter an unpleasant situation due to the event zone — for example, in a tunnels, since the event zone is a sphere and extends underground.
 

"Allow a player who has an active cooldown of the Event Owner to enter the event zone? [true/false]": false,


There is also another parameter in the roadmap that will have a positive impact on this situation.

Sorry if any, im using translator 😉

image.png

Edited by aimacak
ALiEN JiM

Posted

Sorry, but that isn’t the situation here.

I have tested this with a player who had not been online for over a week and had not participated in any other events, so there should not have been any active cooldown involved. I have also tested it at both harbors, as well as with other players joining the event, and the result is always the same: “No Owner” never changes to the player’s name and no cooldown is created.

I’m not trying to say that the plugin is at fault or that there is something you must fix. I’m simply trying to understand why this particular event is behaving differently on my server when the other events using PvE Mode work correctly.

I understand how PvE Mode ownership and cooldowns normally work with the other events, which is why this seems unusual. With Harbor Event, anyone can currently enter, kill the NPCs, take the event and loot it because the owner status never locks onto a player.

What I’m really looking for is some help or ideas as to what could prevent Harbor Event from communicating with or detecting PvE Mode correctly, while the other events are able to do so.

I’m happy to provide the complete logs or anything else that might help track down what is different on my server.

aimacak

Posted

5 hours ago, ALiEN JiM said:

Sorry, but that isn’t the situation here.

I have tested this with a player who had not been online for over a week and had not participated in any other events, so there should not have been any active cooldown involved. I have also tested it at both harbors, as well as with other players joining the event, and the result is always the same: “No Owner” never changes to the player’s name and no cooldown is created.

I’m not trying to say that the plugin is at fault or that there is something you must fix. I’m simply trying to understand why this particular event is behaving differently on my server when the other events using PvE Mode work correctly.

I understand how PvE Mode ownership and cooldowns normally work with the other events, which is why this seems unusual. With Harbor Event, anyone can currently enter, kill the NPCs, take the event and loot it because the owner status never locks onto a player.

What I’m really looking for is some help or ideas as to what could prevent Harbor Event from communicating with or detecting PvE Mode correctly, while the other events are able to do so.

I’m happy to provide the complete logs or anything else that might help track down what is different on my server.

May be you can add me in discord? @shrpndfcsd

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.9m
Total downloads
Customers
11.9k
Customers served
Files Sold
168.9k
Total sales
Payments
3.7m
Processed total
×
×
  • 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.