Need some help with a pointer code

Started by darkadvice, May 11, 2011, 05:37:56 AM

Previous topic - Next topic

darkadvice

nop

dcx2

What game?

It looks like you forgot your bounds check.  You need a DE code to make sure that [807DCBDC] is a pointer.

Are you sure your pointer is valid?  Without applying the code, look at it in Memory Viewer with auto-update.  Then go do stuff; change to menus, change levels, etc, make sure the pointer isn't randomly changing.

darkadvice

#2
nop

dcx2

It's probably okay if you use the DE check.

Does it change in a glitchy way, or become random values?  Or does it just zero out?  If it zeroes out, then you're probably okay.  If it gets glitchy and has random garbage, then you should find another pointer, maybe even pointer-in-pointer.

Personally, I prefer ASM hooks to pointers, because you don't really need to test pointers then.

darkadvice

It zeros out everywhere else, but now it does not work lol.
Pointer in pointer I really have no clue how to make a code out of that, since all I can find is the simple stuff.
ASM I am working on learning I have notice some great advice for you in that area, still clueless but will keep on working on it.

Thank you for all your help, hoping to get better at this soon.

dcx2

Your original code was

48000000 807DCBDC 
14004BFC 42C80000
E0000000 80008000


Since you said [807DCBDC] was probably loaded with a MEM2 pointer, it seems like this is what you want

48000000 807DCBDC 
DE000000 90009350
14004BFC 42C80000
E0000000 80008000

darkadvice

#6
nop

dcx2

Let's say you had to go to

[[93441FAC]+4BFC]+1234

Use a 58010 code type to follow another pointer

48000000 93441FAC
DE000000 90009350
58010000 00004BFC
DE000000 90009350
14001234 42C80000
E0000000 80008000

darkadvice

Wow thank you so much the code and everything works, it crashes on the online selection which the IR accidentally hit but I do not play online so the code is perfect for me. I will have to practice pointer to pointer codes now too.
Thanks, I am so grateful for all your help.

dcx2

I'm glad it crashes online, otherwise I'd be upset that I helped someone make a wifi code.  I'm severely anti-wifi hacking.

darkadvice

#10
Quote from: dcx2 on May 11, 2011, 01:32:06 PM
I'm glad it crashes online, otherwise I'd be upset that I helped someone make a wifi code.  I'm severely anti-wifi hacking.
I am very much so against wifi codes also, in no way do I think it right to ruin a game that programmers spend months or years making for them and the players. I respect your stance, sorry if I made you skip a beat it was my way of saying I do not have a desire to hack Wifi. Is there a way to make sure the codes I make are offline exclusively?
Thanks for your help, I really do appreciate it


Edit: I found an ASM code that does not have any problems that does the same thing, I do not know if it is wifi compatible and not willing to find out, how could I make sure it is offline only? The ASM does have one problem if you look to the left fast with pointer it sticks to the middle but that is very rare, how would I debug it? I do not want to post the code unless I knew it was offline.

Bully@Wiiplaza

Time for my 2 cents! :p

- I´m 99% sure that the code is an inf. health for Conduit 2 (hehe that´s what you remember if you hack a lot of games)
- If you want to make your code offline only, then use a pointer code OR test your code online to make sure if it works or not...
that´s what I mostly do to prevent embarrassing fails when releasing codes (except if the code is totally weak, then I don´t really care)

I got another question:
If the pointer adress randomly changes and every result freezes when used, should I then try a pointer in pointer search to make it work?

My Wii hacking site...
http://bullywiihacks.com/

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

~Bully

James0x57

Quote from: darkadvice on May 11, 2011, 03:39:48 PM
Edit: I found an ASM code that does not have any problems that does the same thing, I do not know if it is wifi compatible and not willing to find out, how could I make sure it is offline only? The ASM does have one problem if you look to the left fast with pointer it sticks to the middle but that is very rare, how would I debug it? I do not want to post the code unless I knew it was offline.
Well.. the only sure way is to hop online and see if it's working. If it does work, just disconnect before someone realizes.
I released a "finish instantly" code for Mario Kart and completely forgot to check online.. and then it worked. =(
On the plus side though, it's an extremely boring code to use so I don't think many people grieved with it.


dcx2

ASM codes will almost always work online, unless the game loads a separate copy of pretty much the same ASM, or moves the ASM around.

That's why I just avoid hacking games with a wifi component altogether.

Bully@Wiiplaza

#14
Quote from: James0x57 on May 12, 2011, 01:47:22 PM
Quote from: darkadvice on May 11, 2011, 03:39:48 PM
Edit: I found an ASM code that does not have any problems that does the same thing, I do not know if it is wifi compatible and not willing to find out, how could I make sure it is offline only? The ASM does have one problem if you look to the left fast with pointer it sticks to the middle but that is very rare, how would I debug it? I do not want to post the code unless I knew it was offline.
Well.. the only sure way is to hop online and see if it's working. If it does work, just disconnect before someone realizes.
I released a "finish instantly" code for Mario Kart and completely forgot to check online.. and then it worked. =(
On the plus side though, it's an extremely boring code to use so I don't think many people grieved with it.
But the game notices that there´s something wrong and you´ll be disconnected after 30 seconds because none of the other players did even complete the first lap...
[[[Deleted information about advantageous wifi code(s) - James0x57]]]

@dcx2:
exactly! Almost all ASM will work online (same for Conduit 2 btw.) except for games with host lobby function like CoD or Goldeneye.
There, only specific things do work "non-host"

One of the differences I noticed was:
[[[Deleted information useful for easily re-hacking codes to work online - James0x57]]]
AND
CoD Games always use different adresses and ASM for it´s offline and online mode!

~Bully
My Wii hacking site...
http://bullywiihacks.com/

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

~Bully