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:21 PM
#21
Archived author: Foe • Posted: 2024-07-14T13:21:50.635000+00:00
Original source

testing now
rektbyfaith
07-14-2024, 01:21 PM #21

Archived author: Foe • Posted: 2024-07-14T13:21:50.635000+00:00
Original source

testing now

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


[Image: image.png?ex=690bf84c&is=690aa6cc&hm=aaa...6b7e0ad27&]
rektbyfaith
07-14-2024, 01:22 PM #22

Archived author: Foe • Posted: 2024-07-14T13:22:20.767000+00:00
Original source


[Image: image.png?ex=690bf84c&is=690aa6cc&hm=aaa...6b7e0ad27&]

rektbyfaith
Administrator
0
07-14-2024, 01:22 PM
#23
Archived author: Foe • Posted: 2024-07-14T13:22:26.078000+00:00
Original source

Yeah we 100% hit closing the Lua state first
rektbyfaith
07-14-2024, 01:22 PM #23

Archived author: Foe • Posted: 2024-07-14T13:22:26.078000+00:00
Original source

Yeah we 100% hit closing the Lua state first

rektbyfaith
Administrator
0
07-14-2024, 01:28 PM
#24
Archived author: Foe • Posted: 2024-07-14T13:28:26.429000+00:00
Original source

so I think we need to check that E even exists before clearing the event processor
rektbyfaith
07-14-2024, 01:28 PM #24

Archived author: Foe • Posted: 2024-07-14T13:28:26.429000+00:00
Original source

so I think we need to check that E even exists before clearing the event processor

rektbyfaith
Administrator
0
07-14-2024, 01:29 PM
#25
Archived author: Tea • Posted: 2024-07-14T13:29:55.461000+00:00
Original source

but E is deleted when Map is deleted
rektbyfaith
07-14-2024, 01:29 PM #25

Archived author: Tea • Posted: 2024-07-14T13:29:55.461000+00:00
Original source

but E is deleted when Map is deleted

rektbyfaith
Administrator
0
07-14-2024, 01:30 PM
#26
Archived author: Tea • Posted: 2024-07-14T13:30:18.896000+00:00
Original source

you cannot safely access either of (old)eventProcessor->E or m_currMap
rektbyfaith
07-14-2024, 01:30 PM #26

Archived author: Tea • Posted: 2024-07-14T13:30:18.896000+00:00
Original source

you cannot safely access either of (old)eventProcessor->E or m_currMap

rektbyfaith
Administrator
0
07-14-2024, 01:30 PM
#27
Archived author: Foe • Posted: 2024-07-14T13:30:49.048000+00:00
Original source

yeah, that's why I don't really understand why it happens when there's multiple people in the bg
rektbyfaith
07-14-2024, 01:30 PM #27

Archived author: Foe • Posted: 2024-07-14T13:30:49.048000+00:00
Original source

yeah, that's why I don't really understand why it happens when there's multiple people in the bg

rektbyfaith
Administrator
0
07-14-2024, 01:31 PM
#28
Archived author: Foe • Posted: 2024-07-14T13:31:32.456000+00:00
Original source

but it seems like a bit of an edge case for BG's that the map gets deleted before the player is set to a new map
rektbyfaith
07-14-2024, 01:31 PM #28

Archived author: Foe • Posted: 2024-07-14T13:31:32.456000+00:00
Original source

but it seems like a bit of an edge case for BG's that the map gets deleted before the player is set to a new map

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

alright yeah, checking that eventMgr exists fixes the crash, but it feels super hacky
rektbyfaith
07-14-2024, 01:33 PM #29

Archived author: Foe • Posted: 2024-07-14T13:33:58.044000+00:00
Original source

alright yeah, checking that eventMgr exists fixes the crash, but it feels super hacky

rektbyfaith
Administrator
0
07-14-2024, 01:35 PM
#30
Archived author: Foe • Posted: 2024-07-14T13:35:32.697000+00:00
Original source

```C++
ElunaEventProcessor::~ElunaEventProcessor()
{
{
RemoveEvents_internal();
}

if (obj && E->eventMgr)
E->eventMgr->processors.erase(this);
}```
rektbyfaith
07-14-2024, 01:35 PM #30

Archived author: Foe • Posted: 2024-07-14T13:35:32.697000+00:00
Original source

```C++
ElunaEventProcessor::~ElunaEventProcessor()
{
{
RemoveEvents_internal();
}

if (obj && E->eventMgr)
E->eventMgr->processors.erase(this);
}```

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