Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] Hey robinsch, have another question about vmt.

[DiscordArchive] Hey robinsch, have another question about vmt.

[DiscordArchive] Hey robinsch, have another question about vmt.

Pages (10): 1 2 3 4 5 10 Next  
rektbyfaith
Administrator
0
06-06-2025, 12:14 PM
#1
Archived author: Saty • Posted: 2025-06-06T12:14:05.815000+00:00
Original source

Hey robinsch, have another question about vmt.
Here I just naively assumed that this object has 2 vmts.
But I assume rather, that this is a extended class (based on the fact that it runs another initializer).
So I assume, every local vmt + X * 8 is probably the vmt of the parent, is that correct?
[Image: 06_14_12_48_ida.png?ex=690c910d&is=690b3...e2942b503&]
rektbyfaith
06-06-2025, 12:14 PM #1

Archived author: Saty • Posted: 2025-06-06T12:14:05.815000+00:00
Original source

Hey robinsch, have another question about vmt.
Here I just naively assumed that this object has 2 vmts.
But I assume rather, that this is a extended class (based on the fact that it runs another initializer).
So I assume, every local vmt + X * 8 is probably the vmt of the parent, is that correct?
[Image: 06_14_12_48_ida.png?ex=690c910d&is=690b3...e2942b503&]

rektbyfaith
Administrator
0
06-06-2025, 12:15 PM
#2
Archived author: robinsch • Posted: 2025-06-06T12:15:14.315000+00:00
Original source

Yes it inherrits from multiple classes which have virtual functions; so it has multiple VMTs
rektbyfaith
06-06-2025, 12:15 PM #2

Archived author: robinsch • Posted: 2025-06-06T12:15:14.315000+00:00
Original source

Yes it inherrits from multiple classes which have virtual functions; so it has multiple VMTs

rektbyfaith
Administrator
0
06-06-2025, 12:15 PM
#3
Archived author: Saty • Posted: 2025-06-06T12:15:39.426000+00:00
Original source

Actually X * 8 cant be it... as here it references other VMT at like "random offsets"...
[Image: 06_14_15_12_ida.png?ex=690c916b&is=690b3...85410277a&]
rektbyfaith
06-06-2025, 12:15 PM #3

Archived author: Saty • Posted: 2025-06-06T12:15:39.426000+00:00
Original source

Actually X * 8 cant be it... as here it references other VMT at like "random offsets"...
[Image: 06_14_15_12_ida.png?ex=690c916b&is=690b3...85410277a&]

rektbyfaith
Administrator
0
06-06-2025, 12:16 PM
#4
Archived author: Widget • Posted: 2025-06-06T12:16:03.957000+00:00
Original source

i appreciate the help, but this stuff is too confusing and complicated for someone with my level of knowledge i was hoping some funky hacky wrapper around that UnitCastingInfo <TongueES_Salute:493353111822532629>
rektbyfaith
06-06-2025, 12:16 PM #4

Archived author: Widget • Posted: 2025-06-06T12:16:03.957000+00:00
Original source

i appreciate the help, but this stuff is too confusing and complicated for someone with my level of knowledge i was hoping some funky hacky wrapper around that UnitCastingInfo <TongueES_Salute:493353111822532629>

rektbyfaith
Administrator
0
06-06-2025, 12:17 PM
#5
Archived author: robinsch • Posted: 2025-06-06T12:17:09.534000+00:00
Original source

nope there is no wrapped since it builds many return arguments in the LUA API. If you just want to grab the spell ID by CGUnit_C* then it's just a member `m_uiCastingSpellID`
rektbyfaith
06-06-2025, 12:17 PM #5

Archived author: robinsch • Posted: 2025-06-06T12:17:09.534000+00:00
Original source

nope there is no wrapped since it builds many return arguments in the LUA API. If you just want to grab the spell ID by CGUnit_C* then it's just a member `m_uiCastingSpellID`

rektbyfaith
Administrator
0
06-06-2025, 12:18 PM
#6
Archived author: Saty • Posted: 2025-06-06T12:18:05.267000+00:00
Original source

Probably a classic case of https://xyproblem.info/
rektbyfaith
06-06-2025, 12:18 PM #6

Archived author: Saty • Posted: 2025-06-06T12:18:05.267000+00:00
Original source

Probably a classic case of https://xyproblem.info/

rektbyfaith
Administrator
0
06-06-2025, 12:18 PM
#7
Archived author: robinsch • Posted: 2025-06-06T12:18:47.659000+00:00
Original source

UI elements are an inherritance hell
rektbyfaith
06-06-2025, 12:18 PM #7

Archived author: robinsch • Posted: 2025-06-06T12:18:47.659000+00:00
Original source

UI elements are an inherritance hell

rektbyfaith
Administrator
0
06-06-2025, 12:18 PM
#8
Archived author: Widget • Posted: 2025-06-06T12:18:56.534000+00:00
Original source

that could "work" i guess, i googled and searched for m_uiCastingSpellID on github but no results
rektbyfaith
06-06-2025, 12:18 PM #8

Archived author: Widget • Posted: 2025-06-06T12:18:56.534000+00:00
Original source

that could "work" i guess, i googled and searched for m_uiCastingSpellID on github but no results

rektbyfaith
Administrator
0
06-06-2025, 12:19 PM
#9
Archived author: robinsch • Posted: 2025-06-06T12:19:20.268000+00:00
Original source

don't think people have reversed a lot of CGUnit_C* publicly
rektbyfaith
06-06-2025, 12:19 PM #9

Archived author: robinsch • Posted: 2025-06-06T12:19:20.268000+00:00
Original source

don't think people have reversed a lot of CGUnit_C* publicly

rektbyfaith
Administrator
0
06-06-2025, 12:20 PM
#10
Archived author: Saty • Posted: 2025-06-06T12:20:04.305000+00:00
Original source

Oh yeah I know
Been at it for hours now.

I just want to understand how the vmts are constructed... Like they appear to be "in order" sometimes, but then, like the last image, are at basically random offsets.
rektbyfaith
06-06-2025, 12:20 PM #10

Archived author: Saty • Posted: 2025-06-06T12:20:04.305000+00:00
Original source

Oh yeah I know
Been at it for hours now.

I just want to understand how the vmts are constructed... Like they appear to be "in order" sometimes, but then, like the last image, are at basically random offsets.

Pages (10): 1 2 3 4 5 10 Next  
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)