Jump to content

Recommended Posts

Posted

I have problem obfuscating my project, please help...

Here's the error:

>Running Obfuscator (1.0.25.0) from:C:\Program Files\AutoIt3\SciTE cmdline:

!File contains records longer than 2047 .. stopping process.

!Ending Obfuscator program.

!>20:07:32 Obfuscator ended with errors, using original scriptfile.rc:999

Any input guys...

  • Developers
Posted

Not sure what your question is...

Assuming you have a line in your script that is longer than 2048 which, as clearly is mentioned, you need to split that/those line(s).

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

  • 3 months later...
Posted

Sorry to revive an old thread, but I'm having the same error and I actually don't find any lines on my script that are longer than 2047 chars. Actualy the bigger one was 380 chars long, and I have splitted it using:

$temp="Some string goes here." & @CR
$temp=$temp & "Another string continuing the text." & @CR
$temp=$temp & "One more and it's almost done..." & @CR
$temp=$temp & "Finally the last one!"
GUICtrlSetTip(-1, $temp)
Posted (edited)

Sorry to revive an old thread, but I'm having the same error and I actually don't find any lines on my script that are longer than 2047 chars. Actualy the bigger one was 380 chars long, and I have splitted it using:

$temp="Some string goes here." & @CR
$temp=$temp & "Another string continuing the text." & @CR
$temp=$temp & "One more and it's almost done..." & @CR
$temp=$temp & "Finally the last one!"
GUICtrlSetTip(-1, $temp)
Did you check your includes? If you have that error there must be an overly long line somewhere. Edited by AdmiralAlkex
Posted

Sorry to revive an old thread, but I'm having the same error and I actually don't find any lines on my script that are longer than 2047 chars. Actualy the bigger one was 380 chars long, and I have splitted it using:

...

Can you post the error info like the OP did?

8)

NEWHeader1.png

Posted

I have this:

#include <SQLite.dll.au3>

And I think it may be the problem...

The error is:

>Running Obfuscator (1.0.24.22) from:C:\Program Files\AutoIt3\SciTE cmdline:

!File contains records longer than 2047 .. stopping process.

!Ending Obfuscator program.

!>17:47:06 Obfuscator ended with errors, using original scriptfile.rc:999

Posted (edited)

Yes, sqlite.dll.au3 contains lines with 4095 chars!

Would I need to split all those lines in 2047 chars parts?

Yes, you can reliably and easily split lines like this example, taken from the help file (Language Reference - Comments)

MsgBox(4096,"", "This is a rather long line, so I " & _
   "broke it with the underscore, _, character.")
Edited by Inverted
Posted
Posted

Or try this:

#Obfuscator_Off                                            ;Stop the Obfuscation process below this line
#include <sqlite.dll.au3>
#Obfuscator_On
Just for the record, this does not work.

I'm still going to make a script which will split each line of the sqlite.dll.au3 and return a new file with max 2047 chars per line.

Once I do that I'll post here for future reference.

Posted (edited)

You don't have to split every line ! Just check each line to see if it's above the limit and split that if needed, no need to rape the poor files :)

On sqlite.dll.au3, all lines are 4095 chars. So I do need to rape that sexy file! Just lazy to do that script now...

Thanks!

Edited by piratao2

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...