Trinitycore: [3.3.5] Dalaran - Switch zone when you sit on bench

Created on 9 Jun 2020  路  9Comments  路  Source: TrinityCore/TrinityCore

Description:

When you sit on bench in dalaran (not all benchs) you switch to Crystalsong Forest
if two players sit on bench, switch zone and can attack

Expected behaviour:

Shouldn't switch zone, in TC rev about 2017 doesn't happens

Steps to reproduce the problem:

  1. .go xyz 5773.995117 692.045044 642.623413 571 5.889701
  2. do .gps
  3. click bench
  4. do .gps and see

Branch(es): 3.3.5

TC rev. hash/commit: aeb41e67a92b7cd0c75683a269fb0ca75309e9a0

Branch-3.3.5a Comp-Core Feedback-FixOutdatedMissingWIP Sub-MapMMapVmaps

Most helpful comment

What I've found is that it both affects 'chair' and 'bench' gameobjects (but only some of them) in the Dalaran city. I checked values for these 'broken' objects and everything there seems ok, but this helped me to find out that it does not just happen when you sit, but the coordinates itself are causing the bug to appear:

.go gameobject 61361
.go xyz 5800.71 651.379 647.138

What made me think that it could be related to some geodata from the client or smth like that. And yeah, if you disable vmap params listed below in the worldconfig it fixes the problem.

vmap.enableLOS = 0
vmap.enableHeight = 0

Expected behaviour:
Shouldn't switch zone, in TC rev about 2017 doesn't happens

I'd make a guess that vmap extractor was modified, so someone gotta check if an old version extracts vmaps that correctly work for Dalaran objects. Otherwise, the problem could be in how worldserver parses vmap objects.

All 9 comments

confirmed 2665fd5a

@Conscript01 : While a confirmation is appreciated, it would be useful if you also add the TC rev. commit hash to your comment, to make it evident that you are using a fairly recent version.

What I've found is that it both affects 'chair' and 'bench' gameobjects (but only some of them) in the Dalaran city. I checked values for these 'broken' objects and everything there seems ok, but this helped me to find out that it does not just happen when you sit, but the coordinates itself are causing the bug to appear:

.go gameobject 61361
.go xyz 5800.71 651.379 647.138

What made me think that it could be related to some geodata from the client or smth like that. And yeah, if you disable vmap params listed below in the worldconfig it fixes the problem.

vmap.enableLOS = 0
vmap.enableHeight = 0

Expected behaviour:
Shouldn't switch zone, in TC rev about 2017 doesn't happens

I'd make a guess that vmap extractor was modified, so someone gotta check if an old version extracts vmaps that correctly work for Dalaran objects. Otherwise, the problem could be in how worldserver parses vmap objects.

This is due to the bench making people teleport at its position z. Except most of those are slightly under the map. In the case of dalaran, being slightly under the map results in being in the zone under dalaran.

any news?

Not bug but feature.

Not bug but feature.

huh, any proofs?

There is also two or more areas where zone changes to Crystalsong Forest and you can use your flying mount sitting on the bench next to the bank ... is it normal?

Just kidding :)

@Eliminationzx : I assume that we are waiting for someone experienced in the details of Z height calculation and how vmap extractor works in cases like this one, to suggest how to move forward with this issue.

Was this page helpful?
0 / 5 - 0 ratings