How to execute a Lua Code froma a file

Опубликовано: 11 Апрель 2025
на канале: SilverRabbit90
179
0

Here are some useful tools:
https://fearlessrevolution.com/viewtopic.p...

Code to insert in "Show Cheat Table Lua Script" (or press Ctrl+Alt+L and paste the code below):

local userProfilePath = os.getenv("USERPROFILE")

local function safeDofile(filePath)
local success, err = pcall(dofile, filePath)
end

local luaFilePath1 = userProfilePath .. "\\Desktop\\Lua\\YourFile.txt"
safeDofile(luaFilePath1)

local luaFilePath2 = userProfilePath .. "\\Desktop\\Lua\\Your File V2.lua"
safeDofile(luaFilePath2)


------- Replace YourFile.txt and Your File V2.lua with the names of your files.

-----------------------------------------------------------------------------------------------


---- ↓↓↓ This is used to make some Lua scripts work correctly. ↓↓↓

if generateAOBmenuitem then
generateAOBmenuitem.OnClick = function()
local addr = getMemoryViewForm().DisassemblerView.SelectedAddress
createThread(function()
synchronize(function() generateWildcardAOB(addr) end)
end)
end
else

end



Here is my Cheat Engine Tutorial:
[url]https://cheatengineguide.blogspot.com/2025...[/url]


На этой странице сайта вы можете посмотреть видео онлайн How to execute a Lua Code froma a file длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь SilverRabbit90 11 Апрель 2025, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 179 раз и оно понравилось 0 зрителям. Приятного просмотра!