Page 1 of 1

Issue with pet levels

Posted: Sat Mar 30, 2013 7:51 am
by gameblond
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Gracia EpilogueNumber:
L2JDP Revision Gracia epilogueNumber:

Hello guys as you know in gracia epilogue pet can go up to 85 lvl.

I have problem with one pet to be certain Sin eater , sin eater in my server go up to 85 and 100% in result players 85 level can't finish Quest to erase pks.

I am new in java and i am trying to understand how it works.

What i did change but didn't work red marked is what i added/change. I also add to database petstat infos for lvl 86-87 sin eater.

Experience.java
  public final static byte MAX_LEVEL = 87;
 public final static byte MAX_PET_LEVEL = 87;
 
    public final static byte MIN_NEWBIE_LEVEL = 6;
    public final static byte MAX_NEWBIE_LEVEL = 39;
}
---------------------------------------------------
And to PetStat.java
  public final boolean addLevel(byte value)
    {
     if (getLevel() + value > Experience.MAX_PET_LEVEL - 1) (it was MAX_LEVEL)
            return false;

------------------------------------------------------------

Thanks for help guys.
   

Re: Issue with pet levels

Posted: Wed Apr 03, 2013 3:24 pm
by dEvilKinG
gameblond wrote:If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Gracia EpilogueNumber:
L2JDP Revision Gracia epilogueNumber:

Hello guys as you know in gracia epilogue pet can go up to 85 lvl.

I have problem with one pet to be certain Sin eater , sin eater in my server go up to 85 and 100% in result players 85 level can't finish Quest to erase pks.

I am new in java and i am trying to understand how it works.

What i did change but didn't work red marked is what i added/change. I also add to database petstat infos for lvl 86-87 sin eater.

Experience.java
  public final static byte MAX_LEVEL = 87;
 public final static byte MAX_PET_LEVEL = 87;
 
    public final static byte MIN_NEWBIE_LEVEL = 6;
    public final static byte MAX_NEWBIE_LEVEL = 39;
}
---------------------------------------------------
And to PetStat.java
  public final boolean addLevel(byte value)
    {
     if (getLevel() + value > Experience.MAX_PET_LEVEL - 1) (it was MAX_LEVEL)
            return false;

------------------------------------------------------------

Thanks for help guys.
   
There is not any exp table to 87 level, you should better try to fix the quest itself instead.