Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] boss scripts use `Talk(id)` with `id` being a locally defined enum like 0,1,2,3. where do these ids

[DiscordArchive] boss scripts use `Talk(id)` with `id` being a locally defined enum like 0,1,2,3. where do these ids

[DiscordArchive] boss scripts use `Talk(id)` with `id` being a locally defined enum like 0,1,2,3. where do these ids

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
08-29-2024, 07:11 PM
#1
Archived author: Channeira • Posted: 2024-08-29T19:11:59.466000+00:00
Original source

boss scripts use `Talk(id)` with `id` being a locally defined enum like 0,1,2,3. where do these ids actually resolve to the actual chat line visible in the game? is that client side?
rektbyfaith
08-29-2024, 07:11 PM #1

Archived author: Channeira • Posted: 2024-08-29T19:11:59.466000+00:00
Original source

boss scripts use `Talk(id)` with `id` being a locally defined enum like 0,1,2,3. where do these ids actually resolve to the actual chat line visible in the game? is that client side?

rektbyfaith
Administrator
0
08-29-2024, 07:13 PM
#2
Archived author: Channeira • Posted: 2024-08-29T19:13:35.162000+00:00
Original source

example: `boss_ambassador_flamelash.cpp` does `Talk(AGGRO_TEXT)` on engage, with `AGGRO_TEXT` being `AGGRO_TEXT = 0,` in the boss script
rektbyfaith
08-29-2024, 07:13 PM #2

Archived author: Channeira • Posted: 2024-08-29T19:13:35.162000+00:00
Original source

example: `boss_ambassador_flamelash.cpp` does `Talk(AGGRO_TEXT)` on engage, with `AGGRO_TEXT` being `AGGRO_TEXT = 0,` in the boss script

rektbyfaith
Administrator
0
08-29-2024, 07:14 PM
#3
Archived author: ceikry • Posted: 2024-08-29T19:14:47.633000+00:00
Original source

if I had to make a loosely educated guess, it resolves to an entry in a database table somewhere
rektbyfaith
08-29-2024, 07:14 PM #3

Archived author: ceikry • Posted: 2024-08-29T19:14:47.633000+00:00
Original source

if I had to make a loosely educated guess, it resolves to an entry in a database table somewhere

rektbyfaith
Administrator
0
08-29-2024, 07:21 PM
#4
Archived author: Channeira • Posted: 2024-08-29T19:21:49.610000+00:00
Original source

Got it. in `creature_text` every NPC has it's own IDs, that why it's starting at 0 for "all" of them.
rektbyfaith
08-29-2024, 07:21 PM #4

Archived author: Channeira • Posted: 2024-08-29T19:21:49.610000+00:00
Original source

Got it. in `creature_text` every NPC has it's own IDs, that why it's starting at 0 for "all" of them.

rektbyfaith
Administrator
0
08-29-2024, 07:26 PM
#5
Archived author: Channeira • Posted: 2024-08-29T19:26:57.995000+00:00
Original source

Is there a function to have creature/NPC say something from a string instead of a `creature_text` id for debug purposes? (need to debug a boss schedule)
rektbyfaith
08-29-2024, 07:26 PM #5

Archived author: Channeira • Posted: 2024-08-29T19:26:57.995000+00:00
Original source

Is there a function to have creature/NPC say something from a string instead of a `creature_text` id for debug purposes? (need to debug a boss schedule)

rektbyfaith
Administrator
0
08-29-2024, 07:30 PM
#6
Archived author: ceikry • Posted: 2024-08-29T19:30:01.498000+00:00
Original source

even if there's not a function, you could probably find the relevant packet and make your own debug function to encode and send it yourself
rektbyfaith
08-29-2024, 07:30 PM #6

Archived author: ceikry • Posted: 2024-08-29T19:30:01.498000+00:00
Original source

even if there's not a function, you could probably find the relevant packet and make your own debug function to encode and send it yourself

rektbyfaith
Administrator
0
08-29-2024, 07:30 PM
#7
Archived author: ceikry • Posted: 2024-08-29T19:30:46.136000+00:00
Original source

but if you have a reference to the player you might as well just use ChatHandler(session)....
rektbyfaith
08-29-2024, 07:30 PM #7

Archived author: ceikry • Posted: 2024-08-29T19:30:46.136000+00:00
Original source

but if you have a reference to the player you might as well just use ChatHandler(session)....

rektbyfaith
Administrator
0
08-29-2024, 07:30 PM
#8
Archived author: Allen • Posted: 2024-08-29T19:30:48.381000+00:00
Original source

hello guys
rektbyfaith
08-29-2024, 07:30 PM #8

Archived author: Allen • Posted: 2024-08-29T19:30:48.381000+00:00
Original source

hello guys

rektbyfaith
Administrator
0
08-29-2024, 07:30 PM
#9
Archived author: Allen • Posted: 2024-08-29T19:30:53.042000+00:00
Original source

just one question
rektbyfaith
08-29-2024, 07:30 PM #9

Archived author: Allen • Posted: 2024-08-29T19:30:53.042000+00:00
Original source

just one question

rektbyfaith
Administrator
0
08-29-2024, 07:31 PM
#10
Archived author: Allen • Posted: 2024-08-29T19:31:10.568000+00:00
Original source

why i cant go to dungeon? it says i dont have the right expansion and its block
rektbyfaith
08-29-2024, 07:31 PM #10

Archived author: Allen • Posted: 2024-08-29T19:31:10.568000+00:00
Original source

why i cant go to dungeon? it says i dont have the right expansion and its block

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