This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] how to remove fatigue?  (Read 3859 times)

Twentynine

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 9
    • View Profile
[QUESTION] how to remove fatigue?
« on: April 15, 2014, 10:38:29 am »
thats all, how do i remove the fatigue from every place out of the normal map?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

deep6ixed

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 189
    • View Profile
Re: [QUESTION] how to remove fatigue?
« Reply #1 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Twentynine

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 9
    • View Profile
Re: [QUESTION] how to remove fatigue?
« Reply #2 on: April 16, 2014, 01:47:48 pm »
i didn't find it, is there another way to do it?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Twentynine

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 9
    • View Profile
Re: [QUESTION] how to remove fatigue?
« Reply #3 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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

NewGotham

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 14
    • View Profile
Re: [QUESTION] how to remove fatigue?
« Reply #4 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).
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Domminust

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 100
    • View Profile
Re: [QUESTION] how to remove fatigue?
« Reply #5 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: [QUESTION] how to remove fatigue?
« Reply #6 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz

Milly

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 503
    • View Profile
Re: [QUESTION] how to remove fatigue?
« Reply #7 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Domminust

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 100
    • View Profile
Re: [QUESTION] how to remove fatigue?
« Reply #8 on: November 05, 2014, 10:36:45 am »
^Tried it already, doesn't work for me.

thx tho
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Milly

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 503
    • View Profile
Re: [QUESTION] how to remove fatigue?
« Reply #9 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Kaev

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 308
    • View Profile
Re: [QUESTION] how to remove fatigue?
« Reply #10 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

You could try to to comment out line 1398 - 1420
« Last Edit: January 01, 1970, 01:00:00 am by Admin »