Theme editor

Codewalker problem how can i solve

TogrulM

Well-known member
Joined
Nov 9, 2022
Messages
53
Reaction score
3
Points
8
Credits
454
Thread owner
I have a map, but when I use codewalker to edit it, the screen looks like this
 

Attachments

  • image_2025-09-10_112152683.webp
    image_2025-09-10_112152683.webp
    78.6 KB · Views: 36
Thread owner
Hey, you are a very knowledgeable person. Please, is there a program that will convert this change to normal code?

function L5_1(A0_2)
local L1_2, L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2, L13_2, L14_2, L15_2, L16_2
L1_2 = A0_2.coords
L1_2 = L1_2.PolyZone
L1_2 = L1_2.thickness
if not L1_2 then
L1_2 = A0_2.coords
L1_2 = L1_2.PolyZone
L1_2.thickness = 600.0
end
L1_2 = A0_2.coords
L1_2 = L1_2.PolyZone
L1_2 = L1_2.points
if L1_2 then
L1_2 = pairs
L2_2 = A0_2.coords
L2_2 = L2_2.PolyZone
L2_2 = L2_2.points
L1_2, L2_2, L3_2, L4_2 = L1_2(L2_2)
for L5_2, L6_2 in L1_2, L2_2, L3_2, L4_2 do
L7_2 = A0_2.coords
L7_2 = L7_2.PolyZone
L7_2 = L7_2.points
L8_2 = vec3
L9_2 = L6_2.x
L10_2 = L6_2.y
L11_2 = L6_2.z
if not L11_2 then
L11_2 = 0.0
end
L8_2 = L8_2(L9_2, L10_2, L11_2)
L7_2[L5_2] = L8_2
end
end
L1_2 = {}
L2_2 = A0_2.mlo
if L2_2 then
L2_2 = pairs
L3_2 = A0_2.mlo
L2_2, L3_2, L4_2, L5_2 = L2_2(L3_2)
for L6_2, L7_2 in L2_2, L3_2, L4_2, L5_2 do
L8_2 = L7_2.coords
if not L8_2 then
L8_2 = pairs
L9_2 = L7_2
L8_2, L9_2, L10_2, L11_2 = L8_2(L9_2)
for L12_2, L13_2 in L8_2, L9_2, L10_2, L11_2 do
L14_2 = table
L14_2 = L14_2.insert
L15_2 = L1_2
L16_2 = L13_2
L14_2(L15_2, L16_2)
end
else
L1_2 = A0_2.mlo
end
end
A0_2.mlo = L1_2
end
L2_2 = A0_2.coords
L2_2 = L2_2.shellCoords
if not L2_2 then
L2_2 = A0_2.coords
L2_2 = L2_2.interiorCoords
if L2_2 then
L2_2 = A0_2.coords
L3_2 = A0_2.coords
L3_2 = L3_2.interiorCoords
L2_2.shellCoords = L3_2
end
end
return A0_2
end
 
Hey, you are a very knowledgeable person. Please, is there a program that will convert this change to normal code?

function L5_1(A0_2)
local L1_2, L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2, L13_2, L14_2, L15_2, L16_2
L1_2 = A0_2.coords
L1_2 = L1_2.PolyZone
L1_2 = L1_2.thickness
if not L1_2 then
L1_2 = A0_2.coords
L1_2 = L1_2.PolyZone
L1_2.thickness = 600.0
end
L1_2 = A0_2.coords
L1_2 = L1_2.PolyZone
L1_2 = L1_2.points
if L1_2 then
L1_2 = pairs
L2_2 = A0_2.coords
L2_2 = L2_2.PolyZone
L2_2 = L2_2.points
L1_2, L2_2, L3_2, L4_2 = L1_2(L2_2)
for L5_2, L6_2 in L1_2, L2_2, L3_2, L4_2 do
L7_2 = A0_2.coords
L7_2 = L7_2.PolyZone
L7_2 = L7_2.points
L8_2 = vec3
L9_2 = L6_2.x
L10_2 = L6_2.y
L11_2 = L6_2.z
if not L11_2 then
L11_2 = 0.0
end
L8_2 = L8_2(L9_2, L10_2, L11_2)
L7_2[L5_2] = L8_2
end
end
L1_2 = {}
L2_2 = A0_2.mlo
if L2_2 then
L2_2 = pairs
L3_2 = A0_2.mlo
L2_2, L3_2, L4_2, L5_2 = L2_2(L3_2)
for L6_2, L7_2 in L2_2, L3_2, L4_2, L5_2 do
L8_2 = L7_2.coords
if not L8_2 then
L8_2 = pairs
L9_2 = L7_2
L8_2, L9_2, L10_2, L11_2 = L8_2(L9_2)
for L12_2, L13_2 in L8_2, L9_2, L10_2, L11_2 do
L14_2 = table
L14_2 = L14_2.insert
L15_2 = L1_2
L16_2 = L13_2
L14_2(L15_2, L16_2)
end
else
L1_2 = A0_2.mlo
end
end
A0_2.mlo = L1_2
end
L2_2 = A0_2.coords
L2_2 = L2_2.shellCoords
if not L2_2 then
L2_2 = A0_2.coords
L2_2 = L2_2.interiorCoords
if L2_2 then
L2_2 = A0_2.coords
L3_2 = A0_2.coords
L3_2 = L3_2.interiorCoords
L2_2.shellCoords = L3_2
end
end
return A0_2
end
use chat gpt or grok
use this propmt for it:
Please remove temporary variables (e.g., L_01, L_02, etc.) that fragment the code after deobfuscation with unluac54. Reconstruct the logic flow while strictly preserving the original structure and semantics. Do not rename, replace, or alter any valid values or identifiers. Do not add or remove any existing functions. Do not insert comments or annotations into the code. The goal is to defragment the FiveM Lua script without corrupting its behavior.
 
Thread owner
use chat gpt or grok
use this propmt for it:
Please remove temporary variables (e.g., L_01, L_02, etc.) that fragment the code after deobfuscation with unluac54. Reconstruct the logic flow while strictly preserving the original structure and semantics. Do not rename, replace, or alter any valid values or identifiers. Do not add or remove any existing functions. Do not insert comments or annotations into the code. The goal is to defragment the FiveM Lua script without corrupting its behavior.
I love you thenk youuu <3
 
Back
Top Bottom