Jump to content

Question

4 answers to this question

Recommended Posts

  • 0
Posted

Parta akrivws http://svn6.assembla.com/svn/L2j-Brasil/TrunK/L2JBrasil_CORE/java/com/it/br/gameserver/clientpackets/

 

Aplos na akolouthiseis aftin edw tin diadromh L2JBrasil_CORE/java/com/it/br/gameserver/clientpackets/

 

ok file to ekana ala molis paw na kanw build m vgazei auto

[javac]    activeChar.getAppearance().setNameColor(8000FF);

    [javac]                                                ^

    [javac] C:\Program Files\eclipse\workspace\L2JBrasil_CORE\java\com\it\br\gameserver\clientpackets\EnterWorld.java:603: illegal start of expression

    [javac]    activeChar.getAppearance().setNameColor(8000FF);

    [javac]                                                  ^

    [javac] 2 errors

 

BUILD FAILED

 

kai to evala etc

 

@Override

public String getType()

{

return _C__03_ENTERWORLD;

if (activeChar.getPvpKills()>= 100)

  {

  activeChar.getAppearance().setNameColor(FF9200);

  }

  if (activeChar.getPvpKills()>= 200)

  {

  activeChar.getAppearance().setNameColor(FFEE00);

  }

  if (activeChar.getPvpKills()>= 300)

  {

  activeChar.getAppearance().setNameColor(FF0000);

  }

  if (activeChar.getPvpKills()>= 400)

  {

  activeChar.getAppearance().setNameColor(8000FF);

  }

  if (activeChar.getPvpKills()>= 500)

  {

  activeChar.getAppearance().setNameColor(000000);

  }

 

}

        private void notifyCastleOwner(L2PcInstance activeChar)

        {

                L2Clan clan = activeChar.getClan();

               

                if (clan != null)

                {

                        if (clan.getHasCastle() > 0)

                        {

                                Castle castle = CastleManager.getInstance().getCastleById(clan.getHasCastle());

                                if ((castle != null) && (activeChar.getObjectId() == clan.getLeaderId()))

                                        Announcements.getInstance().announceToAll("Lord " + activeChar.getName() + " Ruler Of " + castle.getName() + " Castle is Now Online!");

                        }

                }

        }

 

private void setPledgeClass(L2PcInstance activeChar)

{

int pledgeClass = 0;

if ( activeChar.getClan() != null)

pledgeClass = activeChar.getClan().getClanMember(activeChar.getObjectId()).calculatePledgeClass(activeChar);

 

if (activeChar.isNoble() && pledgeClass < 5)

          pledgeClass = 5;

 

    if (activeChar.isHero())

          pledgeClass = 8;

 

    activeChar.setPledgeClass(pledgeClass);

}

}

 

ti ekana la8os?

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...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..