We moved our repositories to BitBucket!

If you can't login or you can't register to the forums do not rise an issue, instead please write to support (at) l2jserver.com

Check our wiki!

Report server issues here

Forum has been updated to phpBB 3.2, let's see if this fixes some minor bugs we had.

Thank you for visiting http://www.l2jserver.com/

Issue with pet levels

Find the proper support area, Saga-Version.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Locked
gameblond
Posts: 53
Joined: Wed Jun 23, 2010 11:56 am

Issue with pet levels

Post by gameblond » Sat Mar 30, 2013 7:51 am

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.
   

dEvilKinG
Posts: 15
Joined: Wed Oct 12, 2011 2:37 pm

Re: Issue with pet levels

Post by dEvilKinG » Wed Apr 03, 2013 3:24 pm

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.

Locked