gothic-1-community-patch icon indicating copy to clipboard operation
gothic-1-community-patch copied to clipboard

"Healing Herbs" items outside the Magic Barrier.

Open Quintus24 opened this issue 3 years ago • 3 comments

Hello, everyone!

I would like to report the following bug:

Describe the bug: This issue can be encountered near NPC "Viran" at the "PATH_TAKE_HERB_2_1" waypoint. East of Viran's group, there are two "Healing Herbs" items, located at the very edge or even outside the Magic Barrier. Although the Player Character will take some damage from the Magic Barrier, the items can still be reached and picked up. Once the user advances far enough, he will be free to roam the map beyond the barrier.

Expected behavior: The two "Healing Herbs" are placed inside the Magic Barrier. -OR- The Magic Barrier instantly kills the Player Character when attempting to pass through it.

Steps to reproduce the issue:

  1. Travel to the Swamp Camp and reach the PATH_TAKE_HERB_2_1 waypoint.
  2. Look to the East of Viran's group and notice the two "Healing Herbs" items in the distance.
  3. Walk towards the items through the Magic Barrier and notice the Player Character taking damage.
  4. Reach both "Healing Herbs" and pick them up.
  5. Continue to walk and explore the map beyond.

Additional context There seems to be some kind of "sweet spot" in that location that can be exploited to bypass the barrier. Normally, the Magic Barrier strikes magic lightning at you, pushing you back inside and dealing damage at the same time. Exploring beyond does not yield much, the Player Character will fall off the map if he swims far enough.

Attaching screenshots for more clear information.

  1. Location at PATH_TAKE_HERB_2_1 waypoint. Location @ PATH_TAKE_HERB_2_1

  2. Walking towards the items 1. Getting closer 1

  3. Walking towards the items 2. Getting closer 2

  4. "Healing Herbs" 1. Healing Herbs 1

  5. "Healing Herbs" 2. Healing Herbs 2

  6. Viewing Viran's group from the other side of the barrier. Viran's Group

  7. World Map. World Map

  8. The two "Healing Herbs" items. 2 Healing Herbs Items

Thank You and Best Regards! Quintus24

Quintus24 avatar Feb 13 '22 01:02 Quintus24

Surely plantlife exists outside the Barrier too? ;)

MarkusRamikin avatar Feb 19 '22 21:02 MarkusRamikin

We'll have to investigate why the player is able to bypass the barrier. That's the bigger issue here.

AmProsius avatar Apr 19 '22 07:04 AmProsius

This fixed in Union 1.0l

Barrier kill monsters and in water To eliminate the possibility of passing over the barrier, damage to monsters and in the water will always be fatal

#patch [Barrier kill monsters and in water]
        FLOAT damageNormal = 5.0
        FLOAT damageKill   = 9999.0
        
        #assembler [0x0046E766]
            push    eax
            push    edx
            push    ecx
            push    esi
            mov     edx, [esi+8]
            mov     ecx, edx        ; npc
            call    691A00h         ; GetAnictrl
            mov     ecx, eax        ; aniCtrl
            call    62F1D0h         ; GetWaterLevel
            cmp     eax, 0
            jnz     damKill
        testMonster:
            mov     ecx, edx        ; npc
            call    0069EA30h       ; IsMonster
            cmp     eax, 0
            jz      damNormal
        damKill:
            pop     esi
            pop     ecx
            pop     edx
            pop     eax
            push    $damageKill
            jmp     return
        damNormal:
            pop     esi
            pop     ecx
            pop     edx
            pop     eax
            push    $damageNormal
        return:
        #/assembler
    #/patch

N1kX94 avatar May 10 '22 13:05 N1kX94