[DiscordArchive] Is there a built in way to send those main GossipMenu text boxes from a script without requiring it
[DiscordArchive] Is there a built in way to send those main GossipMenu text boxes from a script without requiring it
Archived author: Foe • Posted: 2022-07-17T18:59:21.868000+00:00
Original source
https://github.com/azerothcore/azerothco...f.cpp#L192
Archived author: Foe • Posted: 2022-07-17T18:59:33.119000+00:00
Original source
Shows you how the sending of the gossip menu works
Archived author: whatwere • Posted: 2022-07-17T19:01:01.150000+00:00
Original source
That doesn't actually send the gossip menu itself though, for the functionality I'm trying to have at least.
Archived author: Foe • Posted: 2022-07-17T19:05:26.281000+00:00
Original source
Correct, it sends the gossip text entry, which is then queried by the client, server sends text for the queried id back to the client and it gets cached
Archived author: whatwere • Posted: 2022-07-17T19:06:24.548000+00:00
Original source
So intercepting the message and relying on string literals instead of database entries is probably not going to work?
Archived author: Foe • Posted: 2022-07-17T19:07:20.978000+00:00
Original source
sure it will, you just need to hook the text query opcode and return your own text based on whatever criteria you want to specify
Archived author: whatwere • Posted: 2022-07-17T19:08:07.450000+00:00
Original source
Won't the messages overlap if not tediously verified though? Since the client saves messages by the gossip text entry?
Archived author: whatwere • Posted: 2022-07-17T19:08:24.519000+00:00
Original source
I guess it doesn't matter since only one gossip window can be open at once
Archived author: Foe • Posted: 2022-07-17T19:09:03.655000+00:00
Original source
no idea, try it might not request the text again after it has been cached, but you could always just send arbitrary text entries ♂️
Archived author: Rymercyble • Posted: 2022-07-17T19:27:29.948000+00:00
Original source
any shaman players here ? is fire elemental intended to have 8k hp no matter player stats ?