Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Aha, thanks <@228769085834395648> - I’ll try this later. I actually got to the point where I had the

[DiscordArchive] Aha, thanks <@228769085834395648> - I’ll try this later. I actually got to the point where I had the

[DiscordArchive] Aha, thanks <@228769085834395648> - I’ll try this later. I actually got to the point where I had the

rektbyfaith
Administrator
0
07-23-2022, 07:09 AM
#1
Archived author: Linguster • Posted: 2022-07-23T07:09:02.418000+00:00
Original source

Aha, thanks <@228769085834395648> - I’ll try this later. I actually got to the point where I had the same code as you, but not the if unit and unit is player check, so I guess that’s what would have crashed my core when entering world?
rektbyfaith
07-23-2022, 07:09 AM #1

Archived author: Linguster • Posted: 2022-07-23T07:09:02.418000+00:00
Original source

Aha, thanks <@228769085834395648> - I’ll try this later. I actually got to the point where I had the same code as you, but not the if unit and unit is player check, so I guess that’s what would have crashed my core when entering world?

rektbyfaith
Administrator
0
07-23-2022, 07:25 AM
#2
Archived author: Anchy • Posted: 2022-07-23T07:25:31.411000+00:00
Original source

im not sure if a null pointer could arise there, just kind of a force of habit
rektbyfaith
07-23-2022, 07:25 AM #2

Archived author: Anchy • Posted: 2022-07-23T07:25:31.411000+00:00
Original source

im not sure if a null pointer could arise there, just kind of a force of habit

rektbyfaith
Administrator
0
07-23-2022, 07:35 AM
#3
Archived author: Anchy • Posted: 2022-07-23T07:35:27.080000+00:00
Original source

im not sure what GetBattleground returns but you could crash if not in a battleground and you dont check the pointer
rektbyfaith
07-23-2022, 07:35 AM #3

Archived author: Anchy • Posted: 2022-07-23T07:35:27.080000+00:00
Original source

im not sure what GetBattleground returns but you could crash if not in a battleground and you dont check the pointer

rektbyfaith
Administrator
0
07-23-2022, 07:36 AM
#4
Archived author: Linguster • Posted: 2022-07-23T07:36:04.503000+00:00
Original source

Yea I also didn’t have if(bg)
rektbyfaith
07-23-2022, 07:36 AM #4

Archived author: Linguster • Posted: 2022-07-23T07:36:04.503000+00:00
Original source

Yea I also didn’t have if(bg)

rektbyfaith
Administrator
0
07-23-2022, 07:36 AM
#5
Archived author: Linguster • Posted: 2022-07-23T07:36:24.401000+00:00
Original source

Just checked if IsArena and arena type
rektbyfaith
07-23-2022, 07:36 AM #5

Archived author: Linguster • Posted: 2022-07-23T07:36:24.401000+00:00
Original source

Just checked if IsArena and arena type

rektbyfaith
Administrator
0
07-23-2022, 07:36 AM
#6
Archived author: Linguster • Posted: 2022-07-23T07:36:36.586000+00:00
Original source

So that could be the issue as well I suppose
rektbyfaith
07-23-2022, 07:36 AM #6

Archived author: Linguster • Posted: 2022-07-23T07:36:36.586000+00:00
Original source

So that could be the issue as well I suppose

rektbyfaith
Administrator
0
07-23-2022, 07:37 AM
#7
Archived author: Linguster • Posted: 2022-07-23T07:37:03.172000+00:00
Original source

I’ll let you know how it goes later using your example. Thanks again man
rektbyfaith
07-23-2022, 07:37 AM #7

Archived author: Linguster • Posted: 2022-07-23T07:37:03.172000+00:00
Original source

I’ll let you know how it goes later using your example. Thanks again man

rektbyfaith
Administrator
0
07-23-2022, 07:40 AM
#8
Archived author: Anchy • Posted: 2022-07-23T07:40:17.880000+00:00
Original source

np
rektbyfaith
07-23-2022, 07:40 AM #8

Archived author: Anchy • Posted: 2022-07-23T07:40:17.880000+00:00
Original source

np

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