[DiscordArchive] I'm looking at <https://github.com/azerothcore/azerothcore-wotlk/blob/2ef8d2e1e21e4c3b40850ae9513a31
[DiscordArchive] I'm looking at <https://github.com/azerothcore/azerothcore-wotlk/blob/2ef8d2e1e21e4c3b40850ae9513a31
Archived author: Honey • Posted: 2022-09-12T21:05:07.469000+00:00
Original source
I'm looking at <https://github.com/azerothcore/azerothcore-wotlk/blob/2ef8d2e1e21e4c3b40850ae9513a316024cf649d/src/server/game/Entities/Player/PlayerUpdates.cpp#L1163>
which from i understand is a hook i can use to execute code right when that line happens to be executed.
Let's say i us the hook to execute
```cpp
UpdateFFAPvPState(true);
```
just a few lines later the core would override that back to false.
Is there a way to prevent parts of the code being executed, e.g. if a hook returns a boolean?
Archived author: Honey • Posted: 2022-09-12T21:06:07.215000+00:00
Original source
I've been using the workaround to create an event tied to a player and execute is 10ms later. But it's a mess and keeps breaking.
Archived author: DavuKnight • Posted: 2022-09-12T21:23:12.370000+00:00
Original source
Almost sounds like we need a new event. If you need to know it happened I'd think we'd add a OnAfterUpdateFFAPvPState()
Archived author: Anhanga • Posted: 2022-09-12T21:46:37.847000+00:00
Original source
Does How to Win Friends and Influence Enemies work? (DK quest) - i'm smack'n the crusaders around with the persuaders and nothing is happening
Archived author: Anhanga • Posted: 2022-09-12T21:47:40.133000+00:00
Original source
oh. it just ... went from nothing to boom - done. I thought you got a couple peple that refused to tell you stuff
Archived author: Nyeriah • Posted: 2022-09-12T21:55:48.075000+00:00
Original source
Yeah random chance every time you fork them
Archived author: blakesha • Posted: 2022-09-13T12:05:01.940000+00:00
Original source
Was more I was trying to compile it with Ubuntu 22 and it was being a pain.
Archived author: blakesha • Posted: 2022-09-13T12:05:22.053000+00:00
Original source
So, could I fix it so we didnt have to worry about the OSSL dependency
Archived author: blakesha • Posted: 2022-09-13T12:06:57.689000+00:00
Original source
Does that still need to be done? I thought they have fixed up the threading issues in a 2.2 update
Archived author: Anchy • Posted: 2022-09-13T12:14:49.338000+00:00
Original source
i dont know, but thats what that line of code does