Jump to content

Assistance with a bug.

Not a Bug 1.1.14

xlr8tednergy

Posted

Below is my current configuration and a screenshot of the problem I am seeing. As of now there are 2 things happening I am unsure of...

1) As an Admin.. I am still able to injure player bases/as well as well as my own during the hours listed as protected.

2)I had a player help me test this, and I built a small little shack and had him hit it... and the picture is the popup received. I am not sure where it's configured to be protected for 2 days. Please advise 😉

24hr.png

OfflineRaidProtection.json

realedwin

Posted

Hi
You have both configured in your configuration: 

"Scale of damage depending on the current hour of the real day": {
      "0": 0.0,
      "1": 0.0,
      "2": 0.0,
      "3": 0.0,
      "4": 0.0,
      "5": 0.0,
      "6": 0.0,
      "7": 0.0,
      "8": 0.0
    },
    "Scale of damage depending on the offline time in hours": {
      "12": 0.25,
      "24": 0.5,
      "48": 1.0
    },

"Scale of damage depending on the current hour of the real day" is always preferred when configured. I don't think it makes sense to have raid times configured so that you need protection based on offline time.


 

Quote

1) As an Admin.. I am still able to injure player bases/as well as well as my own during the hours listed as protected.

Anyone can damage their own base if they are a member of the team or authorised at the TC. Admins do not bypass raid protection.

 

Quote

2)I had a player help me test this, and I built a small little shack and had him hit it... and the picture is the popup received. I am not sure where it's configured to be protected for 2 days. Please advise 

In your config, "Game tip message shows remaining protection time" is set to true and "Scale of damage depending on offline time in hours" is configured. Since you're using  "Scale of damage depending on the current hour of the real day", it doesn't make sense to use the other options in the config. They don't affect the actual protection status of the base.

xlr8tednergy

Posted

I guess i'm just a silly goose, So how would i edit this so it's 100% protection from midnight - 8am.. like i have it.. and i dont have the offline hours one selected as well?

xlr8tednergy

Posted

as far as i can tell. You are telling me the damage scale based on offline hours is redundant.. but as far as i could tell it was there so people who leave the server, their bases would become weak after they are offline for 2 days.

realedwin

Posted

3 hours ago, xlr8tednergy said:

I guess i'm just a silly goose, So how would i edit this so it's 100% protection from midnight - 8am.. like i have it.. and i dont have the offline hours one selected as well?

Your configuration is correct. Just remove the offline hours to not show a remaining time that does not make sense because you are using raid times.

"Scale of damage depending on the offline time in hours": {}
"Game tip message shows remaining protection time": false


 

 

3 hours ago, xlr8tednergy said:

as far as i can tell. You are telling me the damage scale based on offline hours is redundant.. but as far as i could tell it was there so people who leave the server, their bases would become weak after they are offline for 2 days.

Yes, you are right. I looked at the code and if it is outside the raid times, it takes the protection for the offline times.

xlr8tednergy

Posted

so how do i fix it to ONLY have 100% protection on the hours listed.

realedwin

Posted (edited)

"Only mitigate damage caused by players": false,
"Protect players that are online": true,
"Scale of damage depending on the current hour of the real day": {
  "0": 0.0,
  "1": 0.0,
  "2": 0.0,
  "3": 0.0,
  "4": 0.0,
  "5": 0.0,
  "6": 0.0,
  "7": 0.0,
  "8": 0.0
},
"Scale of damage depending on the offline time in hours": {},
"Cooldown in minutes": 0,
"Scale of damage between the cooldown and the first configured time": 0.0,

 

This means that the protection level is 100% from midnight to 8am.

 

Edited by realedwin
xlr8tednergy

Posted

Thank you for the solution. The documentation wasnt super clear on that making it redundant.. thank you!

realedwin

Posted

Changed Status from Pending to Not a Bug

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.4k

Files Sold

Total number of files sold.

2m

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.