Re: Subroutine Tut For Nubs
Great tutorial immortal, it's great help.
Re: Subroutine Tut For Nubs
Np it all cause i love u guys =)
Re: Subroutine Tut For Nubs
wow i think im starting to understand how to use it, thanks great guide
Re: Subroutine Tut For Nubs
Np throw some rep my way then....
Re: Subroutine Tut For Nubs
FAIL, this almost as shitty as Xx958xX's first sub "guide." This isn't teaching ANYTHING!
lui t0 $XXXX
Loads the first 16Bits of your address +0880 and shifts it left 16Bits. you add one here because store word must use the negative rule.
lui t1 $XXXX
Loads the first 16Bits of your on value and shifts it left 16Bits. you add one here because ADDIU (NOT ORI, thats for nubs unless you know how ori really works!) uses the negative rule.
ADDIU t1 t1 $XXXX
Adds the last 16Bits of your on value to t1 and stores the result into t1.
t1 = t1 + Last 16Bits of on value
sw t1 $XXXX(t0)
Stores the contents of t1 to the last 16Bits of the address, it also stores t1 to the first 16Bits trough (t0)
jr ra
Returns the addresses (and values) back to the games original values, turning are subroutine off
j $XXXXXXXX
Jumps to the start of are subroutine, this is your hook and it keeps the subroutine on because of the jr ra's turning it off
You do NOT need the Negative rule with or immediate. You probably don't even know what ori dose.
I don't mean to bash you so much but you need to explain what the hell is going on! In the PSP community it is hard to find any one who knows the BASICS!
-FBD
Re: Subroutine Tut For Nubs
Dude ShutThe Fuck up this is just for the begginers like who started today... so go put a bannanna up your ass and sux a cock
Re: Subroutine Tut For Nubs
dont matter if u gunna teach teach the right way atleast u need to teach the 7fff rule / negative + you dont need to analyze for a simple sub routine, analyze would be for if you we looking for shit in ps2 dis... other wise its pretty much useless
~ DeToX
Re: Subroutine Tut For Nubs
thanks for reminding me about that.....
sorry for the bump
Re: Subroutine Tut For Nubs
idk i never use that template i use this one
lui t0 $[First Half Of Address + 1 If Second Half Is 8000 Or More]
lui t1 $[First half Of Value]
ori t1 t1 $[Second Half Of Value]
sw t1 $[Second Half Of Address](t0)
JR RA
and soem safe hooks that are good:
Safe HOOKS:
00000004
00000024
0000004C
00000098
idk but sometime when i do my sub they freeze. plz tell me what is wrong with this sub. i dont do to much sub b/c sometimes i do them wrong. plz tell me what is wrong in this sub i made and why does it freez in game.
real code:
#inf ammo
0x0006b554 0x00C52821
SUB:
#Inf ammo
;D1rty-Hacker/jony1
;Hook Address-Value
0x00008a0c 0x0a200027
0x0880009c 0x3c080886
0x088000a0 0x3c0900c5
0x088000a4 0x35292821
0x088000a8 0xad09b554
0x088000ac 0x03e00008