Last edited by Emerica; 01-08-14 at 04:28 PM.
Your program is pretty good, I also did a similar one.
This is an example output: http://pastebin.com/1hTs7X74
Is programmed in Java
I posted an updated version on GitHub. There is only one issue (Posted here: https://github.com/EmGeneer/Updater/issues)
The version on Git is more clean. Maybe someone can fix the duplicate error
Finally fixed the duplicate error. The structure finder seems to work without bugs now. I'll push the update now on Git.. :=)
Still don't know how to get Habbo_script.txt , I had download AS3 Sorcerer .
Later I'll set this on Git. I implemented the Levenshtein algorithm to compare the old structure with the new one.
And it compares the old parse method with the new one.
There is still a lot todo.
Last edited by Emerica; 02-08-14 at 12:12 PM.
http://en.wikipedia.org/wiki/Levenshtein_distance
It is an algorithm to get the difference count from two strings. So there is some work left you have to do yourself :)
But I'm working on this. I have some problems with comparing a whole method.
But in my tests it updates 3/4 headers :)
Here is an example for a structure like "S,S"
There is only one match with 0 difference, so this is the packet..
![]()
Last edited by Emerica; 02-08-14 at 12:27 PM.