Dampe Posted February 10, 2009 Share Posted February 10, 2009 So some of you may have read a topic I posted not too long ago, about me losing source code to my media center server, I wanted to change the IP in the executable. I ended up running it through a decompiler, which seemed to work fine. I have the source, and I can make the changes I need even with the script still being obfuscated, only problem is, everytime I try to recompile / run I'm getting: C:\Documents and Settings\Dampe\Desktop\pvpTool\qweqiweq.au3 (20) : ==> Subscript used with non-Array variable.: GLOBAL $A0703C0220E= A130000015D($OS[1]), $A4403D04A3E= A130000015D($OS[2]), $A3003E04F4F= A130000015D($OS[3]), $A5D03F01C02= A130000015D($OS[4]), $A1913003C04= A130000015D($OS[5]), $A591310603D= A130000015D($OS[6]), $A3A1320403F= A130000015D($OS[7]), $A3813303C2C= A130000015D($OS[8]), $A2863603107= A130000015D($OS[74]), $A3363804029= A130000015D($OS[75]), $A0263A02D58= A130000015D($OS[76]), $A6063C0412D= A130000015D($OS[77]), $A3463E05135= A130000015D($OS[78]), $A1D7300345F= A130000015D($OS[79]), $A5673205835= A130000015D($OS[80]), $A5073404F39= A130000015D($OS[81]), $A1273601632= A130000015D($OS[82]), $A5C73800A22= A130000015D($OS[83]), $A0073A00303= A130000015D($OS[84]), $A2E73C03602= A130000015D($OS[85]), $A5F73E05B09= A130000015D($OS[86]), $A3083003C62= A130000015D($OS[87]), $A428320441B= A130000015D($OS[88]), $A0C83401F33= A130000015D($OS[89]), $A4883602147= A130000015D($OS[90]), $A5183804448= A130000015D($OS[91]), $A4783A03E2F= A130000015D($OS[92]), $A1383C00B3B= A130000015D($OS[93]), $A2383E02614= A130000015D($OS[94]), $A4D93005105= A130000015D($OS[95]), $A0193204418= A130000015D($OS[96]), $A2593400956= A130000015D($OS[97]), $A0E93604013= A130000015D($OS[98]), $A0093804841= A130000015D($OS[99]), $A0793A03946= A130000015D($OS[100]), $A5D93C00109= A130000015D($OS[101]), $A6393E00953= A130000015D($OS[102]), $A54A3001F0E= A130000015D($OS[103]), $A61A320064A= A130000015D($OS[104]), $A21A3402F47= A130000015D($OS[105]), $A48A3605859= A130000015D($OS[106]), $A3AA3802D0F= A130000015D($OS[107]), $A15A3A03B52= A130000015D($OS[108]), $A34A3C05C37= A130000015D($OS[109]), $A50A3E05A41= A130000015D($OS[110]), $A2BB3000107= A130000015D($OS[111]), $A00B3202634= A130000015D($OS[112]), $A37B3402002= A130000015D($OS[113]), $A10B3602942= A130000015D($OS[114]), $A41B380131A= A130000015D($OS[115]), $A50B3A00056= A130000015D($OS[116]), $A00B3C02312= A130000015D($OS[117]), $A02B3E00D0C= A130000015D($OS[118]), $A5CC3000D03= A130000015D($OS[119]), $A51C3202A11= A130000015D($OS[120]), $A1FC3400E1E= A130000015D($OS[121]) GLOBAL $A0703C0220E= A130000015D($OS^ ERROR Is this something to do with AutoIt version mismatch? I've upgraded a few times since I wrote the executable I guess.. Is there anything I can do to fix this? I can post the .au3.tbl file if needed. Thanks. Link to comment Share on other sites More sharing options...
A. Percy Posted February 10, 2009 Share Posted February 10, 2009 $OS isn't an array. Só o que posso lhe dizer, bom é quando faz mal!My work:Au3Irrlicht - Irrlicht for AutoItMsAgentLib - An UDF for MSAgentAu3GlPlugin T2 - A 3D plugin for AutoIt...OpenGl Plugin - The old version of Au3GlPlugin.MAC Address Changer - Changes the MAC AddressItCopter - A dragonfly R/C helicopter simulator VW Bug user Pinheiral (Pinewood) city: http://pt.wikipedia.org/wiki/Pinheiral Link to comment Share on other sites More sharing options...
Dampe Posted February 10, 2009 Author Share Posted February 10, 2009 $OS isn't an array.Thanks captain obvious. Link to comment Share on other sites More sharing options...
James Posted February 10, 2009 Share Posted February 10, 2009 Thanks captain obvious.If he's being so obvious, then don't ask such an obvious question. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 10, 2009 Moderators Share Posted February 10, 2009 So you ask the question here: http://www.autoitscript.com/forum/index.ph...c=88904&hl=Say you have it working, yet are asking the question again?The answer is ... no one knows without seeing your actual un-obfuscated example so it can be tested on. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
A. Percy Posted February 10, 2009 Share Posted February 10, 2009 Thanks captain obvious.E ainda tenho que ler isso... sem comentários. Só o que posso lhe dizer, bom é quando faz mal!My work:Au3Irrlicht - Irrlicht for AutoItMsAgentLib - An UDF for MSAgentAu3GlPlugin T2 - A 3D plugin for AutoIt...OpenGl Plugin - The old version of Au3GlPlugin.MAC Address Changer - Changes the MAC AddressItCopter - A dragonfly R/C helicopter simulator VW Bug user Pinheiral (Pinewood) city: http://pt.wikipedia.org/wiki/Pinheiral Link to comment Share on other sites More sharing options...
Developers Jos Posted February 10, 2009 Developers Share Posted February 10, 2009 (edited) mmm ... this time you are trying to run a decompiled version of your script? That will not work because the table is missing. Dont like to have these discussions in open forumas they lead to nothing else than questions I am not willing to answer... Click. Edited February 10, 2009 by 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...
Recommended Posts