[DiscordArchive] yea but which event casts the spell?
[DiscordArchive] yea but which event casts the spell?
Archived author: Slumber • Posted: 2022-09-24T21:57:22.867000+00:00
Original source
yea but which event casts the spell?
Archived author: Nix • Posted: 2022-09-24T21:58:15.947000+00:00
Original source
Whenever you right click I'd assume you just force cast a targeted spell, there is a few ways to go about that I guess, and it also depends on how open you are to modifying the binary
Archived author: Slumber • Posted: 2022-09-24T21:59:31.602000+00:00
Original source
I am kiiiind of open to modifying the binary, but I really got no clue about it. So hooking into the right click to cast a spell requires binary edits?
Archived author: Nix • Posted: 2022-09-24T22:00:17.809000+00:00
Original source
Well any kind of CastSpellByX is protected, so at the very least that path is off limits without some kind of edit.
Archived author: Slumber • Posted: 2022-09-24T22:02:40.358000+00:00
Original source
so I would make it public and expose it to lua or something?
Archived author: Nix • Posted: 2022-09-24T22:03:47.399000+00:00
Original source
That is one way, but then you'd invite anyone to be able to avoid that protection which I'm not a big fan of.
Archived author: Slumber • Posted: 2022-09-24T22:07:14.804000+00:00
Original source
alright, thanks for the directions I guess it still would be tricky to figure out where the right click points to in world coordinates. But I'll read into the binary edits at some point. I'm still curious about what <@100801380528177152>'s suggested solution would look like.
Archived author: Nix • Posted: 2022-09-24T22:07:19.769000+00:00
Original source
004C21B0 ScreenToWorld
Archived author: Nix • Posted: 2022-09-24T22:07:31.866000+00:00
Original source
https://www.ownedcore.com/forums/world-o...hread.html
[Embed: [WoW][3.3.5.12340] Info Dump Thread]
Code: [StructLayout(LayoutKind.Explicit)] struct MissileInfo { [FieldOffset(0)] readonly ulong casterGuid; [FieldOffset(8)] readonly ulong targetGuid;
https://www.ownedcore.com/forums/world-o...hread.html
Archived author: Slumber • Posted: 2022-09-24T22:07:42.981000+00:00
Original source
awesome, thanks