L2JMobius

High Five NPC on Roof's

Stary · 7 · 2021

Offline Stary

  • Vassal
  • *
    • Posts: 5
Hello guys/girls.

I have found a quiet big problem related to geoengine. I been check few geodatas available through google for h5, and after conversion to l2d its same issue with same npc's. As on pic below you can see their on roof's.
Spawn type: fixed, spawn loc 17999 144484 -3046, location: 17999 144484 -2768.
Any idea why those npc getting y higher than set, any any possible fix or ifnromation how to find solution to fix it?

Regards,
Hizi

https://cdn.discordapp.com/attachments/722874805573124116/722941441701314631/Shot00002.jpg


Online Mobius

  • Administrator
  • Distinguished King
  • *****
    • Posts: 13144
Do you use the latest free version files?
What you post cannot happen on latest version.


Offline Stary

  • Vassal
  • *
    • Posts: 5
Yes, been compiled 2 days ago.

I been double checked. I download again, compile, and it's same.


Offline Stary

  • Vassal
  • *
    • Posts: 5
Yes, been compiled 2 days ago.

I been double checked. I download again, compile, and it's same.

As i can see its been fix for interlude:
https://l2jmobius.org/forum/index.php?topic=4898

But it's not for H5.


Offline Stary

  • Vassal
  • *
    • Posts: 5
Code: [Select]
@ -398,8 +398,8 @@ public class Spawn extends Location implements IIdentifiable, INamable
}
}

// Do not correct z of flying NPCs.
if (!npc.isFlying())
// Correct Z of monsters. Do not correct Z of flying NPCs.
if (npc.isMonster() && !npc.isFlying())
{
final int geoZ = GeoEngine.getInstance().getHeight(newlocx, newlocy, newlocz);
// Do not correct Z distances greater than 300.

fix. its your work Mobius, just wasnt applied to 2.6 high Five.


Online Mobius

  • Administrator
  • Distinguished King
  • *****
    • Posts: 13144
I will commit it on other projects as well when I have some time.