Categories > Coding > C++ >
How would I get luaF_newCclosure address?
Posted
As the title says, I wan't to get the luaF_newCclosure address, because I wan't to create custom funcs. If anyone would be so nice to tell me, then I would appreciate it. Also another question, after I got it: How can I use it to create custom funcs?
I already got execution done.
Added
@Spanksterria,
void TaskScheduler::executeScript(std::uintptr_t luaState, const char* script) {
std::string bytecode = compile(script);
bytecode = TaskScheduler::compress(bytecode);
TaskScheduler::setidentity(luaState, 8);
int executionStatus = funcs::luaVM_load(luaState, &bytecode, "Lioner", 0);
if (executionStatus == 0) {
printf("Script execution was successful.\n");
funcs::taskDefer(luaState);
}
else {
printf("Script execution was unsuccessful!\n");
}
TaskScheduler::decrementtop(luaState, 16);
}
Cancel
Post
Replied
i believe lua_FNewClosure was in 0xD34DB33F but I'm not sure that might be from 2 updates ago.
you have to redo the build seed and shuffle structs to call it. using uintptr-t is detected by RACK2
Cancel
Post
veh_handler and seh_handler disliker
<p>enis</p>
Replied
@Verbum, Cant really do much with just the address. I want a method if finding it. Otherwise I can't update my Dll?
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post