Jump to content
  • 0

Question

Posted

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

 

Recommended Posts

  • 0
Posted

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
Posted

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
Posted

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
Posted

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
Posted

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
Posted

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
Posted

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
Posted

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
Posted

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
Posted

and he cant change  return (int)(getTemplate().rewardExp * rateXp * Config.DONATOR_XP); ?

 

what the hell are you talking about?

  • 0
Posted

what the hell are you talking about?

nothing, talking alone

 

so what is wrong with

return (int)(getTemplate().rewardExp * rateXp * Config.DONATOR_XP);

  ?

  • 0
Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock