Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Would the Global:RegisterUniqueCreatureEvent guid and instance_id relate to creature:GetGUID() and c

[DiscordArchive] Would the Global:RegisterUniqueCreatureEvent guid and instance_id relate to creature:GetGUID() and c

[DiscordArchive] Would the Global:RegisterUniqueCreatureEvent guid and instance_id relate to creature:GetGUID() and c

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
01-05-2024, 07:58 PM
#11
Archived author: functorism • Posted: 2024-01-05T19:58:19.663000+00:00
Original source

It appears to be handled in the code, it inserts the func ref in the binding map and that looks correct. But I'm not sure about how the rest should work to know if it's missing an impl or not.
rektbyfaith
01-05-2024, 07:58 PM #11

Archived author: functorism • Posted: 2024-01-05T19:58:19.663000+00:00
Original source

It appears to be handled in the code, it inserts the func ref in the binding map and that looks correct. But I'm not sure about how the rest should work to know if it's missing an impl or not.

rektbyfaith
Administrator
0
01-05-2024, 08:09 PM
#12
Archived author: Honey • Posted: 2024-01-05T20:09:05.618000+00:00
Original source

Without looking into it, I expect Eluna itself to be fine. It's more likely to be a missing or wrongly placed hook in AC.
rektbyfaith
01-05-2024, 08:09 PM #12

Archived author: Honey • Posted: 2024-01-05T20:09:05.618000+00:00
Original source

Without looking into it, I expect Eluna itself to be fine. It's more likely to be a missing or wrongly placed hook in AC.

rektbyfaith
Administrator
0
01-05-2024, 08:09 PM
#13
Archived author: functorism • Posted: 2024-01-05T20:09:56.758000+00:00
Original source

Appears to be implemented

```
//Called at waypoint reached or PointMovement end
bool Eluna::MovementInform(Creature* me, uint32 type, uint32 id)
{
START_HOOK_WITH_RETVAL(CREATURE_EVENT_ON_REACH_WP, me, false);
Push(me);
Push(type);
Push(id);
return CallAllFunctionsBool(CreatureEventBindings, CreatureUniqueBindings, entry_key, unique_key);
}
```
rektbyfaith
01-05-2024, 08:09 PM #13

Archived author: functorism • Posted: 2024-01-05T20:09:56.758000+00:00
Original source

Appears to be implemented

```
//Called at waypoint reached or PointMovement end
bool Eluna::MovementInform(Creature* me, uint32 type, uint32 id)
{
START_HOOK_WITH_RETVAL(CREATURE_EVENT_ON_REACH_WP, me, false);
Push(me);
Push(type);
Push(id);
return CallAllFunctionsBool(CreatureEventBindings, CreatureUniqueBindings, entry_key, unique_key);
}
```

rektbyfaith
Administrator
0
01-05-2024, 08:10 PM
#14
Archived author: functorism • Posted: 2024-01-05T20:10:17.182000+00:00
Original source

And I can't get any hooks to work with the RegisterUniqueCreatureEvent
rektbyfaith
01-05-2024, 08:10 PM #14

Archived author: functorism • Posted: 2024-01-05T20:10:17.182000+00:00
Original source

And I can't get any hooks to work with the RegisterUniqueCreatureEvent

Pages (2): Previous 1 2
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)