Well, what I've done is create an entire list. Instead of using the normal EXP == MEXP. :U
So, how would I do this? :/
ID:160634
Aug 7 2008, 8:15 pm
|
|
Aug 7 2008, 8:44 pm (Edited on Aug 7 2008, 8:52 pm)
|
|
Stereo wrote:
|
In response to Mobius Evalon
|
|
Here is the exp table used in ragnarok Written in DM
mob Supports up to level 1000 to check if your exp is equal to whatever is on the list just do
if(src.exp >= src.Exptable[src.level])
change src.level to whatever the variable you use to store levels Basically, just make a list with a bunch of values. Hope this helps Ragnarok online uses this method, But i wouldnt see the reason why you would use this method, When you can write a formula or something |
In response to Max Omega
|
|
mexp = mexp ** 2 |
In response to Max Omega
|
|
Wow, what a facetious use of ten kilobytes.
I agree with Max, a formula is a far better method of handling this. Max Omega wrote: Here is the exp table used in ragnarok Written in DM > mob Supports up to level 1000 |
In response to Max Omega
|
|
after looking at the list again. I think it only goes up to level 255. Even tho eathena said it was 1000. Anyways. This isn't a smart idea and i would advise using a formula or some sort.
|
In response to Axerob
|
|
Axerob wrote:
mexp = mexp ** 2 The way you suggested it makes it a lot easier on his part :P |
In response to Yash 69
|
|
Yeah, I was thinking of going with that, Rob, but I don't want to make my game a GRIND-HARD OMFG CAN'T LEVEL game.
I'm just trying to make a casual game. :/ (If you saw my EXP List, you'd see why. I just don't feel like getting on my laptop right now.) *Edit* Couldn't I do something like: mob/proc ... And so on. Just add it after the LevelUp proc? |
In response to Stereo
|
|
Thats just dumb >_> just multiply or give random exp each level and save some time, or if you want to go advanced go add factors and math equations to determine max exp
|
In response to Yash 69
|
|
That's just it.
I have no idea how to get the MEXP I want. I'm willing to put as much time into this as possible. Even if it calls for me making mexp for every single level. (will go upto 99. :I) |
In response to Stereo
|
|
mob |
In response to Stereo
|
|
As i said before. Make a list with 99 values.
Example
var/list/Exptable = list(put 99 values here)
To access what value that coresponds to what level you are Do
if(exp >= Exptable[usr.level])
If your level 9, then it will look for the ninth value in the list to check. Its easier than what your doing. |
In response to Max Omega
|
|
Max Omega wrote:
As i said before. Make a list with 99 values. This is the worst way to do that. Making a simple formula will work faster (development wise) and be easier to change, not to mention the memory savings. George Gough |
In response to KodeNerd
|
|
I know its the worst what to do it. Thats why i Advised him using a formula in my first post. But Stereo wants it this way. So i explained to him how to do it.
|
In response to Stereo
|
|
Do you know math?
|
In response to Stereo
|
|
If you really NEED complete control over ever level's maximum experience (aka, "experience to next level"), you would be best off using a list containing X entries (maxmimum level), unless you can figure the formula for what you want that is.
But you most likely don't really NEED it. mob You can mess around with those two numbers (7, 15) until you get what you want. That one was pretty close to the Ragnarok level system though, although it's pretty early so I don't really feel like thinking about it. |