[DiscordArchive] What kind of script is the function in?
[DiscordArchive] What kind of script is the function in?
Archived author: Revision • Posted: 2025-01-10T13:21:17.014000+00:00
Original source
What kind of script is the function in?
Archived author: OUTRAKE • Posted: 2025-01-10T13:21:21.862000+00:00
Original source
https://github.com/azerothcore/azerothco...1118/files
Archived author: Revision • Posted: 2025-01-10T13:23:53.478000+00:00
Original source
You've created a hook called OnPlayerLeave but.. where is it actually used in the core? Hooks have to be called or they won't do anything
Archived author: OUTRAKE • Posted: 2025-01-10T13:24:23.173000+00:00
Original source
thats the problem
Archived author: Revision • Posted: 2025-01-10T13:25:15.465000+00:00
Original source
Kind of like this: <https://github.com/azerothcore/azerothcore-wotlk/blob/07a077a207d87a8a252547ce7d8ad0e002bce89a/src/server/game/Entities/Player/Player.cpp#L2572>
Archived author: OUTRAKE • Posted: 2025-01-10T13:28:11.336000+00:00
Original source
i think there?
https://github.com/azerothcore/azerothco...Script.cpp
Archived author: Revision • Posted: 2025-01-10T13:36:20.276000+00:00
Original source
You've added a new hook, it won't exist in the code already so you need to add it.
Archived author: OUTRAKE • Posted: 2025-01-10T13:36:31.313000+00:00
Original source
there?
https://github.com/azerothcore/azerothco....cpp#L3027