canary icon indicating copy to clipboard operation
canary copied to clipboard

Skulls duration longer than configured in config.lua

Open BoozieII opened this issue 3 years ago • 10 comments

What happened?

Currently when I obtain a redskull on my server, the red skull duration is set to 1 day and frags to be removed after 1 hour.

At this point in time after I obtain the redskull and wait the necessary time, the red skull does not go away.

How to Reproduce?

Get red skull from killing player Wait necessary time to lose red skull Red skull does not go away as per settings

Relevant log output

Settings from config file

timeToDecreaseFrags = 1 * 60 * 60 * 1000
whiteSkullTime = 5 * 60 * 1000
stairJumpExhaustion = 2 * 1000
experienceByKillingPlayers = false
expFromPlayersLevelRange = 75
dayKillsToRedSkull = 7
weekKillsToRedSkull = 20
monthKillsToRedSkull = 30
redSkullDuration = 1
blackSkullDuration = 3
orangeSkullDuration = 5

Attach any relevant file

No response

Version

12.x (Default)

What OS are you seeing the problem on?

Linux

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

BoozieII avatar Aug 30 '21 06:08 BoozieII

After getting red skull when you hover over red skull in unjustified points menu in client it states duration 1 day. But when you log out and log back in the duration no longer shows.

BoozieII avatar Aug 30 '21 06:08 BoozieII

same happen if you get black skull i try it

Broodly avatar Sep 01 '21 04:09 Broodly

https://github.com/opentibiabr/otservbr-global-archived/commit/15cdbad94951fec794d43b84e8b96f0a582c31dd

lichak232 avatar Sep 05 '21 12:09 lichak232

Your issue will be transferred to the canary repository

dudantas avatar Oct 06 '21 12:10 dudantas

This issue is stale because it has been open 120 days with no activity.

github-actions[bot] avatar Jan 05 '22 02:01 github-actions[bot]

opentibiabr/otservbr-global-archived@15cdbad

@beats-dh mind checking if your fix needs to be brought here?

andersonfaaria avatar Apr 06 '22 06:04 andersonfaaria

I will check.

beats-dh avatar Apr 06 '22 10:04 beats-dh

This issue is stale because it has been open 120 days with no activity.

github-actions[bot] avatar Jul 06 '22 03:07 github-actions[bot]

Any news about this bug? I'm running latest version of Canary and still happening :P image

Aerwix avatar Oct 03 '22 18:10 Aerwix

Any news about this bug? I'm running latest version of Canary and still happening :P image

Have you tested #481? It's opened since august, but just one person tested it, so we can't merge yet.

guispiller avatar Oct 03 '22 18:10 guispiller