gothic-1-community-patch
gothic-1-community-patch copied to clipboard
"Healing Herbs" items outside the Magic Barrier.
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:
- Travel to the Swamp Camp and reach the PATH_TAKE_HERB_2_1 waypoint.
- Look to the East of Viran's group and notice the two "Healing Herbs" items in the distance.
- Walk towards the items through the Magic Barrier and notice the Player Character taking damage.
- Reach both "Healing Herbs" and pick them up.
- 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.
-
Location at PATH_TAKE_HERB_2_1 waypoint.
-
Walking towards the items 1.
-
Walking towards the items 2.
-
"Healing Herbs" 1.
-
"Healing Herbs" 2.
-
Viewing Viran's group from the other side of the barrier.
-
World Map.
-
The two "Healing Herbs" items.
Thank You and Best Regards! Quintus24
Surely plantlife exists outside the Barrier too? ;)
We'll have to investigate why the player is able to bypass the barrier. That's the bigger issue here.
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