So me and matt(mathewthe2) decided to try making an AS3 Variable Scanner/Editor.
This program will scan for and display variables, object types, and instance names complete with variable values belonging in the document class of the swf file only.
You can explore deeper levels of the hierarchy chain of variables by entering it in the search box. If no value is specified, it will scan for all variables in the document class (or root, a more common term for as2 users).
Right now exploration down the hierarchy chain is NOT automated and you have to enter the terms manually to travel down the chain.
Currently you can go any number of levels deep, down the hierarchy chain.
As I said this is a work in progress and if you want to help please post here.
Instructions:
Open Program.
Click - Scan Variables
Save variables.txt to somewhere on your harddrive.
Enter a variable name in the variable name box.
Enter your new variable value in the variable value box.
Own the game.
Examples:
Set the variable 'curLevel' in bloonstd3 to a higher number to skip levels
Coming Soon:
Search other classes.
Automated exploration of variables that are objects.
Ability to load xml file with edited values to change all variables at once.
Attached is the var scanner permanently tied to an AS3 game Bloons Tower Defence 3.
After more stable releases, I will release the var scanner as a separate program.
Right now it is confirmed that it works for Bloons Tower Defence 3.
Re: [Work in Progress] AS3 Variable Scanner/Editor
I will try to put the contents of the vars in a textbox/seperate panel. During my testing I found out that writing the variables to the output panel or routing it to a text box really lagged the app.
I was thinking I might be able to send the data over to another textbox in another swf so it doesn't lag the main app.
Matt has also suggested making the app be able to read the files generated and replace the edited vars. I think I will be able to do this and hope to implement it in a later version.
Re: [Work in Progress] AS3 Variable Scanner/Editor
Manhunt, before we start another fight, the rules are you do not bump old topics. If he wants to know how it is doing then he should post a new thread in general discussion.