Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] probably `004181B0 FrameLua_RegisterFunction` ?

[DiscordArchive] probably `004181B0 FrameLua_RegisterFunction` ?

[DiscordArchive] probably `004181B0 FrameLua_RegisterFunction` ?

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
12-02-2024, 05:53 PM
#11
Archived author: tester • Posted: 2024-12-02T17:53:19.810000+00:00
Original source

that was used for global registers though, not to a specific frame
rektbyfaith
12-02-2024, 05:53 PM #11

Archived author: tester • Posted: 2024-12-02T17:53:19.810000+00:00
Original source

that was used for global registers though, not to a specific frame

rektbyfaith
Administrator
0
12-02-2024, 05:54 PM
#12
Archived author: Peacy • Posted: 2024-12-02T17:54:39.137000+00:00
Original source

Oh, interesting I'm able to do a global register with simply
```c++
Lua:Tongueushcclosure(state, (lua_CFunction)(callback), 0);
Lua::Setfield(state, LUA_GLOBALSINDEX, command);
```
This one in client seems to have extra fields like insert, rawset, etc
rektbyfaith
12-02-2024, 05:54 PM #12

Archived author: Peacy • Posted: 2024-12-02T17:54:39.137000+00:00
Original source

Oh, interesting I'm able to do a global register with simply
```c++
Lua:Tongueushcclosure(state, (lua_CFunction)(callback), 0);
Lua::Setfield(state, LUA_GLOBALSINDEX, command);
```
This one in client seems to have extra fields like insert, rawset, etc

rektbyfaith
Administrator
0
12-02-2024, 05:55 PM
#13
Archived author: tester • Posted: 2024-12-02T17:55:03.312000+00:00
Original source

yeah this was registering send and write
[Image: image.png?ex=690c3837&is=690ae6b7&hm=e1e...7f560420c&]
rektbyfaith
12-02-2024, 05:55 PM #13

Archived author: tester • Posted: 2024-12-02T17:55:03.312000+00:00
Original source

yeah this was registering send and write
[Image: image.png?ex=690c3837&is=690ae6b7&hm=e1e...7f560420c&]

rektbyfaith
Administrator
0
12-02-2024, 05:56 PM
#14
Archived author: Peacy • Posted: 2024-12-02T17:56:52.849000+00:00
Original source

Hmm so probably a different function hanlding frame specific registering
rektbyfaith
12-02-2024, 05:56 PM #14

Archived author: Peacy • Posted: 2024-12-02T17:56:52.849000+00:00
Original source

Hmm so probably a different function hanlding frame specific registering

rektbyfaith
Administrator
0
12-02-2024, 05:57 PM
#15
Archived author: tester • Posted: 2024-12-02T17:57:22.384000+00:00
Original source

id probably take a specific frame function and search its address, then find where it gets used and go up from ther
rektbyfaith
12-02-2024, 05:57 PM #15

Archived author: tester • Posted: 2024-12-02T17:57:22.384000+00:00
Original source

id probably take a specific frame function and search its address, then find where it gets used and go up from ther

rektbyfaith
Administrator
0
12-02-2024, 05:57 PM
#16
Archived author: Peacy • Posted: 2024-12-02T17:57:24.049000+00:00
Original source

Currently thinking this looks proming, used to register functions from frame specific lua events: 008167E0
rektbyfaith
12-02-2024, 05:57 PM #16

Archived author: Peacy • Posted: 2024-12-02T17:57:24.049000+00:00
Original source

Currently thinking this looks proming, used to register functions from frame specific lua events: 008167E0

rektbyfaith
Administrator
0
12-02-2024, 05:57 PM
#17
Archived author: Peacy • Posted: 2024-12-02T17:57:54.763000+00:00
Original source

```
FrameScript__FillScriptMethodTable(a1, (int)&SetFillTexture, 14);
```
rektbyfaith
12-02-2024, 05:57 PM #17

Archived author: Peacy • Posted: 2024-12-02T17:57:54.763000+00:00
Original source

```
FrameScript__FillScriptMethodTable(a1, (int)&SetFillTexture, 14);
```

rektbyfaith
Administrator
0
12-02-2024, 05:57 PM
#18
Archived author: tester • Posted: 2024-12-02T17:57:55.866000+00:00
Original source

yeah labeled FillScriptMethodTable for me, thats not horrible sounding
rektbyfaith
12-02-2024, 05:57 PM #18

Archived author: tester • Posted: 2024-12-02T17:57:55.866000+00:00
Original source

yeah labeled FillScriptMethodTable for me, thats not horrible sounding

rektbyfaith
Administrator
0
12-02-2024, 05:59 PM
#19
Archived author: tester • Posted: 2024-12-02T17:59:01.743000+00:00
Original source

yeah seems to be the bottom of the stack on some reloads, so you are definitely in the right direction
[Image: image.png?ex=690c3925&is=690ae7a5&hm=e1b...89ac970a5&]
rektbyfaith
12-02-2024, 05:59 PM #19

Archived author: tester • Posted: 2024-12-02T17:59:01.743000+00:00
Original source

yeah seems to be the bottom of the stack on some reloads, so you are definitely in the right direction
[Image: image.png?ex=690c3925&is=690ae7a5&hm=e1b...89ac970a5&]

rektbyfaith
Administrator
0
12-02-2024, 06:03 PM
#20
Archived author: Peacy • Posted: 2024-12-02T18:03:02.515000+00:00
Original source

excellent!
rektbyfaith
12-02-2024, 06:03 PM #20

Archived author: Peacy • Posted: 2024-12-02T18:03:02.515000+00:00
Original source

excellent!

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