Snake
-migrated-
Re: Snake Posted on: 12/12/2010 12:41pm
Quote Post
Quote from: "atsay714"
Would anyone care to explain?

I won't go through with how he downloaded it, that's pretty basic.

Code: [Select]
           score = (w - (e = e - 5) - 2) * 2 - 8;
            MindJoltAPI.service.submitScore(score);
Code: [Select]
  //96 04 00 08 2f 08 27
   _push "score" "w"
   //1c
   _getVariable
   //96 04 00 08 29 08 29
   _push "e" "e"
   //1c
   _getVariable
   //96 05 00 07 05 00 00 00
   _push 5
   //0b
   _subtract
   //87 01 00 00
   _storeRegister 0
   //1d
   _setVariable
   //96 02 00 04 00
   _push register0
   //0b
   _subtract
   //96 05 00 07 02 00 00 00
   _push 2
   //0b
   _subtract
   //96 05 00 07 02 00 00 00
   _push 2
   //0c
   _multiply
   //96 05 00 07 08 00 00 00
   _push 8
   //0b
   _subtract
   //1d
   _setVariable
   //96 02 00 08 2f
   _push "score"
   //1c
   _getVariable
   //96 07 00 07 01 00 00 00 08 01
   _push 1 "MindJoltAPI"
   //1c
   _getVariable
   //96 02 00 08 12
   _push "service"
   //4e
   _getMember
   //96 02 00 08 30
   _push "submitScore"

