Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] GetMapId returns instance map, should it be transport map?

[DiscordArchive] GetMapId returns instance map, should it be transport map?

[DiscordArchive] GetMapId returns instance map, should it be transport map?

rektbyfaith
Administrator
0
09-16-2025, 08:46 PM
#1
Archived author: RomanPerekrestov • Posted: 2025-09-16T20:46:24.163000+00:00
Original source

GetMapId returns instance map, should it be transport map?
rektbyfaith
09-16-2025, 08:46 PM #1

Archived author: RomanPerekrestov • Posted: 2025-09-16T20:46:24.163000+00:00
Original source

GetMapId returns instance map, should it be transport map?

rektbyfaith
Administrator
0
09-16-2025, 08:48 PM
#2
Archived author: Tea • Posted: 2025-09-16T20:48:36.492000+00:00
Original source

no, OnPlayerEnter simply happens too late in "map entering process", the packet that must contain the transport has already been sent at this point
rektbyfaith
09-16-2025, 08:48 PM #2

Archived author: Tea • Posted: 2025-09-16T20:48:36.492000+00:00
Original source

no, OnPlayerEnter simply happens too late in "map entering process", the packet that must contain the transport has already been sent at this point

rektbyfaith
Administrator
0
09-16-2025, 08:53 PM
#3
Archived author: RomanPerekrestov • Posted: 2025-09-16T20:53:14.863000+00:00
Original source

So does it mean that to achieve the desired behavior I need to created transport -> add player to transport -> teleport player with transport to an instance?
rektbyfaith
09-16-2025, 08:53 PM #3

Archived author: RomanPerekrestov • Posted: 2025-09-16T20:53:14.863000+00:00
Original source

So does it mean that to achieve the desired behavior I need to created transport -> add player to transport -> teleport player with transport to an instance?

rektbyfaith
Administrator
0
09-16-2025, 08:54 PM
#4
Archived author: RomanPerekrestov • Posted: 2025-09-16T20:54:37.784000+00:00
Original source

or there is another instalce lifetime event/callback that happens earlier?
rektbyfaith
09-16-2025, 08:54 PM #4

Archived author: RomanPerekrestov • Posted: 2025-09-16T20:54:37.784000+00:00
Original source

or there is another instalce lifetime event/callback that happens earlier?

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)