[DiscordArchive] I feel that overriding this function may break some core things, how can I return core function valu
[DiscordArchive] I feel that overriding this function may break some core things, how can I return core function valu
![[Image: image.png?ex=690c6b8c&is=690b1a0c&hm=477...3958a6887&]](https://cdn.discordapp.com/attachments/1255602330431127753/1328839578035163136/image.png?ex=690c6b8c&is=690b1a0c&hm=477119c6178b30cd4e0e87bb8476b7bc61be3c0bed93521884fdd663958a6887&)
Archived author: Zindokar • Posted: 2025-01-14T21:34:04.103000+00:00
Original source
I feel that overriding this function may break some core things, how can I return core function value?
![[Image: image.png?ex=690c6b8c&is=690b1a0c&hm=477...3958a6887&]](https://cdn.discordapp.com/attachments/1255602330431127753/1328839578035163136/image.png?ex=690c6b8c&is=690b1a0c&hm=477119c6178b30cd4e0e87bb8476b7bc61be3c0bed93521884fdd663958a6887&)
Archived author: Tereneckla • Posted: 2025-01-14T21:35:17.191000+00:00
Original source
you're not really overriding with the module scripts
just return true
Archived author: Zindokar • Posted: 2025-01-14T21:36:58.418000+00:00
Original source
I also prevented group inviting, I used OnCreate and OnGroupInviteMember (not tested yet), is there any more convenient hook for this like you recomended me before for chat usage?
Archived author: Zindokar • Posted: 2025-01-14T21:37:42.311000+00:00
Original source
CanGroupInvite and CanGroupAccet I think
Archived author: Zindokar • Posted: 2025-01-14T21:37:54.533000+00:00
Original source
there are a lot of hooks sorry
Archived author: Tereneckla • Posted: 2025-01-14T21:38:14.660000+00:00
Original source
prob, I only saw CanPlayerUseChat being called just above OnPlayerChat (and being able to stop the chatting)
Archived author: Zindokar • Posted: 2025-01-14T21:42:59.217000+00:00
Original source
thanks I will test and confirm
Archived author: Zindokar • Posted: 2025-01-14T21:43:17.178000+00:00
Original source
if this works i would be super happy
Archived author: Exitare • Posted: 2025-01-14T22:29:58.727000+00:00
Original source
<@234052895014649866> this PR might be helpful for your goals. Its WIP though:
https://github.com/azerothcore/azerothco...pull/20869
[Embed: Add initial OnBeforePlayerResurrect hook by Exitare · Pull Request ...]
Changes Proposed:
This PR proposes changes to:
Core (units, players, creatures, game systems).
Scripts (bosses, spell scripts, creature scripts).
Database (SAI, creatures, etc).
Issues Address...
https://github.com/azerothcore/azerothco...pull/20869