Log in

I forgot my password

Latest topics
» Could someone point me to a sprite rotation tutorial, please?
Mon Feb 18, 2013 6:53 pm by sckuz254

» RR archive 2
Sun Dec 02, 2012 4:20 pm by losdelsur16

» [ULUS-10310]MoHH2 Uni Instant NukeBoom
Tue Jul 12, 2011 6:52 pm by m33masterBad

» Some vip releases and more
Tue Jul 12, 2011 6:47 pm by m33masterBad

» Mohh2 no fog code.
Tue Jul 12, 2011 6:42 pm by m33masterBad

» instant nade guide
Tue Jul 12, 2011 6:31 pm by m33masterBad

» m33masterBad's Here
Sat Jul 02, 2011 5:35 pm by m33masterBad

» How to teach yourself and try and make templates
Sat Nov 13, 2010 4:56 pm by Jordan

» Making Universal Weapon Mods, Find Weapon Value
Thu Oct 07, 2010 4:02 am by mafiafran

» [ULUS-10141] Jokered Flash Sprint (My first Joker)
Thu Oct 07, 2010 4:02 am by mafiafran

» INF PMNS AND CLAYMORES
Thu Oct 07, 2010 4:02 am by mafiafran

» im back
Wed Aug 18, 2010 12:42 pm by SXYxJeff

» ADMIN APPLICATION
Fri Jul 30, 2010 7:48 pm by NiekTSK

» Ps2dis begginers guide - how to make a basic subroutine
Fri Jul 23, 2010 4:02 pm by pspguy1234290

» Hey
Mon Jul 19, 2010 3:29 pm by SXYxJeff

Top posters
Nick (454)
 
MJKT (419)
 
RappY (318)
 
tHaTdiRTykID (232)
 
CrAzY Gamer (194)
 
XxMIRAGExX (135)
 
EEL007 (128)
 
NiekTSK (124)
 
Battle Star (105)
 
TYLER108 (99)
 

Who is online?
In total there are 2 users online :: 0 Registered, 0 Hidden and 2 Guests

None

[ View the whole list ]


Most users ever online was 95 on Tue Aug 01, 2017 7:44 pm

Step by Step guide for an Auto Increment

Go down

Step by Step guide for an Auto Increment

Post by _.TPain._ on Sat Jun 13, 2009 10:08 am

Brought to you by,
_.TPain._

lui t0, $First half of code address.
lw t1, $Second half of code address.(t0)
addiu t2, zero, $Ammount to inc by
add/sub t3, t1, t2 //add for inc, sub for dec
sw t3, $Second half of code address.(t0)
jr ra

Open ps2dis

Load your ram and load from 08e800000

Now pick your code and take the address and 08800000 to it

Now we are ready for the template

1. lui t0, $First half of code address.

Divide your code in real addressing in half

Now click on the first line and in the commands type in
lui t0, $ <---------

In the $ , type in your first have of your code


2.lw t1, $Second half of code address.(t0)

Now click on the next line and in the commands type in
lw t1, $ (t0)

in the $, type in the second half of your code in real addressing
and after that (t0)

3.addiu t2, zero, $Ammount to inc by

Click on the 3rd and in the commands type in addiu t2, zero, $
and in the $ type in the speed you want to increment by. I use 0020.

4.add/sub t3, t1, t2 //add for inc, sub for dec

Click on the next line and in the commands this is what you have to do.
If you want the speed to increase, type in add t3, t1, t2 but if you want
the speed to decrease, type in sub t3, t1, t2

5.sw t3, $Second half of code address.(t0)

Click on the next line and type in sw t3, $ and in the $ type in the second half of your
code address in real addressing. Then after that type in (t0) after the second half of the
code address.

6.jr ra

Now click on the next line and type in jr ra and you are done with your sub almost.

All you need to do now is add a hook to it.

Congratulations! You have made an increment!!!
If you need any help, please post here or pm me.

_.TPain._
Member

Posts : 10
Join date : 2009-04-26

Back to top Go down

Re: Step by Step guide for an Auto Increment

Post by MJKT on Sat Jun 13, 2009 10:15 am

Nice Guide Razz

_________________






here to help Razz

Mohh2 ID : iMJKT
avatar
MJKT
Admin

Posts : 419
Join date : 2009-04-25
Age : 23
Location : The UK

http://pspcoding.darkbb.com

Back to top Go down

Re: Step by Step guide for an Auto Increment

Post by _.TPain._ on Sat Jun 13, 2009 10:17 am

Thanks

_.TPain._
Member

Posts : 10
Join date : 2009-04-26

Back to top Go down

Re: Step by Step guide for an Auto Increment

Post by -x.jJ4R.iiSH.x- on Mon Oct 19, 2009 2:49 pm

im such a noob lol can u just give me a little bit of details about what this does and what it is? Please thnx Razz
avatar
-x.jJ4R.iiSH.x-
Member

Posts : 3
Join date : 2009-10-19

Back to top Go down

Re: Step by Step guide for an Auto Increment

Post by DragonZero on Mon Feb 15, 2010 6:58 am

cool nice guide ive made a code of it Wink
avatar
DragonZero
Junior Member

Posts : 52
Join date : 2009-09-02
Location : ON MOHH2

http://gamingblood.darkbb.com

Back to top Go down

Re: Step by Step guide for an Auto Increment

Post by SXYxJeff on Thu Feb 18, 2010 10:43 pm

MJKT like wht would this do i know it increase values but i dnt understand what vallues, like to eht kind of code?
avatar
SXYxJeff
Member

Posts : 45
Join date : 2009-12-29

Back to top Go down

Re: Step by Step guide for an Auto Increment

Post by MJKT on Sun Feb 21, 2010 2:07 pm

SXYxJeff wrote:MJKT like wht would this do i know it increase values but i dnt understand what vallues, like to eht kind of code?

If you had a money code and you put it into a increase sub - then when you enable it

the money will keep increasing and increasing automatically Razz

_________________






here to help Razz

Mohh2 ID : iMJKT
avatar
MJKT
Admin

Posts : 419
Join date : 2009-04-25
Age : 23
Location : The UK

http://pspcoding.darkbb.com

Back to top Go down

Re: Step by Step guide for an Auto Increment

Post by SXYxJeff on Sun Feb 21, 2010 8:12 pm

oh lol i though it was more compliucated then it realy was
so wut if its amoo or height dose it work same way?
avatar
SXYxJeff
Member

Posts : 45
Join date : 2009-12-29

Back to top Go down

Re: Step by Step guide for an Auto Increment

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum