L2JMobius

Free Users => Bug Reports => Topic started by: kinghanker on September 04, 2022, 07:50:21 AM

Title: lakes in hot springs
Post by: kinghanker on September 04, 2022, 07:50:21 AM
Hot lakes were determined as areas of effects at the same time as they are also fishing grounds. Only 1 of the effects works in the area and it is not possible to fish in it.
I already tried to remove the effects and leave only the fishing area but it still didn't work.
Could it be that something is missing?
(https://i.imgur.com/rwfzRzf.png)
Title: Re: lakes in hot springs
Post by: Index on September 04, 2022, 10:17:16 AM
Try add  "banned_polygon" in hot spirit location in location, where is fishing zone
Title: Re: lakes in hot springs
Post by: kinghanker on September 05, 2022, 01:57:27 AM
so.... I don't know if I understand what you mean.
I redid this area in several different ways and it didn't work.
I tried to make the area of ​​effect cylindrical to differentiate but there was no effect anyway...

I even deleted all the other areas and left only the fishing area to test... it didn't work!
I redid the fishing area as custom and it didn't work
Title: Re: lakes in hot springs
Post by: Mobius on September 05, 2022, 02:25:18 AM
No water zone?
Title: Re: lakes in hot springs
Post by: kinghanker on September 05, 2022, 03:32:59 AM
There is no area with water or close to it. from what I've already verified, you don't need to have a water area superimposed on a fishing one so that you can fish. there are more wrong areas by the server, look at the output of Gludio for example, there is no water in the area and even on the ground....

(https://i.imgur.com/r8GeNTE.png)
(https://i.imgur.com/gPy8to4.png)

I don't know if there is any distance limit between these areas for them to work but I've done a lot of tests in fishing areas and they all don't work only in water
Title: Re: lakes in hot springs
Post by: kinghanker on September 05, 2022, 05:30:44 AM
Some areas just don't make any sense. Almost all need to be reworked.
Does the whole server plane necessarily have to have a declared area or can some part of the map not have any defined area?
If not, could there be a problem?

(https://i.imgur.com/aqHiR9i.png)

I'm asking because if there is no problem I will delete all fishing areas and start resetting them only around areas with water
Title: Re: lakes in hot springs
Post by: Index on September 05, 2022, 10:51:01 AM
this is bad
(https://media.discordapp.net/attachments/916321449080410132/1016254046400679957/unknown.png?width=556&height=676)
Title: Re: lakes in hot springs
Post by: Mobius on September 05, 2022, 03:50:00 PM
from what I've already verified, you don't need to have a water area superimposed on a fishing one so that you can fish.

Thank god you verified it.


this is bad

This is retail.
Title: Re: lakes in hot springs
Post by: Susuy on September 05, 2022, 10:19:49 PM
Is it possible to solve this problem by changing something in the code or do we really need to rework the coordinates of the areas?
I didn't know about this problem until now. I finally understand how some players were fishing inside the city. KingHanker's idea of ​​limiting fishing grounds only around places that have water is going to be a lot of work. Wouldn't it be better to use water areas as a reference and allow fishing only if the player is at least 300 radius from that area?
Title: Re: lakes in hot springs
Post by: Mobius on September 05, 2022, 10:29:06 PM
Is it possible to solve this problem by changing something in the code or do we really need to rework the coordinates of the areas?
I didn't know about this problem until now. I finally understand how some players were fishing inside the city. KingHanker's idea of ​​limiting fishing grounds only around places that have water is going to be a lot of work. Wouldn't it be better to use water areas as a reference and allow fishing only if the player is at least 300 radius from that area?

What problem do you talk about?
Title: Re: lakes in hot springs
Post by: Susuy on September 05, 2022, 11:05:53 PM
What problem do you talk about?
fish away from the water and sometimes not fishing where there is water like in hot spring
Title: Re: lakes in hot springs
Post by: Mobius on September 05, 2022, 11:10:51 PM
fish away from the water and sometimes not fishing where there is water like in hot spring

Works great for me.
Apparently I test correct.
Title: Re: lakes in hot springs
Post by: Susuy on September 06, 2022, 12:04:30 AM
Works great for me.
Apparently I test correct.
did you test in the same position of the image that kinghanker posted, in the output of gludio?
outside of gludio it is also possible to fish..
A note: we are not using geodata.
Title: Re: lakes in hot springs
Post by: Mobius on September 06, 2022, 12:13:30 AM
So you test a system that requires geometry calculations, without water zones, without geodata and using GM characters.
And report that it does not work properly. Could you be more wrong?
Title: Re: lakes in hot springs
Post by: Susuy on September 06, 2022, 12:57:34 AM
So you test a system that requires geometry calculations, without water zones, without geodata and using GM characters.
And report that it does not work properly. Could you be more wrong?
I have not tested with char GM. I just joined this conversation because I identified with the situation that kinghanker reported and asked a question since on my server some players were fishing in the center of heine and it was visible that they were in a place where they shouldn't fish. I will no longer participate in this conversation...
Title: Re: lakes in hot springs
Post by: kinghanker on September 06, 2022, 01:27:16 AM
Calm down folks, we're straying a lot from the topic of the topic!
Let's focus on hot springs.

In this location there is no water but if I create a water zone in this spa when the player enters it the blue bar of the character's breath will appear but it shouldn't because the source is shallow and the bait I reported in this topic(https://l2jmobius.org/forum/index.php?topic=8975.0) should be used in these spas. how could i solve this?

(https://i.imgur.com/tXNsFzi.png)
Title: Re: lakes in hot springs
Post by: kinghanker on September 06, 2022, 05:39:49 AM
ok, for this spa this area worked, it can be improved for sure but it's a start

Code: [Select]
<!-- Hot Springs-->
<zone name="24_14_water1" type="WaterZone" shape="Cuboid" minZ="-2051" maxZ="-2050">
<node X="147138" Y="-112962" />
<node X="147775" Y="-113698" />
</zone>

Edit:
All spa fixed! tested with and without geodata, it's working

Code: [Select]
<zone name="24_14_water1" type="WaterZone" shape="Cuboid" minZ="-2140" maxZ="-2145">
<node X="147290" Y="-113079" />
<node X="147728" Y="-113503" />
</zone>
<zone name="24_14_water2" type="WaterZone" shape="Cuboid" minZ="-1412" maxZ="-1413">
<node X="142139" Y="-116645" />
<node X="152831" Y="-116245" />
</zone>
<zone name="24_14_water3" type="WaterZone" shape="Cuboid" minZ="-1564" maxZ="-1546">
<node X="153464" Y="-112547" />
<node X="152857" Y="-113136" />
</zone>
<zone name="24_14_water4" type="WaterZone" shape="Cuboid" minZ="-1803" maxZ="-1807">
<node X="157511" Y="-115757" />
<node X="157929" Y="-115061" />
</zone>
<zone name="24_14_water5" type="WaterZone" shape="Cuboid" minZ="-2567" maxZ="-2578">
<node X="156846" Y="-109278" />
<node X="157316" Y="-109932" />
</zone>
<zone name="24_14_water6" type="WaterZone" shape="Cuboid" minZ="-2703" maxZ="-2715">
<node X="152793" Y="-108392" />
<node X="152228" Y="-107872" />
</zone>
<zone name="24_14_water7" type="WaterZone" shape="Cuboid" minZ="-2656" maxZ="-2656">
<node X="155457" Y="-105825" />
<node X="156043" Y="-105402" />
</zone>
Title: Re: lakes in hot springs
Post by: Mobius on September 11, 2022, 11:50:41 AM
Thank you, it will be committed in a future version.