L2JMobius
Free Users => Geodata => Topic started by: Mobius on April 29, 2020, 12:40:10 AM
-
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.
-
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
(https://i.ibb.co/vB5GY3v/Shot00014.jpg) (https://ibb.co/vB5GY3v)
(https://i.ibb.co/6yrnZb8/Shot00015.jpg) (https://ibb.co/6yrnZb8)
-
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.
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.
-
Geodata and above fix committed with latest revisions.
https://bitbucket.org/MobiusDev/l2j_mobius/commits/05375af1103724e467c206396f8806333365e09d
https://bitbucket.org/MobiusDev/l2j_mobius/commits/bdad84e7d49c38d30304f5515e08c7106bd5b6be