Code:
Problem description:
I've been working on a game, i've updated it alot the past few times, i cannot figure out what to do to make log training faster then it is...Do i just put it under.
taiup()
if(src.taiexp>=src.mtaiexp)
Skills()
makeHunter()
makeJounin()
src.mtaiexp += rand(1,25)<----- there or under
src.tailvl+=1
src.taiexp = 0
src.level+=1
src.Mtai+=rand(1,20)<---There?
src.tai=src.Mtai
(this is not the full code there is the level up thing but it screwed with the post after it.)
Please i need an answer so i can update my game soon.
ID:140804
Sep 3 2009, 11:25 pm
|
|
Sep 4 2009, 4:22 am
|
|
No one will help a ripped game.
|
In response to Saucepan Man
|
|
Actually it's not ripped to the length that i know of, My friend gave it to me after i came back from my break and i'm new to coding. Not mapping or Iconning, i can make skins fairly well too.
|
In response to Needaler
|
|
You should probably ask your friend that (most likely didn't) made the source that he gave to you. Instead of coming to the forums first, you should ask someone who is more familiar with the code.
Of course, if you came to the forums after getting a negative response from your friend, you can safely assume he didn't make it. |
In response to Kaiochao
|
|
I kinda came straight to the forums because he wasn't on MSN and i am in need for that one aspect to make the update for my game.
|
In response to Needaler
|
|
The code you posted suggested the proc that is called when you level up your tai.
The code you are looking for would be under the Log with which you are training. That's where your experience is being raised. What you want to do is increase the amount it is being raised per hit. |
In response to Kaiochao
|
|
Okay. Thanks man, i needed just that little bit of info to finish it off.
|
Trying to work with somebody else's code is frustrating, teaches you bad habits, and results in people mocking you.
On the other hand, writing something from scratch is a good way to learn how to program, is much easier in the long run, is more satisfying, and people will respect you for it. http://www.byond.com/developer/articles/start |