ID:164406
 
Howdo i out a auto raniing system on my naruto game i want it so you get your rank ext. chuunin,jounin,anbu,and sannin auto when you get a pecific lvl plz tell me how
Uh, you program it in to your leveling system?
In response to GhostAnime
....

Dude.

if(src.level = 5)
src.rank == "genin"


And so on and so forth. If you are really desperate, than post your leveling system as long as it is not too big.
In response to GhostAnime
no i mean the code
In response to Yodamaster
mob
proc
Levelup()
if(src.exp>=src.max_exp)
src.level+=1
src.exp = 0
src.max_exp+=rand(1,50)
makeHunter()
makeJounin()
Skills()
src<<"<font size = 2><font color = blue>You leveled up!!"
src.taiexp+=rand(20,40)
src.taiup()
src.tai=src.Mtai
src.ninexp+=rand(20,40)
src.ninup()
src.nin=src.Mnin
src.genexp+=rand(20,40)
src.gen=src.Mgen
src.genup()
if(src.maxhealth<=1000000)
src.maxhealth+=rand(1,50)
else
usr<<"You have reached you Stam Cap."
if(src.Mchakra<=2600000)
src.Mchakra+=rand(1,50)
else
usr<<"You have reached you Chakra Cap."
taiup()
if(src.taiexp>=src.mtaiexp)
Skills()
makeHunter()
makeJounin()
src.mtaiexp += rand(20,30)
src.tailvl+=1
src.taiexp = 0
src.level+=1
src.Mtai+=rand(20,30)
src.tai=src.Mtai
src<<"<font size = 2>
<font color = green>Your Tai leveled up!!"
if(usr.rank=="Student")
if(usr.tai >= Scap)
usr<<"You have reached your Cap"
usr.tai = Scap
if(usr.rank=="Genin")
if(usr.tai >= Gcap)
usr<<"You have reached your Cap"
usr.tai = Gcap
if(usr.rank=="Genin")
if(usr.tai >= Gcap)
usr<<"You have reached your Cap"
usr.tai = Gcap
if(usr.rank=="Chunin")
if(usr.tai >= Ccap)
usr<<"You have reached your Cap"
usr.tai = Ccap
if(usr.rank=="Jonin")
if(usr.tai >= Jcap)
usr<<"You have reached your Cap"
usr.tai = Jcap
if(usr.rank=="ANBU")
if(usr.tai >= Acap)
usr<<"You have reached your Cap"
usr.tai = Acap

ninup()
if(src.ninexp>=src.mninexp)
makeHunter()
Skills()
makeJounin()
src.mninexp += rand(90,69)
src.ninexp = 0
src.Mnin+=rand(90,78)
src.level+=1
src.nin=src.Mnin
src<<"<font size = 2><font color = white>Your Nin leveled up!!"
if(usr.rank=="Student")
if(usr.nin >= Scap)
usr<<"You have reached your Cap"
usr.nin = Scap
if(usr.rank=="Genin")
if(usr.nin >= Gcap)
usr<<"You have reached your Cap"
usr.nin = Gcap
if(usr.rank=="Genin")
if(usr.nin >= Gcap)
usr<<"You have reached your Cap"
usr.nin = Gcap
if(usr.rank=="Chunin")
if(usr.nin >= Ccap)
usr<<"You have reached your Cap"
usr.nin = Ccap
if(usr.rank=="Jonin")
if(usr.nin >= Jcap)
usr<<"You have reached your Cap"
usr.nin = Jcap
if(usr.rank=="ANBU")
if(usr.nin >= Acap)
usr<<"You have reached your Cap"
usr.nin = Acap

genup()
if(src.genexp>=src.mgenexp)
makeHunter()
Skills()
makeJounin()
src.mgenexp += rand(90,70)
src.level+=1
src.genexp = 0
src.Mgen+=rand(80,60)
src.gen=src.Mgen
src<<"<font size = 2>
<font color = green>Your Gen leveled up!!"
if(usr.rank=="Student")
if(usr.gen >= Scap)
usr<<"You have reached your Cap"
usr.gen = Scap
if(usr.rank=="Genin")
if(usr.gen >= Gcap)
usr<<"You have reached your Cap"
usr.gen = Gcap
if(usr.rank=="Genin")
if(usr.gen >= Gcap)
usr<<"You have reached your Cap"
usr.gen = Gcap
if(usr.rank=="Chunin")
if(usr.gen >= Ccap)
usr<<"You have reached your Cap"
usr.gen = Ccap
if(usr.rank=="Jonin")
if(usr.gen >= Jcap)
usr<<"You have reached your Cap"
usr.gen = Jcap
if(usr.rank=="ANBU")
if(usr.gen >= Acap)
usr<<"You have reached your Cap"
usr.gen = Acap
In response to Nakagawasan
Okay, look. At the end of your leveling up proc you put

if(src.level == *Whatever Level*)
src.rank == Genin


So on and so fourth. If you don't get this than you need to learn more before making a game, my friend.
In response to Nakagawasan
There is no "THE" code, you can program anything in many different ways.

If you do not know how to program other than copying/pasting/modifying code, delete your rip, learn from the DM Guide and tutorials and start with smaller projects and work up. Otherwise, sooner or later, you'll be stuck where you are now, nowhere... plus a few months or so wasted.
In response to Yodamaster
Do u have msn if you do tellme it
In response to Yodamaster
Dude just put it on the code i posted do i can see how its done
In response to Nakagawasan
Nakagawasan wrote:
Dude just put it on the code i posted do i can see how its done

You're not gonna see how it's done. Heck, you won't even bother. Please check out tutorials.

Also, throw the source you have in a bin, and build your own. It looks HORRIBLE.