Trinitycore: [FEATURE REQUEST] [CONFIG OPTION] Make 59 minutes the maxmium a GM can set to issue a shutdown/restart notification

Created on 23 Feb 2020  路  19Comments  路  Source: TrinityCore/TrinityCore

Description:

So we made changes to the shutdown/restart notifications to use a decimal format instead. So we managed to achieve this however it appears we can not make it work out for anything over 59 minutes, so I had an idea maybe we could add an option in the worldserver.conf to make 59 minutes the maximum a GM can issue a shutdown/restart notice. Or we could just completely limit it to avoid users making issues thinking it is a bug.

Branch(es):

3.3.5

TC rev. hash/commit:

TrinityCore rev. 69231581e4f2 2020-02-22 21:31:37 +0100 (3.3.5 branch) (Win64, RelWithDebInfo, Static)

Operating system:

Windows Server 2016 Standard

Branch-3.3.5a

Most helpful comment

@LordWaycrest please test all cases with PR changes

All 19 comments

it's not blizzlike.

it's not blizzlike.

What is not sorry?

on ptr i have seen >1h shutdowns.

on ptr i have seen >1h shutdowns.

Can you remember the format it was in? We couldn't seem to make it work, could be interesting if you know.

Sometime I Schedule a reboot the night to happen at 6 am, so we need that.

Sometime I Schedule a reboot the night to happen at 6 am, so we need that.

I understand but this is a feature request that would go under Custom Server Options. The current format we use for anything over 59 minutes is not blizz-like but has still been allowed to merge with the repo.

Sorry for not being more clear. I was thinking that this could be more of a case for https://github.com/TrinityCore/TrinityCoreCustomChanges .

Sorry for not being more clear. I was thinking that this could be more of a case for https://github.com/TrinityCore/TrinityCoreCustomChanges .

Is that a non-blizzlike repo?

As the name suggests, it is the TC repo for custom changes (non-blizzlike), so yes.

As the name suggests, it is the TC repo for custom changes (non-blizzlike), so yes.

So if I were to have this change added to that I'd need to run a custom server that has other custom things?

It is more a separate branch than a repository, compared to the 3.3.5 branch. The branches master & 3.3.5 are meant to be blizzlike, so the TrinityCoreCustomChanges is meant for adding non-blizzlike custom options. That does not mean that you _have_ to run that core, except if you want to create a PR in that branch and test that the PR contents work as intended (even if not blizzlike).

Any custom changes accepted in that branch will only stay in that branch, so if you want to see the custom features in that branch, you would need to run that core to get it on your own server (or cherry-pick commits to your own local source to compile your own custom server).

Suppose the only way we're going to do this then is to fix the format - is not blizz-like yet it's been allowed to merge, I am confused.

@Aokromes : Got any suggestion for what a blizzlike approach to this feature request would be? What should the 60+ minutes countdown look like, if not the existing format?

@Aokromes : Got any suggestion for what a blizzlike approach to this feature request would be? What should the 60+ minutes countdown look like, if not the existing format?

Sorry to be making a fuss, but when something is not done right it bugs me, especially in this project which I love

Have to wait and see if someone else can come up with a reasonable explanation on how to move on from here.

How about hh:mm:ss when > 59 minutes and mm:ss when <= 59 minutes ?

Suppose the only way we're going to do this then is to fix the format - is not blizz-like yet it's been allowed to merge, I am confused.

because no one noticed that point before merge.

Current blizzlike behaviour (can't speak about PTR) is that it only starts counting down half an hour before it goes down starting with 00:30.

You can see it for yourself on the weekly maintenance nights, just stay online for it.

This logically means, unless we're using PTR as "blizzlike" (which even by blizzard standards isn't true, lots of PTR stuff doesn't stick anymore in normal nowadays), that as long as 30m works that for all things considered it's all working as "blizzlike" intended.

@LordWaycrest please test all cases with PR changes

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DDuarte picture DDuarte  路  3Comments

Keader picture Keader  路  3Comments

ZenoX92 picture ZenoX92  路  3Comments

daddycaddy picture daddycaddy  路  3Comments

Lopfest picture Lopfest  路  3Comments