EdenEternal Posted January 24, 2010 Posted January 24, 2010 hi MaxCheaters.com! server:interlude.l2jteon rev.566 i want to create Premium Accounts on My Server. example: who have premium account for him rates will be x100x100x100
0 Commodus Posted January 24, 2010 Posted January 24, 2010 yea , be sure Okay . I'm sure . If you want to prove me that you have enough knowledge , create the code by tommorow. I'm waiting.
0 xAddytzu Posted January 25, 2010 Posted January 25, 2010 Yeah... L2NpcInstance public int getExpReward() { double rateXp = getStat().calcStat(Stats.MAX_HP , 1, this, null); + if (player.isDonator()) + return (int)(getTemplate().rewardExp * rateXp * Config.RATE_XP * Config.DONATOR_XP); + else return (int)(getTemplate().rewardExp * rateXp * Config.RATE_XP); }
0 Lucky Dice Posted January 25, 2010 Posted January 25, 2010 Yeah... L2NpcInstance public int getExpReward() { double rateXp = getStat().calcStat(Stats.MAX_HP , 1, this, null); if (player.isDonator()) return (int)(getTemplate().rewardExp * rateXp * Config.RATE_XP * Config.DONATOR_XP); else return (int)(getTemplate().rewardExp * rateXp * Config.RATE_XP); } :@ Btw make the code with eclipse.
0 Intrepid Posted January 25, 2010 Posted January 25, 2010 Yeah... L2NpcInstance public int getExpReward() { double rateXp = getStat().calcStat(Stats.MAX_HP , 1, this, null); if (player.isDonator()) return (int)(getTemplate().rewardExp * rateXp * Config.RATE_XP * Config.DONATOR_XP); else return (int)(getTemplate().rewardExp * rateXp * Config.RATE_XP); } better to use the donator exp instead of the normal just more calc...
0 ~Sensei~ Posted January 25, 2010 Posted January 25, 2010 i think its best if you start learning a bit more java.. before thinking of moding your server more than what config files allow.. Yeah... L2NpcInstance public int getExpReward() { double rateXp = getStat().calcStat(Stats.MAX_HP , 1, this, null); if (player.isDonator()) return (int)(getTemplate().rewardExp * rateXp * Config.RATE_XP * Config.DONATOR_XP); else return (int)(getTemplate().rewardExp * rateXp * Config.RATE_XP); } great.. and now that youre so good.. you can keep answering the next 10posts of how do i add that to my server?
0 Intrepid Posted January 25, 2010 Posted January 25, 2010 i think its best if you start learning a bit more java.. before thinking of moding your server more than what config files allow.. great.. and now that youre so good.. you can keep answering the next 10posts of how do i add that to my server? ohhh cmon the modern worlds post hunting leave it as it is if someone dont get it he talk about a diff file
0 ~Sensei~ Posted January 25, 2010 Posted January 25, 2010 ohhh cmon the modern worlds post hunting leave it as it is if someone dont get it he talk about a diff file seriously i read this like 20x and its rlly not making any sense, no matter in what context i put it in.. your saying im post hunting lol? "if someone dont get it he talk about a diff file" - seriously.. you cant say this makes sense to you?
0 xAddytzu Posted January 25, 2010 Posted January 25, 2010 better to use the donator exp instead of the normal just more calc... ofc but this is a simple way :) i think its best if you start learning a bit more java.. before thinking of moding your server more than what config files allow.. great.. and now that youre so good.. you can keep answering the next 10posts of how do i add that to my server? L2NpcInstance public int getExpReward() { double rateXp = getStat().calcStat(Stats.MAX_HP , 1, this, null); + if (player.isDonator()) + return (int)(getTemplate().rewardExp * rateXp * Config.RATE_XP * Config.DONATOR_XP); + else return (int)(getTemplate().rewardExp * rateXp * Config.RATE_XP); }
0 Intrepid Posted January 25, 2010 Posted January 25, 2010 ofc but this is a simple way :) lol?since when * exp_rate * donator_exp_rate simplier than * donator_exp_rate
0 xAddytzu Posted January 25, 2010 Posted January 25, 2010 lol?since when * exp_rate * donator_exp_rate simplier than * donator_exp_rate and he cant change return (int)(getTemplate().rewardExp * rateXp * Config.DONATOR_XP); ?
0 Intrepid Posted January 25, 2010 Posted January 25, 2010 and he cant change return (int)(getTemplate().rewardExp * rateXp * Config.DONATOR_XP); ? what the hell are you talking about?
0 xAddytzu Posted January 25, 2010 Posted January 25, 2010 what the hell are you talking about? nothing, talking alone so what is wrong with return (int)(getTemplate().rewardExp * rateXp * Config.DONATOR_XP); ?
0 Intrepid Posted January 25, 2010 Posted January 25, 2010 nothing, talking alone so what is wrong with return (int)(getTemplate().rewardExp * rateXp * Config.DONATOR_XP); ? jeez i never said theres something wrong with it lol... anyway if you want such stuff adapt it from emu.
0 EdenEternal Posted January 25, 2010 Author Posted January 25, 2010 if you have made this mod please write little mod how to do this
Question
EdenEternal
hi MaxCheaters.com!
server:interlude.l2jteon rev.566
i want to create Premium Accounts on My Server.
example: who have premium account for him rates will be x100x100x100
39 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now