[1.3.0.8][Fixed 1.3.1.0]Stacking the same mutator twice?

Update: This bug has been fixed in 1.3.1.0

If not a bug feel free to close the thread; but neither the game guide, nor the wiki mention that this is possible. It’s the first time I see this happen:

These mutators rolled for me in the Tomb of the Heretic just outside of the dungeon’s key gates.
I was wondering why I was doing a metricrapton of damage to The Dread all of a sudden on my high-OA char.
And yep, both mutators are working… +40% crit damage on the character sheet confirmed.

Again if this is intended behavior my apologies for posting it in the bugs section. Let me know so I’ll write something down in the wiki mentioning this is possible somehow.

And now I wonder… can this also happen to enemy mutators? Double phys damage or TDM mutators would be madness :scream:

Thank you Crate for considering this feedback.

It is a bug with unclear trigger conditions. Whenever it happens, you get double the intended amount of modifiers and duplicates become possible. Already reported it here, got no reaction:

EDIT:
I see it also happened in the Tomb of the Heretic for you. So at least we know where the bug happens (Tomb + Court). Now for the why and how to fix it.

1 Like

I looked at memory as it processes and generates mutators upon entry into a challenge area. It appears to be related to these equal/not equal checks.

Game.GAME::GameEngine::GetChallengeArea+A3 - 74 06                 - je Game.GAME::GameEngine::GetChallengeArea+AB
Game.GAME::GameEngine::GetChallengeArea+A5 - 48 8B 40 30           - mov rax,[rax+30]
Game.GAME::GameEngine::GetChallengeArea+A9 - EB 70                 - jmp Game.GAME::GameEngine::GetChallengeArea+11B
Game.GAME::GameEngine::GetChallengeArea+AB - 48 83 7D 10 00        - cmp qword ptr [rbp+10],00 { 0 }
Game.GAME::GameEngine::GetChallengeArea+B0 - 74 67                 - je Game.GAME::GameEngine::GetChallengeArea+119

The first check being equal causes a jump to +11B, which bypasses the unloading of all challenge area mutators or adding of mutators and exits GetChallengeArea. Basically seems to be a check if the identifier for the current region is marked as a challenge area or not to not activate the banner/mutators when the area you are in is not a challenge area.

If it is not equal, meaning in a challenge area, it jumps to +AB, which is a second check for whether the byte value of [rbp+10] is 00 or not. If it is equal (00) then I think it does similar to the above of exiting without making challenge area changes. However, if it is not equal (has a value of 51 usually), it proceeds and processes through to here:

Game.GAME::GameEngine::GetChallengeArea+F8 - 41 FF 10              - call qword ptr [r8]

Now, this call can lead to calling either of two things depending on what r8 is: “Game.GAME::GameEngine::ClearAllChallengeAreas”, or to “Game.GAME::ChallengeArea::Load”.

The latter will get how many minimum and maximum positive and negative mutators to load and then run “call Game.GAME::ChallengeArea::GenerateMutators” to load random mutators.

After all of this, I can induce the exact issue seen of mutator generation being processed twice, or many more times.
Untitled

It seems to be related to the first check of rax and rcx not being equal and then value of [rbp+10] not properly being set to 00 after mutators are generated, so it ends up running through it all again instead of skipping a second generation and exiting. I only just started looking at it though. Haven’t looked to see what affects those values to see when and where the actual issue crops up with the values not being altered properly.

(EDIT: The doubling of mutators in Court of the Magi in the previous linked thread is due to that area supposed to get the existing mutators wiped and new ones generated as it is a more dangerous “Forbidden Domain”. When the issue happens, it seems to cause the ClearAllChallengeAreas to not process before it loads new mutators, so you end up with double generation.)

3 Likes