Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] so when it calls SetMap on teleport, the old map (old m_currMap) is already deleted?

[DiscordArchive] so when it calls SetMap on teleport, the old map (old m_currMap) is already deleted?

[DiscordArchive] so when it calls SetMap on teleport, the old map (old m_currMap) is already deleted?

Pages (6): Previous 1 2 3 4 5 6 Next
rektbyfaith
Administrator
0
07-14-2024, 01:42 PM
#31
Archived author: Foe • Posted: 2024-07-14T13:42:22.860000+00:00
Original source

Okay so this is a deeper rooted issue I think
rektbyfaith
07-14-2024, 01:42 PM #31

Archived author: Foe • Posted: 2024-07-14T13:42:22.860000+00:00
Original source

Okay so this is a deeper rooted issue I think

rektbyfaith
Administrator
0
07-14-2024, 01:42 PM
#32
Archived author: Foe • Posted: 2024-07-14T13:42:31.924000+00:00
Original source

SetMap is getting called twice
rektbyfaith
07-14-2024, 01:42 PM #32

Archived author: Foe • Posted: 2024-07-14T13:42:31.924000+00:00
Original source

SetMap is getting called twice

rektbyfaith
Administrator
0
07-14-2024, 01:42 PM
#33
Archived author: Foe • Posted: 2024-07-14T13:42:49.686000+00:00
Original source

for all creatures and characters
rektbyfaith
07-14-2024, 01:42 PM #33

Archived author: Foe • Posted: 2024-07-14T13:42:49.686000+00:00
Original source

for all creatures and characters

rektbyfaith
Administrator
0
07-14-2024, 01:43 PM
#34
Archived author: Foe • Posted: 2024-07-14T13:43:39.779000+00:00
Original source

and gameobjects for that matter
rektbyfaith
07-14-2024, 01:43 PM #34

Archived author: Foe • Posted: 2024-07-14T13:43:39.779000+00:00
Original source

and gameobjects for that matter

rektbyfaith
Administrator
0
07-14-2024, 01:43 PM
#35
Archived author: Tea • Posted: 2024-07-14T13:43:47.441000+00:00
Original source

but it doesnt matter how many times SetMap is called, thats not what is killing the Map object
rektbyfaith
07-14-2024, 01:43 PM #35

Archived author: Tea • Posted: 2024-07-14T13:43:47.441000+00:00
Original source

but it doesnt matter how many times SetMap is called, thats not what is killing the Map object

rektbyfaith
Administrator
0
07-14-2024, 01:44 PM
#36
Archived author: Foe • Posted: 2024-07-14T13:44:48.112000+00:00
Original source

Yeah but it's like...

SetMap gets called, it frees the events like expected
Old map is deleted
SetMap gets called again, old map and eventMgr is already deleted, crash
rektbyfaith
07-14-2024, 01:44 PM #36

Archived author: Foe • Posted: 2024-07-14T13:44:48.112000+00:00
Original source

Yeah but it's like...

SetMap gets called, it frees the events like expected
Old map is deleted
SetMap gets called again, old map and eventMgr is already deleted, crash

rektbyfaith
Administrator
0
07-14-2024, 01:45 PM
#37
Archived author: Foe • Posted: 2024-07-14T13:45:23.504000+00:00
Original source

That's what it looks like when stepping through breakpoints in SetMap at least
rektbyfaith
07-14-2024, 01:45 PM #37

Archived author: Foe • Posted: 2024-07-14T13:45:23.504000+00:00
Original source

That's what it looks like when stepping through breakpoints in SetMap at least

rektbyfaith
Administrator
0
07-14-2024, 01:45 PM
#38
Archived author: Foe • Posted: 2024-07-14T13:45:51.304000+00:00
Original source

For any other map than BG's, the old map is not deleted in between the two SetMap calls
rektbyfaith
07-14-2024, 01:45 PM #38

Archived author: Foe • Posted: 2024-07-14T13:45:51.304000+00:00
Original source

For any other map than BG's, the old map is not deleted in between the two SetMap calls

rektbyfaith
Administrator
0
07-14-2024, 01:48 PM
#39
Archived author: Foe • Posted: 2024-07-14T13:48:47.077000+00:00
Original source

Anyway, workaround from our side is to just check that eventMgr exists, then it works fine
rektbyfaith
07-14-2024, 01:48 PM #39

Archived author: Foe • Posted: 2024-07-14T13:48:47.077000+00:00
Original source

Anyway, workaround from our side is to just check that eventMgr exists, then it works fine

rektbyfaith
Administrator
0
07-14-2024, 01:50 PM
#40
Archived author: Tea • Posted: 2024-07-14T13:50:55.098000+00:00
Original source

you cant rely on that
rektbyfaith
07-14-2024, 01:50 PM #40

Archived author: Tea • Posted: 2024-07-14T13:50:55.098000+00:00
Original source

you cant rely on that

Pages (6): Previous 1 2 3 4 5 6 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)