Forums WoW Modding Support Archives Azerothcore Discord Archives [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

[DiscordArchive] I feel that overriding this function may break some core things, how can I return core function valu

rektbyfaith
Administrator
0
01-14-2025, 09:34 PM
#1
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&]
rektbyfaith
01-14-2025, 09:34 PM #1

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&]

rektbyfaith
Administrator
0
01-14-2025, 09:35 PM
#2
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
rektbyfaith
01-14-2025, 09:35 PM #2

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

rektbyfaith
Administrator
0
01-14-2025, 09:36 PM
#3
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?
rektbyfaith
01-14-2025, 09:36 PM #3

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?

rektbyfaith
Administrator
0
01-14-2025, 09:37 PM
#4
Archived author: Zindokar • Posted: 2025-01-14T21:37:42.311000+00:00
Original source

CanGroupInvite and CanGroupAccet I think
rektbyfaith
01-14-2025, 09:37 PM #4

Archived author: Zindokar • Posted: 2025-01-14T21:37:42.311000+00:00
Original source

CanGroupInvite and CanGroupAccet I think

rektbyfaith
Administrator
0
01-14-2025, 09:37 PM
#5
Archived author: Zindokar • Posted: 2025-01-14T21:37:54.533000+00:00
Original source

there are a lot of hooks sorry
rektbyfaith
01-14-2025, 09:37 PM #5

Archived author: Zindokar • Posted: 2025-01-14T21:37:54.533000+00:00
Original source

there are a lot of hooks sorry

rektbyfaith
Administrator
0
01-14-2025, 09:38 PM
#6
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)
rektbyfaith
01-14-2025, 09:38 PM #6

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)

rektbyfaith
Administrator
0
01-14-2025, 09:42 PM
#7
Archived author: Zindokar • Posted: 2025-01-14T21:42:59.217000+00:00
Original source

thanks I will test and confirm
rektbyfaith
01-14-2025, 09:42 PM #7

Archived author: Zindokar • Posted: 2025-01-14T21:42:59.217000+00:00
Original source

thanks I will test and confirm

rektbyfaith
Administrator
0
01-14-2025, 09:43 PM
#8
Archived author: Zindokar • Posted: 2025-01-14T21:43:17.178000+00:00
Original source

if this works i would be super happy
rektbyfaith
01-14-2025, 09:43 PM #8

Archived author: Zindokar • Posted: 2025-01-14T21:43:17.178000+00:00
Original source

if this works i would be super happy

rektbyfaith
Administrator
0
01-14-2025, 10:29 PM
#9
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
rektbyfaith
01-14-2025, 10:29 PM #9

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

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)