Prometheus icon indicating copy to clipboard operation
Prometheus copied to clipboard

[BUG] Unexpected char "\134"!

Open GoxaShow opened this issue 1 year ago • 2 comments

Describe the bug I decided to cover my large project (221Kb) with preset strong (does not depend on preset), this error comes out:

C:\prometheus-windows>prometheus.exe . /123.lua --Lua51 --nocolors --o "123.luac" --preset Strong PROMETHEUS: Applying Obfuscation Pipeline to ./123.lua ... PROMETHEUS: Parsing ... PROMETHEUS: Lexing Error at Position 2:9, Unexpected char "\134"! C:\prometheus-windows>pause

At first I thought it was the array values, because one of the arrays had this char in it. Removing it did not change anything.

To Reproduce Steps to reproduce the behavior: start bat with: prometheus.exe ./123.lua --Lua51 --nocolors --o "123.luac" --preset Strong

Additional context script written for MoonLoader SAMP, Lua 5.1, luajit 2.1

GoxaShow avatar Oct 10 '23 17:10 GoxaShow

Would it be possible, to provide the code in lines 1-3?

levno-710 avatar Oct 12 '23 12:10 levno-710

Would it be possible, to provide the code in lines 1-3?

image

GoxaShow avatar Oct 12 '23 16:10 GoxaShow