Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Well, hook code uses the GET_GUID (which is GetObjectGuid) to do look ups in the bindings, so wouldn

[DiscordArchive] Well, hook code uses the GET_GUID (which is GetObjectGuid) to do look ups in the bindings, so wouldn

[DiscordArchive] Well, hook code uses the GET_GUID (which is GetObjectGuid) to do look ups in the bindings, so wouldn

Pages (6): 1 2 3 4 5 6 Next
rektbyfaith
Administrator
0
01-05-2024, 08:19 PM
#1
Archived author: functorism • Posted: 2024-01-05T20:19:43.111000+00:00
Original source

Well, hook code uses the GET_GUID (which is GetObjectGuid) to do look ups in the bindings, so wouldn't that mean that's what one should use?
rektbyfaith
01-05-2024, 08:19 PM #1

Archived author: functorism • Posted: 2024-01-05T20:19:43.111000+00:00
Original source

Well, hook code uses the GET_GUID (which is GetObjectGuid) to do look ups in the bindings, so wouldn't that mean that's what one should use?

rektbyfaith
Administrator
0
01-05-2024, 08:20 PM
#2
Archived author: Honey • Posted: 2024-01-05T20:20:16.205000+00:00
Original source

That sounds like there is an underlying issue to me.
rektbyfaith
01-05-2024, 08:20 PM #2

Archived author: Honey • Posted: 2024-01-05T20:20:16.205000+00:00
Original source

That sounds like there is an underlying issue to me.

rektbyfaith
Administrator
0
01-05-2024, 08:20 PM
#3
Archived author: functorism • Posted: 2024-01-05T20:20:40.740000+00:00
Original source

Register event doesn't allow you to listen to a hook, but merely create an event after a delay, which isn't what I'm trying to do. As I'm trying to listen to when a event happens to the creature.
rektbyfaith
01-05-2024, 08:20 PM #3

Archived author: functorism • Posted: 2024-01-05T20:20:40.740000+00:00
Original source

Register event doesn't allow you to listen to a hook, but merely create an event after a delay, which isn't what I'm trying to do. As I'm trying to listen to when a event happens to the creature.

rektbyfaith
Administrator
0
01-05-2024, 08:21 PM
#4
Archived author: Honey • Posted: 2024-01-05T20:21:20.295000+00:00
Original source

If it works for you, it's allright
rektbyfaith
01-05-2024, 08:21 PM #4

Archived author: Honey • Posted: 2024-01-05T20:21:20.295000+00:00
Original source

If it works for you, it's allright

rektbyfaith
Administrator
0
01-05-2024, 08:21 PM
#5
Archived author: functorism • Posted: 2024-01-05T20:21:38.410000+00:00
Original source

Nothing works right now
rektbyfaith
01-05-2024, 08:21 PM #5

Archived author: functorism • Posted: 2024-01-05T20:21:38.410000+00:00
Original source

Nothing works right now

rektbyfaith
Administrator
0
01-05-2024, 08:21 PM
#6
Archived author: Honey • Posted: 2024-01-05T20:21:48.746000+00:00
Original source

I haven't read the code you're looking at. But `GetObjectGuid` uses the entry and the low guid iirc.
rektbyfaith
01-05-2024, 08:21 PM #6

Archived author: Honey • Posted: 2024-01-05T20:21:48.746000+00:00
Original source

I haven't read the code you're looking at. But `GetObjectGuid` uses the entry and the low guid iirc.

rektbyfaith
Administrator
0
01-05-2024, 08:52 PM
#7
Archived author: Foe • Posted: 2024-01-05T20:52:49.867000+00:00
Original source

It's a bit of an AI issue tbh
rektbyfaith
01-05-2024, 08:52 PM #7

Archived author: Foe • Posted: 2024-01-05T20:52:49.867000+00:00
Original source

It's a bit of an AI issue tbh

rektbyfaith
Administrator
0
01-05-2024, 08:53 PM
#8
Archived author: Foe • Posted: 2024-01-05T20:53:32.524000+00:00
Original source

Registering an event to a creature after the creature exists (which it needs to do for GetGUID to work) doesn't instantiate Lua AI properly
rektbyfaith
01-05-2024, 08:53 PM #8

Archived author: Foe • Posted: 2024-01-05T20:53:32.524000+00:00
Original source

Registering an event to a creature after the creature exists (which it needs to do for GetGUID to work) doesn't instantiate Lua AI properly

rektbyfaith
Administrator
0
01-05-2024, 08:54 PM
#9
Archived author: Foe • Posted: 2024-01-05T20:54:12.970000+00:00
Original source

RegisterUniqueCreatureEvent is primarily meant to work with database GUID's, which inherently is the same thing, but events need to be registered prior to the creature AI being created
rektbyfaith
01-05-2024, 08:54 PM #9

Archived author: Foe • Posted: 2024-01-05T20:54:12.970000+00:00
Original source

RegisterUniqueCreatureEvent is primarily meant to work with database GUID's, which inherently is the same thing, but events need to be registered prior to the creature AI being created

rektbyfaith
Administrator
0
01-05-2024, 08:54 PM
#10
Archived author: Honey • Posted: 2024-01-05T20:54:37.404000+00:00
Original source

That explains it, cheers!
rektbyfaith
01-05-2024, 08:54 PM #10

Archived author: Honey • Posted: 2024-01-05T20:54:37.404000+00:00
Original source

That explains it, cheers!

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