We want to set the score to a much higher value. Therefore, we are going to change the last part of the score calculations ([...] - (broken image removed).
How about, we change the - to a +, and the 8 to a really big number? That'll work.

After painful (sarcasm of course) searchings, we can deduce that the following lines:
Code: [Select]
  //96 05 00 07 08 00 00 00
   _push 8
   //0b
   _subtract
Are the ones related to the 8 and the minus.

no_ninjas wanted to change it to 992; so let's do that. He found out that 992 in Hex is 3e0. Now, look at 07 08 00 00 00 . 07 means that we are pushing an integer, and the 08 00 00 00 is the integer we are pushing in reverse order (meaning, last byte is first, making it 00 00 00 08).
So, 992 will be 00 00 03 e0. When we reverse it, it becomes e0 03 00 00.

Let's see what we have so far. We found out that we'll switch
96 05 00 07 08 00 00 00 with
96 05 00 07 e0 03 00 00

Now, according to plan, we will change the subtract to add. Looking around, we find out that the AS2 opcode to addition is 0a. That was easy.

Finally, we have our AoB:
96 05 00 07 08 00 00 00 0b =>
96 05 00 07 e0 03 00 00 0a

Hope this clears it up.

Just for general knowledge, in case this comes in handy one time:
The largest integer (plain old int; not long, unsigned, static etc) is 2147483647. In Hex, that is 7F FF FF FF.
Re: Snake Posted on: 12/12/2010 11:31pm
Quote Post
Quote from: "brasdzs"
atsay714,

1st. i dont like you, *glares*, you seem impatient and seem to expect everyone else to do stuff for you and only wish to learn so you can go "ha! i know how to hack"

2nd. try looking, i would never, ever, post in a forum and embarrass myself without first exausting all my energy looking first

3rd. well despite it being obvious, did you try the tutorial section or more specifically the intro into bytecode hacking: http://forum.kongregatehack.com/viewtopic.php?f=30&t=2104 and the bytecode tutorial , or am i going to have to add another reason to my "i dont like you list"

4th. i also highly suggest you read the rules and use your common sense allthough it doesn't say it, don't double post especially when its barely been a day, some people dont come on everyday, only me and phreneticus stay on here non-stop, everyone else has a life   (broken image removed)

congratulations you learnt something *claps*

Sorry brasdzs =( I won't do it again and I'll try harder next time
Re: Snake Posted on: 12/14/2010 2:22pm
Quote Post
Hey guys I am a newbie no question about that.  I acquired the swf from the most recent version of mindjolt snake and it looks like its version 9.  "96 05 00 07 08 00 00 00 0b"  I tried searching that aob on cheat engine and it was not found.  I was wondering if I had to amend the "96 05 00 07 08 00 00 00" and the "0b" seperately?
Re: Snake Posted on: 12/14/2010 7:53pm
Quote Post
Quote from: "jjreddick12345"
Hey guys I am a newbie no question about that.  I acquired the swf from the most recent version of mindjolt snake and it looks like its version 9.  "96 05 00 07 08 00 00 00 0b"  I tried searching that aob on cheat engine and it was not found.  I was wondering if I had to amend the "96 05 00 07 08 00 00 00" and the "0b" seperately?

why did you download the swf if you just want to use an aob?,
and no we post the aob how it needs to be used if its not found then either the games been updated or your using the wrong process.

the thought just crossed my mind, are you trying to make a trainer?

please explain what you mean.
Re: Snake Posted on: 12/15/2010 3:53am
Quote Post
Well, I didn't exactly learn anything new by joining this forum...no, wait..I did learn something.  I learned that 'hackers' have this elitist attitude when all they're doing is messing with flash games.

I actually joined to post the exact process involved for 'hacking' data worm, but alas, there was just way too much BS there with people thinking they're somehow awesome by doing this and not telling others specifically how to achieve this as if the knowledge is somehow sacred.

If I still have an account after this, I think I'll be the guy that's actually kind to others and helps them when they need it.  This is the only rant you'll see from me...on my first post.

 :lol:
Re: Snake Posted on: 12/15/2010 4:06am
Quote Post
( ͡° ͜ʖ ͡°)
Oh don't mind the guy above you zafada.

Quote from: "jjreddick12345"
Hey guys I am a newbie no question about that. I acquired the swf from the most recent version of mindjolt snake and it looks like its version 9. "96 05 00 07 08 00 00 00 0b" I tried searching that aob on cheat engine and it was not found. I was wondering if I had to amend the "96 05 00 07 08 00 00 00" and the "0b" seperately?
Yes you do, 0b is a separate array from 96 05 00 07 08 00, 0b should be below 96 05 00 07 08 00 in the swf.



Flash .sol locations
Chrome: \AppData\Local\Google\Chrome\User Data\Default\Pepper Data\Shockwave Flash\WritableRoot\#SharedObjects\
Normal: \AppData\Roaming\Macromedia\Flash Player\#SharedObjects

Re: Snake Posted on: 12/15/2010 5:09am
Quote Post
Quote from: "Zirak"
Quote from: "atsay714"
Would anyone care to explain?
After painful (sarcasm of course) searchings, we can deduce that the following lines:
Code: [Select]
  //96 05 00 07 08 00 00 00
   _push 8
   //0b
   _subtract
Are the ones related to the 8 and the minus.

Yeah that was pretty much it.  You don't really even have to understand what "push" means, just notice that there is only one instruction involving 8 anywhere in this section of the code.  There are a bunch of subtracts, and it may seem a little weird that the crucial subtract is listed after the 8, but all the other subtracts are farther away.
Re: Snake Posted on: 12/15/2010 2:28pm
Quote Post
Quote from: "no_ninjas"
Quote from: "Zirak"
Quote from: "atsay714"
Would anyone care to explain?
After painful (sarcasm of course) searchings, we can deduce that the following lines:
Code: [Select]
  //96 05 00 07 08 00 00 00
   _push 8
   //0b
   _subtract
Are the ones related to the 8 and the minus.

Yeah that was pretty much it.  You don't really even have to understand what "push" means, just notice that there is only one instruction involving 8 anywhere in this section of the code.  There are a bunch of subtracts, and it may seem a little weird that the crucial subtract is listed after the 8, but all the other subtracts are farther away.

In AS, the mathematical functions are written differently than what we're used to.

Let's say we want to subtract 5 from 8. Normally, we would write this:
8 - 5
But in AS, you instead push 8, then push 5, then subtract, looking like this:
8 5 -

Makes sense after you get used to it, verbally that is. Let's say we want to speak out (2 * 5) / 2. In writing, we can understand that we divide 2*5 by 2, but verbally, we have to make sure everybody knows we're dividing everything by 2, and not just the 5. Not that in this case it matters of course, but you get the point.
Re: Snake Posted on: 01/03/2011 10:51pm
Quote Post
Quote from: "Zirak"
Quote from: "atsay714"
Would anyone care to explain?

I won't go through with how he downloaded it, that's pretty basic.

Code: [Select]
           score = (w - (e = e - 5) - 2) * 2 - 8;
            MindJoltAPI.service.submitScore(score);
Code: [Select]
  //96 04 00 08 2f 08 27
   _push "score" "w"
   //1c
   _getVariable
   //96 04 00 08 29 08 29
   _push "e" "e"
   //1c
   _getVariable
   //96 05 00 07 05 00 00 00
   _push 5
   //0b
   _subtract
   //87 01 00 00
   _storeRegister 0
   //1d
   _setVariable
   //96 02 00 04 00
   _push register0
   //0b
   _subtract
   //96 05 00 07 02 00 00 00
   _push 2
   //0b
   _subtract
   //96 05 00 07 02 00 00 00
   _push 2
   //0c
   _multiply
   //96 05 00 07 08 00 00 00
   _push 8
   //0b
   _subtract
   //1d
   _setVariable
   //96 02 00 08 2f
   _push "score"
   //1c
   _getVariable
   //96 07 00 07 01 00 00 00 08 01
   _push 1 "MindJoltAPI"
   //1c
   _getVariable
   //96 02 00 08 12
   _push "service"
   //4e
   _getMember
   //96 02 00 08 30
   _push "submitScore"

We want to set the score to a much higher value. Therefore, we are going to change the last part of the score calculations ([...] - (broken image removed).
How about, we change the - to a +, and the 8 to a really big number? That'll work.

After painful (sarcasm of course) searchings, we can deduce that the following lines:
Code: [Select]
  //96 05 00 07 08 00 00 00
   _push 8
   //0b
   _subtract
Are the ones related to the 8 and the minus.

no_ninjas wanted to change it to 992; so let's do that. He found out that 992 in Hex is 3e0. Now, look at 07 08 00 00 00 . 07 means that we are pushing an integer, and the 08 00 00 00 is the integer we are pushing in reverse order (meaning, last byte is first, making it 00 00 00 08).
So, 992 will be 00 00 03 e0. When we reverse it, it becomes e0 03 00 00.

Let's see what we have so far. We found out that we'll switch
96 05 00 07 08 00 00 00 with
96 05 00 07 e0 03 00 00

Now, according to plan, we will change the subtract to add. Looking around, we find out that the AS2 opcode to addition is 0a. That was easy.

Finally, we have our AoB:
96 05 00 07 08 00 00 00 0b =>
96 05 00 07 e0 03 00 00 0a

Hope this clears it up.

Just for general knowledge, in case this comes in handy one time:
The largest integer (plain old int; not long, unsigned, static etc) is 2147483647. In Hex, that is 7F FF FF FF.


I was reading through this and I noticed something.  If 0A is addition and 0B is subtraction then do multiplication and division logically follow?

If
96 05 00 07 08 00 00 00 0b =>
96 05 00 07 7F FF 00 00 0a

Then the score is 65415

If
96 05 00 07 08 00 00 00 0b =>
96 05 00 07 7F FF 00 00 0c

Then the score is 523256

So I assume that:
0A = +
0B = -
0C = *
And if you want a hilariously low decimal score
0D = /
Re: Snake Posted on: 01/04/2011 2:51am
Quote Post
Thanks guys this is my first time using SoThink and AoBs. But I got this working on the snake game on facebook! thanks very much

Ive changed some other numbers to get the score even higher and im now #1 in the world for all time having 4 digits more than the person in second : )

Quote from: "emh593"
I was reading through this and I noticed something.  If 0A is addition and 0B is subtraction then do multiplication and division logically follow?

If
96 05 00 07 08 00 00 00 0b =>
96 05 00 07 7F FF 00 00 0a

Then the score is 65415

If
96 05 00 07 08 00 00 00 0b =>
96 05 00 07 7F FF 00 00 0c

Then the score is 523256

So I assume that:
0A = +
0B = -
0C = *
And if you want a hilariously low decimal score
0D = /

Yeah, I've been using 0c in mine and it works as a multiplier
Re: Snake Posted on: 01/04/2011 5:44am
Quote Post
Vitality what numbers did you change?
Re: Snake Posted on: 01/04/2011 6:50am
Quote Post
Quote from: "wolfclan"
Vitality what numbers did you change?

Well I will tell you that I changed
96 05 00 07 08 00 00 00 0b

to the highest it can possibly go along with some other tweaking inside of there.

And I changed a few other AoB's that would make my score become higher.
But you should try it on your own to figure those ones out  (broken image removed)
Re: Snake Posted on: 01/04/2011 7:14am
Quote Post
Quote from: "Vitality"

Well I will tell you that I changed
96 05 00 07 08 00 00 00 0b

to the highest it can possibly go along with some other tweaking inside of there.

And I changed a few other AoB's that would make my score become higher.
But you should try it on your own to figure those ones out  (broken image removed)

Damn you bumped me to 4th.  I don't suppose you want to hint at what other AoB's you used?
Edit: Never mind, figured it out  :ugeek:
Re: Snake Posted on: 01/04/2011 7:26am
Quote Post
Quote from: "emh593"
Quote from: "Vitality"

Well I will tell you that I changed
96 05 00 07 08 00 00 00 0b

to the highest it can possibly go along with some other tweaking inside of there.

And I changed a few other AoB's that would make my score become higher.
But you should try it on your own to figure those ones out  (broken image removed)

Damn you bumped me to 4th.  I don't suppose you want to hint at what other AoB's you used?


no other aobs he just changed the aob that he said he changed, as for a hint, read the whole of this post *cough*especially the bottom*cough* :

[spoiler=long quote :hai67f52]
Quote from: "Zirak"
Quote from: "atsay714"
Would anyone care to explain?

I won't go through with how he downloaded it, that's pretty basic.

Code: [Select]
           score = (w - (e = e - 5) - 2) * 2 - 8;
            MindJoltAPI.service.submitScore(score);
Code: [Select]
  //96 04 00 08 2f 08 27
   _push "score" "w"
   //1c
   _getVariable
   //96 04 00 08 29 08 29
   _push "e" "e"
   //1c
   _getVariable
   //96 05 00 07 05 00 00 00
   _push 5
   //0b
   _subtract
   //87 01 00 00
   _storeRegister 0
   //1d
   _setVariable
   //96 02 00 04 00
   _push register0
   //0b
   _subtract
   //96 05 00 07 02 00 00 00
   _push 2
   //0b
   _subtract
   //96 05 00 07 02 00 00 00
   _push 2
   //0c
   _multiply
   //96 05 00 07 08 00 00 00
   _push 8
   //0b
   _subtract
   //1d
   _setVariable
   //96 02 00 08 2f
   _push "score"
   //1c
   _getVariable
   //96 07 00 07 01 00 00 00 08 01
   _push 1 "MindJoltAPI"
   //1c
   _getVariable
   //96 02 00 08 12
   _push "service"
   //4e
   _getMember
   //96 02 00 08 30
   _push "submitScore"

We want to set the score to a much higher value. Therefore, we are going to change the last part of the score calculations ([...] - 8).
How about, we change the - to a +, and the 8 to a really big number? That'll work.

After painful (sarcasm of course) searchings, we can deduce that the following lines:
Code: [Select]
  //96 05 00 07 08 00 00 00
   _push 8
   //0b
   _subtract
Are the ones related to the 8 and the minus.

no_ninjas wanted to change it to 992; so let's do that. He found out that 992 in Hex is 3e0. Now, look at 07 08 00 00 00 . 07 means that we are pushing an integer, and the 08 00 00 00 is the integer we are pushing in reverse order (meaning, last byte is first, making it 00 00 00 08).
So, 992 will be 00 00 03 e0. When we reverse it, it becomes e0 03 00 00.

Let's see what we have so far. We found out that we'll switch
96 05 00 07 08 00 00 00 with
96 05 00 07 e0 03 00 00

Now, according to plan, we will change the subtract to add. Looking around, we find out that the AS2 opcode to addition is 0a. That was easy.

Finally, we have our AoB:
96 05 00 07 08 00 00 00 0b =>
96 05 00 07 e0 03 00 00 0a

Hope this clears it up.

Just for general knowledge, in case this comes in handy one time:
The largest integer (plain old int; not long, unsigned, static etc) is 2147483647. In Hex, that is 7F FF FF FF.
Re: Snake Posted on: 01/04/2011 9:35pm
Quote Post
Quote from: "Vitality"
And I changed a few other AoB's that would make my score become higher.

Um. Yes he did.
I figured it out anyway.