Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add restart every few days parameter, fix log message #15

Closed
wants to merge 0 commits into from

Conversation

kissingers
Copy link
Contributor

No description provided.

@kissingers
Copy link
Contributor Author

It is often asked if it can be changed to have extra intervals, like 7 days to reboot, I tried to make some changes and it works, it doesn't look perfect. I hope to help with this feature. I can't write more well, somebody can also implement days as a separate parameter.
This pull is for reference only.
Also the log parameter was not displayed correctly, so try fixed it.

@Helias
Copy link
Member

Helias commented Jun 1, 2024

[ 60%] Building CXX object src/server/game/CMakeFiles/game.dir/Scripting/ScriptDefines/ElunaScript.cpp.o
/home/runner/work/mod-server-auto-shutdown/mod-server-auto-shutdown/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_anetheron.cpp:62:37: fatal error: unused parameter 'why' [-Wunused-parameter]
    void EnterEvadeMode(EvadeReason why) override
                                    ^
1 error generated.
make[2]: *** [src/server/scripts/CMakeFiles/scripts.dir/build.make:3254: src/server/scripts/CMakeFiles/scripts.dir/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_anetheron.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....

I don't see this in your code, it's weird how it is related with the pipeline of this PR :/, I am restarting the pipeline build

@kissingers
Copy link
Contributor Author

[ 60%] Building CXX object src/server/game/CMakeFiles/game.dir/Scripting/ScriptDefines/ElunaScript.cpp.o
/home/runner/work/mod-server-auto-shutdown/mod-server-auto-shutdown/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_anetheron.cpp:62:37: fatal error: unused parameter 'why' [-Wunused-parameter]
    void EnterEvadeMode(EvadeReason why) override
                                    ^
1 error generated.
make[2]: *** [src/server/scripts/CMakeFiles/scripts.dir/build.make:3254: src/server/scripts/CMakeFiles/scripts.dir/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_anetheron.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....

I don't see this in your code, it's weird how it is related with the pipeline of this PR :/, I am restarting the pipeline build

This is AZ warning cased error, not mod, because of some not use para, this pr fix the az warning
azerothcore/azerothcore-wotlk@8e9e134

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants