Achievement Unlocked 2
-migrated-
Achievement Unlocked 2 Posted on: 01/15/2011 4:44am
Quote Post
They did it... oh my god I hate them so much.
http://www.kongregate.com/games/ArmorGa ... unlocked-2

Quote
Description
This is a game about you.

Yes you, the player: A lowly blue elephant in a world that has no defining purpose. But you will create a purpose, and that purpose is to do the unthinkable. The extraordinary. The tasks that few have thought to achieve. The world you struggle in pushes back with tremendously nonsensical squares and launchers



Wysiwyg editors are utter shit.

Re: Achievement Unlocked 2 Posted on: 01/15/2011 5:26am
Quote Post
TIM the Enchanter
Level: 1
ADR Info
[badges=http://www.kongregate.com/games/ArmorGames/achievement-unlocked-2:12m4y68k]au2[/badges:12m4y68k]
It updates once a day to prevent being blocked.  (broken image removed)




Everything's coming up KongHack!

"When you know nothing matters, the universe is yours" ~Rick Sanchez

Re: Achievement Unlocked 2 Posted on: 01/15/2011 5:52am
Quote Post
I... totally don't understand this. Sothink shows the following.
Code: [Select]
//d0
_as3_getlocal <0>
//24 00
_as3_pushbyte 0
//68 94 06
_as3_initproperty count
However, when I search the swf for 24 00 68 using CE or Hex Workshop, I get no results. This is the first time I've seen something like this and it's very confusing. Oh... and I'm sure I'm on the right process with CE and opened the right file in HW.
Re: Achievement Unlocked 2 Posted on: 01/15/2011 6:27am
Quote Post
Quote from: "Usaio"
I... totally don't understand this. Sothink shows the following.
Code: [Select]
//d0
_as3_getlocal <0>
//24 00
_as3_pushbyte 0
//68 94 06
_as3_initproperty count
However, when I search the swf for 24 00 68 using CE or Hex Workshop, I get no results. This is the first time I've seen something like this and it's very confusing. Oh... and I'm sure I'm on the right process with CE and opened the right file in HW.

I cant get into it so I presume its encrypted, so I presume you decrypted it, so the code could have changed depending on the decryptor.
Re: Achievement Unlocked 2 Posted on: 01/15/2011 8:05am
Quote Post
Can be decrypted with SWF Decrypt.

I am able to find one instance of "68 94 06", but the bytes before that are not "24 00". Maybe some code got messed up during decryption, or decompiler is failing. This is AS3 so can have a look at it in Yogda.

Edit: You are referring to this.count = 0;  ?
Code: [Select]
       public function resetAll()
        {
            var _loc_1:int = 0;
            while (_loc_1 < this.achievements.length)
            {
               
                this.achievements[_loc_1].got = false;
                this.count = 0;
                _loc_1++;
            }
            return;
        }// end function

Also, gotta love this, lol.
Code: [Select]
//f1 ec 01
_as3_debugfile "/Users/John/Desktop/John Repository/trunk/AU2 Kong;;UIPanel.as"
Re: Achievement Unlocked 2 Posted on: 01/15/2011 8:18am
Quote Post
Code: [Select]
this.count = 0;
The only time this line appears is in the resetAll function in the Achievements AS. The lines I originally posted are from the decrypted file (from swf decrypt), but I opened this same file in Hex Workshop and can't find the bytes. This isn't an issue of something getting screwed up in the decryption. I don't know how I can find bytes in one program that aren't there in another. Since HW doesn't do any sort of processing, I can only assume it's Sothink that's screwing up. But I'm just back to wtf.

Edit: This seems to be happening for anything I search for in this file, which again makes no sense and makes me believe I have the wrong file open, but I've checked that so many times.
Re: Achievement Unlocked 2 Posted on: 01/15/2011 8:36am
Quote Post
Quote from: "Usaio"
Code: [Select]
this.count = 0;
The only time this line appears is in the resetAll function in the Achievements AS. The lines I originally posted are from the decrypted file (from swf decrypt), but I opened this same file in Hex Workshop and can't find the bytes. This isn't an issue of something getting screwed up in the decryption. I don't know how I can find bytes in one program that aren't there in another. Since HW doesn't do any sort of processing, I can only assume it's Sothink that's screwing up. But I'm just back to wtf.

Edit: This seems to be happening for anything I search for in this file, which again makes no sense and makes me believe I have the wrong file open, but I've checked that so many times.

Ops, edited my post before I noticed yours.

I can't see this code in HW either. But it shows in Yogda the same way it shows in the decompiler. Changing the file in Yodga, saving it, and then decompiling the saved file appears to gives correct results: count is set to a different value in the decompiler output.
Re: Achievement Unlocked 2 Posted on: 01/15/2011 9:04am
Quote Post
Ok, I just noticed something interesting.

Yogda decompiles the original and decrypted files differently. class Achievements, function resetAll()

In decrypted file:
Code: [Select]
Line: this.count = 0;

D0             getlocal0
24 00          pushbyte         0
68 94 06       initproperty     count


In original:
Code: [Select]
Line: this.count = 0;

D0             getlocal0
24 00          pushbyte         0
68 A4 08       initproperty     count

24 00 68 A4 08 can be found in CE. Looks like decrypting messes up cpool references?
Re: Achievement Unlocked 2 Posted on: 01/15/2011 10:31am
Quote Post
It doesn't normally, but let's give that a shot.

Edit: Strange that changing that line did nothing at all. Whatever... Give up on this one and did it legit. Not like you can lose anyway.
Re: Achievement Unlocked 2 Posted on: 01/15/2011 10:34am
Quote Post
Yes, decrypting changes C-pool references.

After decrypting and getting to the right part, go to the original swf, find the block of code you want changed, and change that. Don't even reference the decrypted swf, bytecode wise.
Re: Achievement Unlocked 2 Posted on: 01/15/2011 12:15pm
Quote Post
There is a "completed" sol from newgrounds (referenced in op) - is it still working for the kong version, since it appears the game got updated.



Wysiwyg editors are utter shit.

Re: Achievement Unlocked 2 Posted on: 01/15/2011 2:14pm
Quote Post
Never let a computer tell me shit.
no the sol wont work. stats only report DURING game....

[spoiler=High_Score_fail:1b78678m]FUCK I SUCK AT MATH !!!!! LOL 50 *50 == 250 LOL LOL OL OLOL

get 200 achievements badge when you start a new game change bold bit to 05 for 250
F0 82 02 60 F0 0F 2C B8 0D 66 C4 13 66 D1 13 2C D6 21 D1 10 05 00 00 55 FF FF FF 05 4F D2 13
F0 82 02 60 F0 0F 2C B8 0D 66 C4 13 66 D1 13 2C D6 21 24 32 24 04 A2 02 02 02 02 02 4F D2 13

dont need cash to buy the level pack things
F0 A3 0B D0 66 F8 09 D0 66 D2 09 D1 66 E7 13 0F 07 02 00
F0 A3 0B D0 66 F8 09 D0 66 D2 09 D1 66 E7 13 0F 00 00 00

[spoiler=rant:1b78678m]these AoBs could be considerably shorter but i really dont care because im not a massive faggot.



I use this AoB tool to make all the AoBs I post. Try the online version if you dont feel like downloading it.
"Obviously, windows are central to Windows. They are so important that they named the operating system after them. But what is a window?"

Re: Achievement Unlocked 2 Posted on: 01/15/2011 5:11pm
Quote Post
TIM the Enchanter
Level: 1
ADR Info
Quote from: "kolonelkadat"
no the sol wont work. stats only report DURING game....

[spoiler=High_Score_fail:37jkz8bk]FUCK I SUCK AT MATH !!!!! LOL 50 *50 == 250 LOL LOL OL OLOL

get 200 achievements badge when you start a new game change bold bit to 05 for 250
F0 82 02 60 F0 0F 2C B8 0D 66 C4 13 66 D1 13 2C D6 21 D1 10 05 00 00 55 FF FF FF 05 4F D2 13
F0 82 02 60 F0 0F 2C B8 0D 66 C4 13 66 D1 13 2C D6 21 24 32 24 04 A2 02 02 02 02 02 4F D2 13

[spoiler=rant:37jkz8bk]that AoB could be considerably shorter but i really dont care because im not a massive faggot.
[spoiler=response:37jkz8bk]The longer the better baby!




Everything's coming up KongHack!

"When you know nothing matters, the universe is yours" ~Rick Sanchez

Re: Achievement Unlocked 2 Posted on: 01/15/2011 10:55pm
Quote Post
Quote from: "kolonelkadat"
[spoiler=rant:b14xw11v]these AoBs could be considerably shorter but i really dont care because im not a massive faggot.
get 200 achievements badge when you start a new game change bold bit to 05 for 250
21 d1 10 05 00 00 55 FF FF FF 05
21 24 32 24 04 A2 02 02 02 02 02

dont need cash to buy the level pack things
13 0F 07 02
13 0F 00 00

[spoiler=admission:b14xw11v]Apparently I'm a massive faggot.
Re: Achievement Unlocked 2 Posted on: 01/16/2011 12:03am
Quote Post
Creamy Goodness.
Quote from: "Usaio"
[spoiler=admission:1ektw6ch]Apparently I'm a massive faggot.
[spoiler=Comforting feedback:1ektw6ch]Well, it's good you decided to come out of the closet. Congratulations, maybe one day you may find the man of your dreams.



lol idek why i still come here