L2JMobius

C6 Interlude geodata to resolve reported issues

Mobius · 4 · 13949

Online Mobius

  • Distinguished King
  • *****
    • Posts: 16047
With these I can see //geogrid and monsters are killable.
https://www.mediafire.com/file/d8t02akasoeth2i/L2J_Mobius_C6_Interlude_Geodata_v2.zip

If you teleport to an area and //geogrid does not work, try to relogin.
May be related to client or whatever. I will check this issue later.

Please test and report.


Offline tevsko

  • Knight
  • ***
    • Posts: 96
    • L2Babylon
because when using this geodata the npc of dion and gludio disappear from the armor shop
still load these 2 regions and it was solved
19_21 20_22
https://www.mediafire.com/file/hx8geilvmjkmfoe/19_21_20_22.zip





Online Mobius

  • Distinguished King
  • *****
    • Posts: 16047
Because of  this post https://l2jmobius.org/forum/index.php?topic=4504 I want to have source l2j geodata.

Try this with the geodata I shared.
Check both if monsters are killable and town NPCs.
Code: [Select]
Index: java/org/l2jmobius/gameserver/model/spawn/Spawn.java
===================================================================
--- java/org/l2jmobius/gameserver/model/spawn/Spawn.java (revision 7034)
+++ java/org/l2jmobius/gameserver/model/spawn/Spawn.java (working copy)
@@ -378,7 +378,6 @@
  if (_template.getType().equalsIgnoreCase("Pet") || _template.getType().equalsIgnoreCase("Minion"))
  {
  _currentCount++;
-
  return npc;
  }
 
@@ -412,10 +411,6 @@
  return npc;
  }
 
- /**
- * @param npc
- * @return
- */
  private NpcInstance initializeNpcInstance(NpcInstance npc)
  {
  int newlocx;
@@ -446,8 +441,8 @@
  newlocz = _locZ;
  }
 
- // 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.