HomepointXI / Issues

4 stars 8 forks source link

Fix to make north door out of Nyzul Staging Point not so picky! #595

Open EpicTaru opened 2 years ago

EpicTaru commented 2 years ago

Date & Time: 02/17/2022 @ 1400 CST

Client Version (use /ver in game): 30191204_1

Character Name:

Discord Name (if different from in game):

Nation:

Job(level)/Sub Job(level):

NPC or Monster or item Name: \scripts\zones\Alzadaal_Undersea_Ruins\npcs_20c.lua also known as NPC ID 17072216

Zone name: Alzadaal Undersea Ruins

Coordinates (use !where): x:180.000, y:-2.000, z:80.000

Item tool link (for items issues only):

Multi-boxing? (multiple clients on same connection): N/A

Steps to reproduce: Be between z:79.000 and z:80.000 and notice that the door only says that you must move closer.

Any additional information: I resolved this issue by changing the following line in the above lua file: elseif player:getZPos() >= 77 and player:getZPos() <= 79 then changed to: elseif player:getZPos() >= 77 and player:getZPos() < 80 then

and since the space in the above coordinates are equal to 3, I then also adjusted the coordinates for the other side of the same door, increasing the distance to be 3 as well: elseif player:getZPos() >= 80 and player:getZPos() <= 82 then changed to: elseif player:getZPos() > 80 and player:getZPos() <= 83 then

I can provide the above lua file with the above adjustments already reflected, just let me know.