L2JMobius

Free Users => Geodata => Topic started by: tinieblas on April 17, 2021, 06:58:15 AM

Title: Problem with geodata (cannot see target)
Post by: tinieblas on April 17, 2021, 06:58:15 AM
I have a problem with all geodata i try, cannot see target on lot of mobs, i want solve or buy any solve for this fast plis, if someone have solution
Title: Re: Problem with geodata (cannot see target)
Post by: SonnySoprano on December 12, 2021, 07:30:11 PM
I have the same problem. The character does not see many goals.
GeoData: L2J_Mobius_C6_Interlude_Geodata
I'm using: jdk-15.0.2
Standard settings: GeoEngine.ini
I use: -Xmx4g -Xms2g
Game client clean

Title: Re: Problem with geodata (cannot see target)
Post by: Mobius on December 12, 2021, 10:30:21 PM
Try this.
Code: [Select]
Index: java/org/l2jmobius/gameserver/geoengine/GeoEngine.java
===================================================================
--- java/org/l2jmobius/gameserver/geoengine/GeoEngine.java (revision 9585)
+++ java/org/l2jmobius/gameserver/geoengine/GeoEngine.java (working copy)
@@ -645,7 +645,7 @@
  int z = block.getHeight(index);
 
  // Perform sine of sight check (next cell is above line of sight line), return fail.
- if (z > losz)
+ if (!canMove && (z > losz))
  {
  return false;
  }
Title: Re: Problem with geodata (cannot see target)
Post by: SonnySoprano on December 14, 2021, 09:43:30 AM
Thanks, it worked.
Title: Re: Problem with geodata (cannot see target)
Post by: Mobius on December 15, 2021, 03:52:38 AM
Fixed with https://bitbucket.org/MobiusDev/l2j_mobius/commits/1ae6b8309cdd6d562703531db1407f2f9791e76d