Jump to content

Recommended Posts

Posted

#Obfuscator_Ignore_Funcs= ; Don't convert these Funcs

This is ONLY for UDFs not build in functions.

But you haven't shown why you would need Execute().

WinAPI.au3 uses Execute() function, just for the record.

♡♡♡

.

eMyvnE

  • Developers
Posted

ok i see that i do not need the execute function

but what about the timers.au3 error when obfuscating.

and after abfuscated correctly, can it easily be unobfuscated

Looks like that probably will work but haven't used these UDFs myself so you wiull have to test it.

Jos, je geduld is bewonderenswaardig, respekt...

Ach valt toch wel mee. ;)

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.
  :)

Posted
  • Developers
Posted

Guys, to be honest: I really don't care to much about how all the UDFs are coded and if they are Obfuscator proof or not.

Its is simple: When you feel the need to Obfuscate the Func names you cannot use any "hidden" funcname in any script function for the simple fact it will screw up your script.

As one of the most annoying saying goes: "It is what it is" ;)

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.
  :)

Posted

You don't seem to be getting the message that NO code is 100% safe no matter what language it's written in. If someone wants to read your code badly enough, they will.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Posted

You don't seem to be getting the message that NO code is 100% safe no matter what language it's written in. If someone wants to read your code badly enough, they will.

Ok so now I have this functions giving me an error

GUICtrlSetOnEvent

#Obfuscator_Ignore_Funcs=GUICtrlSetOnEvent

that ignore command doesn't help and when i try this it gives me undeclared variables

#Obfuscator_Off

Func SetTableCoordEvents($event)

For $a = 1 to 6

GUICtrlSetOnEvent("$tbl" & $a & "x", $event)

GUICtrlSetOnEvent("$tbl" & $a & "y", $event)

Next

EndFunc

$Obfuscator_On

Anyone know how I can fix this???

Posted

Ok so now I have this functions giving me an error

GUICtrlSetOnEvent

#Obfuscator_Ignore_Funcs=GUICtrlSetOnEvent

GUICtrlSetOnEvent() is a built in AutoIt function, nt a UDF.

This is ONLY for UDFs not build in functions.

But you haven't shown why you would need Execute().

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Posted (edited)

GUICtrlSetOnEvent() is a built in AutoIt function, nt a UDF.

I figured it all out thank u everyone for your help.

Just one last thing i need to resolve....

after changing my execute function to this.

the chkboxes don't check... they are saved in the $inifile as checked, yet when i use this GUICtrlSetState, they do not come up as checked.

any help?

$varname that is being passed is $radAuto which is the name of a radio button

Func ButtonStateSet($varname)
    If IniRead($inifile, "Settings", $varname, 4)==1 Then
        GUICtrlSetState($varname, $GUI_CHECKED)
    Else
        GUICtrlSetState($varname, $GUI_UNCHECKED)
    EndIf
EndFunc
Edited by vladedoty
Posted (edited)

Func ButtonStateSet($varname)
    If IniRead($inifile, "Settings", $varname, 4)==1 Then
        GUICtrlSetState($varname, $GUI_CHECKED)
    Else
        GUICtrlSetState($varname, $GUI_UNCHECKED)
    EndIf
    IniWrite($inifile, "Settings", $varname, GUICtrlRead($varname))
EndFunc

Edit: Forgot the code tags

Edited by GEOSoft

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

  • Developers
Posted

Ok so now I have this functions giving me an error

GUICtrlSetOnEvent

#Obfuscator_Ignore_Funcs=GUICtrlSetOnEvent

that ignore command doesn't help and when i try this it gives me undeclared variables

#Obfuscator_Off

Func SetTableCoordEvents($event)

For $a = 1 to 6

GUICtrlSetOnEvent("$tbl" & $a & "x", $event)

GUICtrlSetOnEvent("$tbl" & $a & "y", $event)

Next

EndFunc

$Obfuscator_On

Anyone know how I can fix this???

vladedoty, please do yourself and ME a big favor and do not touch Obfuscator until you have at least 6 months scripting experience and you can grasp the concepts of AutoIt3. This post clearly proofs that you are not there yet by a long way.

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.
  :)

  • 4 weeks later...
Posted

I use the execute() function to read variables while my program is running.

Its quite nice and allows me to change variable values while runtime.

Greetings

SlowlyDead

Posted

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
×
×
  • Create New...