Jump to content
Sign in to follow this  
snoww

newb question, does commented code get compiled?

Recommended Posts

snoww

I was wondering if a heavy commented script retains the comments ( size more or less) when the code is compiled into an exe using autoit's compiler.

Share this post


Link to post
Share on other sites
JFee

lalalala.... from the helpfile

The semicolon (:) is the comment character. Unless the semicolon is within a string, all text following it is ignored by the script interpreter/compiler.

EDIT: How do I make it not show up as a smily? muttley

Edited by JFee

Regards,Josh

Share this post


Link to post
Share on other sites
Jos

I was wondering if a heavy commented script retains the comments ( size more or less) when the code is compiled into an exe using autoit's compiler.

To answer your question: No, the comments are stripped from a compiled script.

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Richard Robertson

Just uncheck the box that says "Enable Smilies" under the text area.

The help file says that the comments are ignored, it doesn't say if they are still included.

Share this post


Link to post
Share on other sites
Paulie

EDIT: How do I make it not show up as a smily? :)

Uncheck "Enable Emoticons" in the "Post Options" section of the full editor :(

EDIT: Beaten by "speedy-fingers" here... muttley

Edited by Paulie

Share this post


Link to post
Share on other sites
snoww

To answer your question: No, the comments are stripped from a compiled script.

Jos

thank you sry didnt read the readme.

What would be the best way to add some dummy script to change the filesize of the exe but not change the actual functioning code, wierd question I know.

Share this post


Link to post
Share on other sites
Jos

What would be the best way to add some dummy script to change the filesize of the exe but not change the actual functioning code, wierd question I know.

Yes... and the purpose of all this is?

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Paulie

What would be the best way to add some dummy script to change the filesize of the exe but not change the actual functioning code, wierd question I know.

Define a bunch of unused variables at the top of the script maybe? muttley

Share this post


Link to post
Share on other sites
JFee

So his malware isn't very small? Lol

*Shifty Eyes*

Just teasing, although it does sound like that muttley

EDIT: @Paulie, wouldn't that just increase memory usage? I think the OP is trying to make the compiled EXE have a larger size

Edited by JFee

Regards,Josh

Share this post


Link to post
Share on other sites
snoww

Yes... and the purpose of all this is?

Well simply put I have a compiled script thats 300kb and I want to change it to say 310kb or 350kb it doesnt really matter, I am trying to look for some dummy variables or code that will be compiled to largen the final exe.

The purpose is for a bot that would like to aviod a mass checksum scan.

Share this post


Link to post
Share on other sites
Jos

Could you guys stay out and give the OP time to respond to my question?

I am really curious what GOOD reason there is to increase the size of an compiled script.


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Jos

Well simply put I have a compiled script thats 300kb and I want to change it to say 310kb or 350kb it doesnt really matter, I am trying to look for some dummy variables or code that will be compiled to largen the final exe.

The purpose is for a bot that would like to aviod a mass checksum scan.

Don't understand the Mass check sum thing but adding variables and giving it a string as value will increase the size.

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
snoww

Define a bunch of unused variables at the top of the script maybe

I tried that including adding like 30 dummy unused global variables but it was same size.

Also just so you know this is NOT malware or anything of the sort its a personal gaming bot for my use only.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.