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?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...