Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Unexpected char "\134"! #152

Open
GoxaShow opened this issue Oct 10, 2023 · 2 comments
Open

[BUG] Unexpected char "\134"! #152

GoxaShow opened this issue Oct 10, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@GoxaShow
Copy link

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 GoxaShow added the bug Something isn't working label Oct 10, 2023
@levno-710
Copy link
Member

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

@GoxaShow
Copy link
Author

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

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants