Attempting to perform a quest in a non-square POI appears to rotate the quest boundary by 90 degrees, and can cause issues with the quest boundary fail distances.
This image shows the red quest boundary surrounding limitation area which appears just before we step over the boundary to cause it to be a failed quest.
Reproduction Steps
Trigger a test quest for oldwest_business_03 (Fine Swines) in Navezgane.
This has a dimension of 25 x 50. Notice how moving away from the front of the POI allows us to move 50 blocks before the POI fails.
It seems there's more to it than just rotating 90 degrees.
This is a 10 x 50 POI and starting a quest creates a 60 x 60 quest boundary which offsets itself at a possible point of origin.
It cuts through the POI and venturing too far to complete the quest triggers the quest fail. I appreciate this POI is an extreme example, but it allows the issue to be highlighted.
Just to verify how it's working out the dimensions.
This 15 x 40 is creating a 65 x 65 quest boundary with 25 below, 25 to the left, and 25 to the right with nothing for the top.
It's taking the horizontal POI size value and squaring based on the POI size plus what should be the POIStayWithin radius of 25.
Mesa is 72 x 83 and creates a Quest Boundary of 122 with that 72 across and the 25 either side. With the bottom also keeping to a 25 it reduces the top area to only 14 with 122 - 83 - 25 (for the bottom POIStayWithin at 25).
Hoping for a resolution on this, as it's been a pretty long standing thing first reported in A21.
Post automatically merged:
This bug post title is probably best changed to 'Getting short changed on the top'.