• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Occupation Leveling + EXP System

Initiate Mage
Joined
May 8, 2009
Messages
2
Reaction score
0
Re: [Release] Occupation Leveling + EXP System

Ummm... I got 2 Questions... Maybe more later...

1- How do I make a Exp Table for Occupation without using... the Player's Exp?

2- How can I make the Occupation Exp gain Exp after killing a Monster? Random Chance Please. ( I guess it's in MapleMonster.java but I don't know where or even how. :( )

All the rest is Done for me. :D I think.
Thanks in Advance.
Tom.

[Edit001] By the way, Thanks for the... ... This Topic. :D
It really helped me. -Thanks-
[OffTopic]
Also... my Username is just Random...

[Edit002] Ummm... I might my solved my own Questions... but I am not sure.

For 1- Do I put it in ExpTable.java or in MapleCharacter.java?

2- I don't know yet... Maybe with Math.random()?
 
Last edited:
Joined
Feb 23, 2008
Messages
507
Reaction score
361
Re: [Release] Occupation Leveling + EXP System

Ummm... I got 2 Questions... Maybe more later...

1- How do I make a Exp Table for Occupation without using... the Player's Exp?

2- How can I make the Occupation Exp gain Exp after killing a Monster? Random Chance Please. ( I guess it's in MapleMonster.java but I don't know where or even how. :( )

All the rest is Done for me. :D I think.
Thanks in Advance.
Tom.


[Edit001] By the way, Thanks for the... ... This Topic. :D
It really helped me. -Thanks-
[OffTopic]
Also... my Username is just Random...

[Edit002] Ummm... I might my solved my own Questions... but I am not sure.

For 1- Do I put it in ExpTable.java or in MapleCharacter.java?

2- I don't know yet... Maybe with Math.random()?
To make a random number, here's the code :
PHP:
int rand = (int)(100.0 * Math.random()) + 1;
Meaning that random number will alternate between 1 - 100 randomly.
Also, go to MapleMonster.java and search for "PersonalExp". That's the method for EXP gain.
Also, to make your own ExpTable, make an array in the right class.(I forgot which class)
 
Last edited:
Initiate Mage
Joined
May 8, 2009
Messages
2
Reaction score
0
Re: [Release] Occupation Leveling + EXP System

What do you mean an Array in the right Class? Class?
I know what's an Array but what's a Class?

Also, I don't want to change the Exp... for Players... But oh well. I think I know how I can do it. :D

Thanks for your Help. :D
Answer the first Question. Please?
Toms.
 
Last edited:
Junior Spellweaver
Joined
Sep 30, 2009
Messages
180
Reaction score
76
Re: [Release] Occupation Leveling + EXP System

Finally, a person with a brain. Although it's quite easy its awesome that people are actually using their brains now...except for the leechers, of course...nice job, ts
 
Banned
Banned
Joined
Jun 3, 2008
Messages
155
Reaction score
21
Re: [Release] Occupation Leveling + EXP System

Cool xD
 
Experienced Elementalist
Joined
Nov 11, 2007
Messages
208
Reaction score
18
Re: [Release] Occupation Leveling + EXP System

Finally, a person with a brain. Although it's quite easy its awesome that people are actually using their brains now...except for the leechers, of course...nice job, ts

Hey Matt, I need to talk to you on MSN. >:
 
Back
Top