Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Serverside Modding => Topic started by: Twentynine on April 15, 2014, 10:38:29 am

Title: [QUESTION] how to remove fatigue?
Post by: Twentynine on April 15, 2014, 10:38:29 am
thats all, how do i remove the fatigue from every place out of the normal map?
Title: Re: [QUESTION] how to remove fatigue?
Post by: deep6ixed on April 15, 2014, 11:59:50 am
Check the TrinityCore world.conf  file, if I remember right, there is an option to turn off fatigue effects for different player levels such as Players and GM's.
Title: Re: [QUESTION] how to remove fatigue?
Post by: Twentynine on April 16, 2014, 01:47:48 pm
i didn't find it, is there another way to do it?
Title: Re: [QUESTION] how to remove fatigue?
Post by: Twentynine on April 18, 2014, 09:00:34 pm
i really need to remove this, and i checked every post about this and didn't find a usefull answer
Title: Re: [QUESTION] how to remove fatigue?
Post by: NewGotham on April 24, 2014, 03:12:51 am
It'd require a new compile of the core.

In src/game/entities/player/player.h

Change this:
Code: [Select]
enum MirrorTimerType
{
    FATIGUE_TIMER      = 0,
... to this:
Code: [Select]
enum MirrorTimerType
{
    FATIGUE_TIMER      = -1,
That should do it... but then again, I haven't compiled a core since early LAST year and I could be off.

EDIT: Trinitycore doesn't include it in the config by default, they try to stay "Blizzlike" - you can enable .gm on for everyone, though, which would basically be godmode (and that includes no more drowning).
Title: Re: [QUESTION] how to remove fatigue?
Post by: Domminust on November 04, 2014, 10:52:01 pm
Doesn't work for me. I would looove a way to disable fatigue as I can't edit with all water on mac.
Title: Re: [QUESTION] how to remove fatigue?
Post by: Amaroth on November 05, 2014, 12:19:23 am
Config contains only water breathing settings, not fatigue. Fatigue is handled in maps, but don't ask me how to turn it off. Just saying where to look. If you want to turn them off and know nothing about editing core, you should start to learn it, because you will need it here for sure.
Title: Re: [QUESTION] how to remove fatigue?
Post by: Milly on November 05, 2014, 04:48:57 am
Quote from: "NewGotham"
It'd require a new compile of the core.

In src/game/entities/player/player.h

Change this:
Code: [Select]
enum MirrorTimerType
{
    FATIGUE_TIMER      = 0,
... to this:
Code: [Select]
enum MirrorTimerType
{
    FATIGUE_TIMER      = -1,
According to the trinitycore forum as of 2011 this solution should work.
Title: Re: [QUESTION] how to remove fatigue?
Post by: Domminust on November 05, 2014, 10:36:45 am
^Tried it already, doesn't work for me.

thx tho
Title: Re: [QUESTION] how to remove fatigue?
Post by: Milly on November 05, 2014, 02:22:03 pm
Quote from: "milesk11"
^Tried it already, doesn't work for me.

thx tho
Read it the first time :P You're not the op though.
Title: Re: [QUESTION] how to remove fatigue?
Post by: Kaev on November 07, 2014, 08:24:14 am
Not sure, but i think you need to modify it here:
https://github.com/TrinityCore/TrinityC ... .cpp#L1395 (https://github.com/TrinityCore/TrinityCore/blob/52bd9a771e2b94cec2491c97f418cc51d725d5b8/src/server/game/Entities/Player/Player.cpp#L1395" onclick="window.open(this.href);return false;)

You could try to to comment out line 1398 - 1420