Categories > Coding > C++ >
[HELP] How to update luau files?
Posted
So, if you dont know theres a 'Luau' file library posted by roblox and you can use it by using a convertor like lua_getfield((lua_State*)rL, -10002, "HI");
But the only problem is it changes every week, so can anyone tell me WHAT files need to be updated?
hecker dude ngl i hecked 5 ips in 1 second also luaU_loadbiglongjuicythingy(rL);
Added
@ImmuneLion318, can you exactly tell me what FILES in the luau file need to be updated?
Cancel
Post
hecker dude ngl i hecked 5 ips in 1 second also luaU_loadbiglongjuicythingy(rL);
Replied
The easiest way to update the luau library is to go to the official Roblox GitHub repository for luau at https://github.com/Roblox/luau. From there, you can download the latest version of the library as a ZIP file. Once you've downloaded the file, just extract its contents to a directory on your computer, and replace the existing luau files in your project with the updated files from the extracted directory.
Keep in mind that you may also need to update any scripts or code that rely on the luau library to use the latest API and function calls. You can find more information on the latest updates to the library in the official Roblox documentation at https://developer.roblox.com/en-us/api-reference/lua-docs.
Cancel
Post
https://media.discordapp.net/attachments/979069297374671018/1078367228593971362/VelvetSiggy.png
Replied
@Haruka I Hate To Tell You But This Reply Is Completely Irrelevant As The User Wants To Know How To Update And Use Luau In Roblox Not Just For Stuff Like The Compiler.
Cancel
Post
https://media.discordapp.net/attachments/979069297374671018/1078367228593971362/VelvetSiggy.png
Replied
@Haruka No Worries I Assume They Appreciate The Thought That Went Into The Reply
Cancel
Post
Replied
@Haruka, I see. It worked fine but some functions need specific updating, but thank you overall.
Cancel
Post
Added
@Haruka Hey there! Might be messaging late, I copied the 'VM' Folder as I want to use the LuaC API functions like getfield, pushclosure. None of them seem to work?
I use them like this:
lua_pushnil((lua_State*)rL));
I don't know if i am doing something wrong. It just doesnt seem to work, it actually crashes roblox.
I had copied the VM folder, pasted it into my exploit DLL directory and it showed no errors. Don't really know why this is happeneing.
Cancel
Post
hecker dude ngl i hecked 5 ips in 1 second also luaU_loadbiglongjuicythingy(rL);
Replied
@heckerdude, One possibility is that the Lua state you're using (which is represented by the 'lua_State' variable) might not be set up correctly or could be pointing to the wrong memory location. Another possibility is that the version of Lua in the copied "VM" folder might not be compatible with the version of Roblox you're running.
try to debug it
- Make sure that the Lua state is initialized properly and that the 'lua_State' variable is pointing to the right spot in memory. You can do this by using the 'lua_newstate' function to create a new Lua state, and then setting 'lua_State' to point to that new state.
- Check the version of Lua in the copied "VM" folder to make sure it matches up with the version of Roblox you're using. You can do this by looking at the Lua version number in the 'lua.h' header file.
- Try using a different Lua C API function to see if it works. For example, you could try using 'lua_pushnumber' to add a number to the Lua stack and see if that works without crashing Roblox.
- If none of these things help, you might need to dig a bit deeper and look at the call stack and any error messages that pop up to try and figure out what's causing the crash.
Cancel
Post
https://media.discordapp.net/attachments/979069297374671018/1078367228593971362/VelvetSiggy.png
Replied
@heckerdude Cause Just Pasting The VM Doesn't Work You Need To Update Encryptions And Align The Structs/Enums
Cancel
Post
Replied
@Haruka, Do I need to update anything? I heard from lot of people there are specific encryptions, offsets? If you heard of NezyGhoul, he used to post Luau updated, but I didn't understand how it worked.
Also, i just debugged. Seems like it just crashes ROBLOX. It created a lua state and worked with lua state, but not with my roblox state grabbed from the task scheduling code.
Cancel
Post
Added
Quick Update: I made new lua state when func is ran:
lua_pushnumber(luaL_newstate(), 5);
It ran fine, but not in roblox state, it ran in lua state.
Cancel
Post
Added
EDIT: PushNumber worked perfectly fine! It pushed 5 fine!
BTW I tried setfield, pushcclosure, and those dont work.
Cancel
Post
hecker dude ngl i hecked 5 ips in 1 second also luaU_loadbiglongjuicythingy(rL);
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post