Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] What am I doing wrong here? Segfaults and crashes the server on that `if` statement. Is sourceGameOb

[DiscordArchive] What am I doing wrong here? Segfaults and crashes the server on that `if` statement. Is sourceGameOb

[DiscordArchive] What am I doing wrong here? Segfaults and crashes the server on that `if` statement. Is sourceGameOb

Pages (4): 1 2 3 4 Next
rektbyfaith
Administrator
0
05-31-2023, 12:33 AM
#1
Archived author: KJack • Posted: 2023-05-31T00:33:15.197000+00:00
Original source

What am I doing wrong here? Segfaults and crashes the server on that `if` statement. Is sourceGameObject not what I think it is, where the loot money is coming from?
[Image: image.png?ex=690beccb&is=690a9b4b&hm=8b2...7b4397a0b&]
rektbyfaith
05-31-2023, 12:33 AM #1

Archived author: KJack • Posted: 2023-05-31T00:33:15.197000+00:00
Original source

What am I doing wrong here? Segfaults and crashes the server on that `if` statement. Is sourceGameObject not what I think it is, where the loot money is coming from?
[Image: image.png?ex=690beccb&is=690a9b4b&hm=8b2...7b4397a0b&]

rektbyfaith
Administrator
0
05-31-2023, 12:42 AM
#2
Archived author: KJack • Posted: 2023-05-31T00:42:31.993000+00:00
Original source

this also fails equally - segfault and crash
rektbyfaith
05-31-2023, 12:42 AM #2

Archived author: KJack • Posted: 2023-05-31T00:42:31.993000+00:00
Original source

this also fails equally - segfault and crash

rektbyfaith
Administrator
0
05-31-2023, 12:42 AM
#3
Archived author: KJack • Posted: 2023-05-31T00:42:33.066000+00:00
Original source


[Image: image.png?ex=690beef9&is=690a9d79&hm=618...096cd4785&]
rektbyfaith
05-31-2023, 12:42 AM #3

Archived author: KJack • Posted: 2023-05-31T00:42:33.066000+00:00
Original source


[Image: image.png?ex=690beef9&is=690a9d79&hm=618...096cd4785&]

rektbyfaith
Administrator
0
05-31-2023, 12:49 AM
#4
Archived author: Kitzunu • Posted: 2023-05-31T00:49:02.681000+00:00
Original source

You sure sourceGameObject is a part of Loot
rektbyfaith
05-31-2023, 12:49 AM #4

Archived author: Kitzunu • Posted: 2023-05-31T00:49:02.681000+00:00
Original source

You sure sourceGameObject is a part of Loot

rektbyfaith
Administrator
0
05-31-2023, 12:49 AM
#5
Archived author: Kitzunu • Posted: 2023-05-31T00:49:18.682000+00:00
Original source

Beacause I am not
rektbyfaith
05-31-2023, 12:49 AM #5

Archived author: Kitzunu • Posted: 2023-05-31T00:49:18.682000+00:00
Original source

Beacause I am not

rektbyfaith
Administrator
0
05-31-2023, 12:50 AM
#6
Archived author: KJack • Posted: 2023-05-31T00:50:15.354000+00:00
Original source

well, it looks like it is to me, but does that mean it always returns nullptr?
[Image: image.png?ex=690bf0c7&is=690a9f47&hm=3e3...53f90213f&]
rektbyfaith
05-31-2023, 12:50 AM #6

Archived author: KJack • Posted: 2023-05-31T00:50:15.354000+00:00
Original source

well, it looks like it is to me, but does that mean it always returns nullptr?
[Image: image.png?ex=690bf0c7&is=690a9f47&hm=3e3...53f90213f&]

rektbyfaith
Administrator
0
05-31-2023, 12:51 AM
#7
Archived author: KJack • Posted: 2023-05-31T00:51:17.008000+00:00
Original source

that's the only mention of sourceGameObject in LootMgr.h and there's no mention of it in LootMgr.cpp, so I'm not sure I understand what its supposed to be doing then.
rektbyfaith
05-31-2023, 12:51 AM #7

Archived author: KJack • Posted: 2023-05-31T00:51:17.008000+00:00
Original source

that's the only mention of sourceGameObject in LootMgr.h and there's no mention of it in LootMgr.cpp, so I'm not sure I understand what its supposed to be doing then.

rektbyfaith
Administrator
0
05-31-2023, 12:51 AM
#8
Archived author: KJack • Posted: 2023-05-31T00:51:25.624000+00:00
Original source

is it for inheritence reasons?
rektbyfaith
05-31-2023, 12:51 AM #8

Archived author: KJack • Posted: 2023-05-31T00:51:25.624000+00:00
Original source

is it for inheritence reasons?

rektbyfaith
Administrator
0
05-31-2023, 12:53 AM
#9
Archived author: Kitzunu • Posted: 2023-05-31T00:53:45.557000+00:00
Original source

No idea. Check GameObject.cpp it is referenced there
rektbyfaith
05-31-2023, 12:53 AM #9

Archived author: Kitzunu • Posted: 2023-05-31T00:53:45.557000+00:00
Original source

No idea. Check GameObject.cpp it is referenced there

rektbyfaith
Administrator
0
05-31-2023, 12:55 AM
#10
Archived author: KJack • Posted: 2023-05-31T00:55:02.457000+00:00
Original source

sorry, my C++ is very rusty/non-existant. trying to figure out what I can before I ask.
rektbyfaith
05-31-2023, 12:55 AM #10

Archived author: KJack • Posted: 2023-05-31T00:55:02.457000+00:00
Original source

sorry, my C++ is very rusty/non-existant. trying to figure out what I can before I ask.

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