JackDinn Posted November 8, 2009 Share Posted November 8, 2009 (edited) well im just looking into Obfuscator and love the /striponly option, does just what i need but when i try it on one of my main programs im getting error's all over the place! the first error is C:\PROGRAMDATA\MY Docs\Auto It\Speedtester\speedtester_graph_18_Obfuscated.au3(3537,1) : ERROR: syntax error EndIf but i dunno how endif can be a syntax error. If i do a syntax check its fine, its compiles fine it's just when i try to use Obfuscator? Where/how do i start debugging this? thx all. EDIT :- hmm looks like it might be something to do with me having used a line separator " _" as the second half of my separated line is missing after Obfuscator. original line :- If $xarray[$x + $fifo + 1][4] > 0 Or $xarray[$x + $fifo][4] > 0 Then _GDIPlus_GraphicsDrawLine($backbuffer, (($x - 2) * 12) + 65, (502 - (480 / (100 / $xarray[$x + $fifo][4])) - 2) * $ymult, _ ; PKT Loss lines (($x - 1) * 12) + 65, (502 - (480 / (100 / $xarray[$x + $fifo + 1][4])) - 2) * $ymult, $pen2) EndIf After Obfuscator If $xarray[$x + $fifo + 1][4] > 0 Or $xarray[$x + $fifo][4] > 0 Then _GDIPlus_GraphicsDrawLine($backbuffer,(($x - 2) * 12) + 65,(502 -(480 /(100 / $xarray[$x + $fifo][4])) - 2) * $ymult, _ EndIf Edited November 8, 2009 by JackDinn Thx all,Jack Dinn. JD's Auto Internet Speed Tester JD's Clip Catch (With Screen Shot Helper) Projects :- AutoIt - My projects My software never has bugs. It just develops random features. :-D Link to comment Share on other sites More sharing options...
JackDinn Posted November 8, 2009 Author Share Posted November 8, 2009 Ok well it looks like the problem is that i had remarks at the separation points ,Obfuscator just didn't like it so iv just moved them. all ok now. Thx all,Jack Dinn. JD's Auto Internet Speed Tester JD's Clip Catch (With Screen Shot Helper) Projects :- AutoIt - My projects My software never has bugs. It just develops random features. :-D Link to comment Share on other sites More sharing options...
Developers Jos Posted November 9, 2009 Developers Share Posted November 9, 2009 Which version are you using? 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. Link to comment Share on other sites More sharing options...
JackDinn Posted November 9, 2009 Author Share Posted November 9, 2009 Obfuscator ver 1.0.26.13 AI ver 3.3.0.0 yea i know i was unable to reproduce the problem in a test script either but here's a copy of the script that it happens in, DL it and have a go. im using /striponly & i have no idea what happens with any other switches. Thx all,Jack Dinn. JD's Auto Internet Speed Tester JD's Clip Catch (With Screen Shot Helper) Projects :- AutoIt - My projects My software never has bugs. It just develops random features. :-D Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now