Structure of codes

Started by doomkaiber001, November 17, 2010, 07:24:33 PM

Previous topic - Next topic

Bully@Wiiplaza

Quote from: doomkaiber001 on November 20, 2010, 08:37:12 AM
Yeah sorry! I did mean that but it was late... Anyway, if you could help me with one other thing. What about multi-lined codes?

Sorry if I'm asking too much.

like this?

0525E9C6 00000007
0525E9F6 00000008
0525E9C6 00000009
0525E9A6 00000007
My Wii hacking site...
http://bullywiihacks.com/

My youtube account with a lot of hacking videos...
http://www.youtube.com/user/BullyWiiPlaza

~Bully

doomkaiber001


James0x57

It's just doing multiple things. Writing to change multiple values.


Multi line codes can do other things too- like comparisons, so it only writes on a condition.


doomkaiber001

Ok.

Blue Shell Speed Modifier MKW
048A5BC4 43960000
048A5C24 43960000
048A5C34 43960000

Why is the speed value being stored to three addresses?

Bully@Wiiplaza

Quote from: doomkaiber001 on November 21, 2010, 08:43:31 AM
Ok.

Blue Shell Speed Modifier MKW
048A5BC4 43960000
048A5C24 43960000
048A5C34 43960000

Why is the speed value being stored to three addresses?
maybe it´s only one of them which is needed and the hacker just took the 3, because he was too lazy to find out, which one works.
However, I think that this 3 lines are all needed... could happen.
My Wii hacking site...
http://bullywiihacks.com/

My youtube account with a lot of hacking videos...
http://www.youtube.com/user/BullyWiiPlaza

~Bully

doomkaiber001

Hold on... If they aren't needed, couldn't they be changing something important? And, if each line is needed, what exactly are they needed for? Similar codes (for both red and green shells) contain only one line of coding.

dcx2

That's just the way some hacks are.  For instance, Okami is a game where the main character can double jump.  I wrote a code that allowed you to "infinite jump" - you could keep double-jumping after the double-jump.

One would think this is as simple as nopping the stw that wrote the value that says "I have now double jumped", but it turned out I needed to modify no less than *six* places in order to make the code work without glitches.  If you modify only one, then the infinite double jump only works sometimes (i.e. when rising, but not falling).

Bully@Wiiplaza

yeah, the 3 lines are needed to make it always work.
MKWii is a bit weird in this case, you need more than jut one adress to make it working in every game mode.
Actually, it also works online, should be one of the purpoises. (this one is harmless anyway, because it won´t change the game play for others when the blue shell is only slower/faster for your screen xD)
My Wii hacking site...
http://bullywiihacks.com/

My youtube account with a lot of hacking videos...
http://www.youtube.com/user/BullyWiiPlaza

~Bully

doomkaiber001

So each address is for one game type?

James0x57

For this code, it *probably* has 3 addresses because:
one is modifying the X speed, one is the Y speed, and the other is the Z speed.