10 credits

Fivem Lua Cleaner

40 replies5,990 views8mo ago
Original post · 8mo ago#1
Hello guys

I created a Fivem Lua Cleaner script, turns byte code into human readable code! It combines offline regex patterns with local AI via Ollama to automatically refactor your code.

- Install Python for compatibility
- install ollama so it can run the AI Models



Strips decompiled code and renames it into meaningless variables.

Fixes broken loops, labels, and chained method calls.

Supports zip processing so you can clean entire ZIP files at once.

Allows custom AI prompts to handle specific frameworks like ESX or QBCore.

You just need to run the cleaner, connect it to your Ollama, and drop your LUA files or ZIPs in it and the app it will handles the rest.

[img]/public/images/logo.png[/img][img]/public/images/logo.png[/img]

Download

This file is reserved for VIP members.

40 replies

8mo ago#2
not useable for big lua files only for small one
1
8mo ago#3
Excellent, it works! It handles some files a little poorly, but it's fine. In future updates, you could add support for larger files.
0
8mo ago#4
will fix this on the next update
0
7mo ago#5
This is really amazing—I tried it today and it works like a charm.

My question is, are MLO files always clean?
0
7mo ago#6
[quote=PatatasFritas]
Esto es realmente asombroso—Lo probé hoy y funciona de maravilla.

Mi pregunta es, ¿los archivos MLO están siempre limpios?
[/quote]

Esto es solo para limpiar archivos .lua, codigo, los MLOS que yo sepa no tienne archivos .lua, algunos si los tienne, si es asi pues deberás de limpiarlo con esta tool.
0
7mo ago#7
[quote=QueSeYo]


Esto es solo para limpiar archivos .lua, codigo, los MLOS que yo sepa no tienne archivos .lua, algunos si los tienne, si es asi pues deberás de limpiarlo con esta tool.
[/quote]

Yes, I know it's for Lua code; what I actually wanted to know is whether the files in the “stream” folder are usually encrypted, just like Lua files.

Just in case there's any executable or related code—I've never done this before.
0
7mo ago#8
[quote=PatatasFritas]


Yes, I know it's for Lua code; what I actually wanted to know is whether the files in the “stream” folder are usually encrypted, just like Lua files.

Just in case there's any executable or related code—I've never done this before.
[/quote]

Yes, the files in the stream folder are usually encrypted. I think you have to decrypt it, fix it, and bypass it. I don't really know the order or what to do with stream folders.
1
7mo ago#9
when i used i got "AI Error None"
1
7mo ago#10
[quote=maslenokwithaswitch]
when i used i got "AI Error None"
[/quote]

Follow the steps as shown in the image
0
7mo ago#11
Some models work, some gives same Ai Error, gps-oss is giving the error
0
7mo ago#12
[quote=exu9x]
Some models work, some gives same Ai Error, gps-oss is giving the error
[/quote]

can u tell me what models are work pls?
0
7mo ago#13
gpt-oss cloud isnt working
0
7mo ago#14
[quote=exu9x]
Some models work, some gives same Ai Error, gps-oss is giving the error
[/quote]

All models work, you need to download them on your machine in order to run them!
0
7mo ago#15
[quote=The0c]


All models work, you need to download them on your machine in order to run them!
[/quote]


https://i.ibb.co/dsB2dxP5/Screenshot-1.png
everyone works except of cloud
0
7mo ago#16
https://prnt.sc/KLHFE-4OLdSu

why 0 tokens and when it's ready it says it's ready but there's no code on the right.
0
7mo ago#17
[quote=leitoshere]
https://prnt.sc/KLHFE-4OLdSu

why 0 tokens and when it's ready it says it's ready but there's no code on the right.
[/quote]

Hi, Gemini has been discontinued. Please try any of the other alternative agents available on ollama
0
7mo ago#18
[quote=leitoshere]
https://prnt.sc/KLHFE-4OLdSu

why 0 tokens and when it's ready it says it's ready but there's no code on the right.
[/quote]

Hi, Gemini has been discontinued. Please try any of the other alternative agents available on ollama
0
7mo ago#19
Hi, Gemini has been discontinued. Please try any of the other alternative agents available on ollama
0
7mo ago#20
I get this error when I try to clear the code:

500 server error: internal server error for url: http://localhost:11434/api/chat

https://gyazo.com/b9cf360a3604743437d61910f641c21f
0

Sign in to reply

Join the discussion — it takes less than a minute.