Jump to content

Virusgr

Members
  • Posts

    164
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Virusgr

  1. I'm trying to change player's appearence(name/title) while on death match event but without luck.I changed getVisibleName method in PcAppearance like this

     

    public final String getVisibleName()

    {

    if( DMEvent.isPlayerParticipant(_owner.getObjectId()) && DMEvent.isStarted())

    {

    return "Player";

    }

    if (_visibleName == null)

    {

    _visibleName = getOwner().getName();

    }

    return _visibleName;

    }

    but when the event ends name "Player" and title "Death Match" remain and even stored at db.Any ideas?(I'm using freya)

  2. φαντάζομαι φάση:

    "ThumaMeHalisha:                  re file dwse na sou kanw enchant

    "EpidoksosScammer:ma nai fusika parto

    "ThumaMeHalisha:                  opa sorry re lathos koumpi

    "EpidoksosScammer:dn peirazei man alla min bazeis tosa kena dn mporw na ta dw ola panw apo to kefali sou sto sunnefo

    ΜΠΟΥΥΥΥΥΥΡΛΟΤΟ!

  3. Μέσα στον κώδικα υπάρχει αυτό

    312.

    +              if(command.startsWith("CVS_Regist"))

     

    313.

    +                      ClanLeaderEvent.register(player);

     

    314.

    +              else if(command.startsWith("CVS_UnRegist"))

     

    315.

    +                      ClanLeaderEvent.unRegister(player);

    Οπότε τα commands είναι προφανή.

    Πολύ καλή ιδέα για το event!Και δίνει και ιδέες για επόμενα ;D

  4.  

    now on topic, checkUseMagicConditions in L2PcInstance is an answer, anything else? :)

    thanks that will do the trick for skills.now i need the place for normal aoe attacks.An example:

    Player A is below 76 level and flagged(below 76 players can hit other players of their level).Player B is a warlord above 76 level and he is farming.Player A gets in Player's B target area and get hit by pole normal attack.I want to disable that.

  5. Thanks but i don't want to edit the type or something else from the .xml

    Since i'm not clear enough i'll re-explain with an example.

    Earthquake skill is an aoe skill.The type of this skill is TARGET_AURA.I want to make all TARGET_AURA skills not to hit players above 76.

    I want to make the same for simple pole attacks.Which java files i have to edit?(and which methods if it's possible)

×
×
  • Create New...