Skilled Illusionist
- Joined
- Oct 19, 2010
- Messages
- 391
- Reaction score
- 70
Hey,
I don't know if this is usefull for someone.
This is a little program for getting the structures out of the SWF.
I'll release it open source, because it's still a little bit buggy with getting loops or new objects.
Hopefully someone can go further with thistt1:
This isn't really great code, I made this in 1 hour..
(To download the latest version go to the git:
Download:
------------------------------------------------------------------------------------------------------- UPDATED
-Emerica
I don't know if this is usefull for someone.
This is a little program for getting the structures out of the SWF.
I'll release it open source, because it's still a little bit buggy with getting loops or new objects.
Hopefully someone can go further with thistt1:
PHP:
internal void FillHeader()
{
var Operation = Parallel.ForEach(Lines, (line, option) =>
{
bool match = Regex.IsMatch(line, "\\[[0-9]*\\]");
if (match && line.Contains(Program.ComposerNamespace))
{
try
{
line = line.Replace(" ", "");
int Header = int.Parse(line.Split('[')[1].Split(']')[0]);
string Class = line.Split('=')[1].Split(';')[0];
if (Header > 0 && Class != String.Empty)
{
HeaderWithClasses.Add(Header, Class);
}
}
catch{ }
}
});
if (Operation.IsCompleted)
{
Console.WriteLine("Found {0} headers to work with..", HeaderWithClasses.Count);
}
}
This isn't really great code, I made this in 1 hour..
(To download the latest version go to the git:
You must be registered to see links
)Download:
You must be registered to see links
Quick fix for the XMLConverter:
You must be registered to see links
just place a habbo_scripts file into the debug folder, change some const vars in the program class and thats it tt1:
You need to find out the namespace for messages in your file. Should look like this:
------------------------------------------------------------------------------------------------------- UPDATED
You must be registered to see links
I added the automatic detection for the function names
-Emerica
Last edited: