Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] I noticed `GetCaster()->GetTarget()` exists, but it returns an ObjectGuid rather than a Unit object,

[DiscordArchive] I noticed `GetCaster()->GetTarget()` exists, but it returns an ObjectGuid rather than a Unit object,

[DiscordArchive] I noticed `GetCaster()->GetTarget()` exists, but it returns an ObjectGuid rather than a Unit object,

rektbyfaith
Administrator
0
07-08-2025, 09:18 PM
#1
Archived author: Young Toto • Posted: 2025-07-08T21:18:33.223000+00:00
Original source

I noticed `GetCaster()->GetTarget()` exists, but it returns an ObjectGuid rather than a Unit object, is there a way to convert it to the right type?
rektbyfaith
07-08-2025, 09:18 PM #1

Archived author: Young Toto • Posted: 2025-07-08T21:18:33.223000+00:00
Original source

I noticed `GetCaster()->GetTarget()` exists, but it returns an ObjectGuid rather than a Unit object, is there a way to convert it to the right type?

rektbyfaith
Administrator
0
07-08-2025, 09:21 PM
#2
Archived author: Tereneckla • Posted: 2025-07-08T21:21:45.605000+00:00
Original source

probably `eventInfo.GetActionTarget()`
rektbyfaith
07-08-2025, 09:21 PM #2

Archived author: Tereneckla • Posted: 2025-07-08T21:21:45.605000+00:00
Original source

probably `eventInfo.GetActionTarget()`

rektbyfaith
Administrator
0
07-08-2025, 09:40 PM
#3
Archived author: Young Toto • Posted: 2025-07-08T21:40:18.177000+00:00
Original source

I'll try that in a bit
rektbyfaith
07-08-2025, 09:40 PM #3

Archived author: Young Toto • Posted: 2025-07-08T21:40:18.177000+00:00
Original source

I'll try that in a bit

rektbyfaith
Administrator
0
07-08-2025, 10:03 PM
#4
Archived author: BootlessFawn007 • Posted: 2025-07-08T22:03:06.404000+00:00
Original source

Still having this error pop in after disabling AOE Loot through its config file

WorldSession::Update ByteBufferException occured while parsing a packet (opcode: 149) from client 127.0.0.1, accountid=102. Skipped packet.
rektbyfaith
07-08-2025, 10:03 PM #4

Archived author: BootlessFawn007 • Posted: 2025-07-08T22:03:06.404000+00:00
Original source

Still having this error pop in after disabling AOE Loot through its config file

WorldSession::Update ByteBufferException occured while parsing a packet (opcode: 149) from client 127.0.0.1, accountid=102. Skipped packet.

rektbyfaith
Administrator
0
07-08-2025, 10:08 PM
#5
Archived author: Takenbacon • Posted: 2025-07-08T22:08:29.917000+00:00
Original source

Your client is sensing a malformed packet, either a mod or an addon.
rektbyfaith
07-08-2025, 10:08 PM #5

Archived author: Takenbacon • Posted: 2025-07-08T22:08:29.917000+00:00
Original source

Your client is sensing a malformed packet, either a mod or an addon.

rektbyfaith
Administrator
0
07-08-2025, 10:08 PM
#6
Archived author: Takenbacon • Posted: 2025-07-08T22:08:32.748000+00:00
Original source

Sending*
rektbyfaith
07-08-2025, 10:08 PM #6

Archived author: Takenbacon • Posted: 2025-07-08T22:08:32.748000+00:00
Original source

Sending*

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