Buffs of OL

    Share
    avatar
    DanielaCZ

    Posts : 507
    Join date : 2013-01-07
    Age : 27
    Location : Newcastle Upon Tyne

    Buffs of OL

    Post  DanielaCZ on 3rd December 2014, 13:04

    Buffs the OL include clan (alliance), it works right up to the fact that his buffs are not active on summons, which should be, too, it is still a part of me and thus belongs to the clan too. At least I've experienced elsewhere of working:-) Please give winks to thank you:-)
    avatar
    Karakan

    Posts : 411
    Join date : 2013-10-04

    Re: Buffs of OL

    Post  Karakan on 13th December 2014, 14:55

    I think that was added on Interlude.

    I cant compile right now (java runtime is protesting Razz)


    Try replacing this part of the code...

    in "gameserver/model/L2Skill.java"

    Make a backup first !

    I hope it helps Smile


    Code:

                case TARGET_CORPSE_CLAN:
                case TARGET_CLAN:
                {
                    if (activeChar instanceof L2PcInstance)
                    {
                    int radius = getSkillRadius();
                        L2PcInstance player = null;
                   if (activeChar instanceof L2Summon)
                      player = ((L2Summon)activeChar).getOwner();
                   else   
                      player = (L2PcInstance)activeChar;
                   if (player == null) return null;
                        L2Clan clan = player.getClan();
                   
                        if (player.isInOlympiadMode())
                            return new L2Character[] {player};


    avatar
    DanielaCZ

    Posts : 507
    Join date : 2013-01-07
    Age : 27
    Location : Newcastle Upon Tyne

    Re: Buffs of OL

    Post  DanielaCZ on 14th December 2014, 23:12

    biuld failed
    avatar
    DanielaCZ

    Posts : 507
    Join date : 2013-01-07
    Age : 27
    Location : Newcastle Upon Tyne

    Re: Buffs of OL

    Post  DanielaCZ on 15th December 2014, 00:31

    i think there is diffrent problém because summon get buffs from WC only from OL cant its so strange
    avatar
    DanielaCZ

    Posts : 507
    Join date : 2013-01-07
    Age : 27
    Location : Newcastle Upon Tyne

    Re: Buffs of OL

    Post  DanielaCZ on 16th December 2014, 13:47

    [javac] 100 errors oj :-D i dont know WC buffs work for summon but OL not working any ideas for it please?
    avatar
    xlinkinx

    Posts : 164
    Join date : 2012-12-11
    Age : 25

    Re: Buffs of OL

    Post  xlinkinx on 16th December 2014, 14:00

    DanielaCZ wrote:    [javac] 100 errors oj :-D i dont know WC buffs work for summon but OL not working any ideas for it please?
    I would be helped, but did not really understand what they mean(
    avatar
    DanielaCZ

    Posts : 507
    Join date : 2013-01-07
    Age : 27
    Location : Newcastle Upon Tyne

    Re: Buffs of OL

    Post  DanielaCZ on 16th December 2014, 14:49

    aha ok example: Sholtaker + summon is like one pair summon get all buffs from WC but no from OL (clan buffs) etc because if sholtaker get buffs from OL and his summon is active summon must get as well
    avatar
    xlinkinx

    Posts : 164
    Join date : 2012-12-11
    Age : 25

    Re: Buffs of OL

    Post  xlinkinx on 16th December 2014, 15:31

    DanielaCZ wrote:aha ok example: Sholtaker + summon  is like one pair summon get all buffs from WC but no from OL (clan buffs) etc because if sholtaker get buffs from OL and his summon is active summon must get as well

    try this way, if it does not then put the video or even screenshots because it does not want Google translate well)

    Code:
      case TARGET_CORPSE_CLAN:
                case TARGET_CLAN:
                {
                    if (activeChar instanceof L2PcInstance)
                    {
                        L2PcInstance player = (L2PcInstance) activeChar;

                        if (player.isInOlympiadMode())
                            return new L2Character[] {player};

                        if (targetType != SkillTargetType.TARGET_CORPSE_CLAN)
                        {
                            if (onlyFirst == false) targetList.add(player);
                            else return new L2Character[] {player};
                        }

                        int radius = getSkillRadius();
                        L2Clan clan = player.getClan();

                        if (clan != null)
                        {
                            // Get all visible objects in a spheric area near the L2Character
                            // Get Clan Members
                            for (L2ClanMember member : clan.getMembers())
                            {
                                L2PcInstance newTarget = member.getPlayerInstance();

                                if (newTarget == null || newTarget == player) continue;

                                       L2Summon pet = newTarget.getPet();
                                       if(pet != null && Util.checkIfInRange(radius, activeChar, pet, true) && !onlyFirst && (targetType == SkillTargetType.TARGET_CORPSE_CLAN && pet.isDead() || targetType == SkillTargetType.TARGET_CLAN && !pet.isDead()) && player.checkPvpSkill(newTarget, this))
                                       {
                                          targetList.add(pet);
                                       }

                                if (targetType == SkillTargetType.TARGET_CORPSE_CLAN && !newTarget.isDead())
                                    continue;

                                if (!Util.checkIfInRange(radius, activeChar, newTarget, true)) continue;

                                if (newTarget.getEventTeam() > 0)
                                {
                                    if (player.getEventTeam() != newTarget.getEventTeam())
                                        continue;
                                }

                                // Don't add this target if this is a Pc->Pc pvp casting and pvp condition not met
                                if (!player.checkPvpSkill(newTarget, this)) continue;

                                if (onlyFirst == false) targetList.add(newTarget);
                                else return new L2Character[] {newTarget};

                            }
                        }
                    }

                    return targetList.toArray(new L2Character[targetList.size()]);
                }

    I think where this paste guess =)
    avatar
    xlinkinx

    Posts : 164
    Join date : 2012-12-11
    Age : 25

    Re: Buffs of OL

    Post  xlinkinx on 16th December 2014, 15:46

    option number 2.
    Code:
                case TARGET_CORPSE_CLAN:
                case TARGET_CLAN:
                {
                    if (activeChar instanceof L2PcInstance)
                    {
                        L2PcInstance player = null;
                        if (activeChar instanceof L2Summon)
                          player = ((L2Summon)activeChar).getOwner();
                        else 
                          player = (L2PcInstance)activeChar;

                        if (player.isInOlympiadMode())
                            return new L2Character[] {player};

                        if (targetType != SkillTargetType.TARGET_CORPSE_CLAN)
                        {
                            if (onlyFirst == false) targetList.add(player);
                            else return new L2Character[] {player};
                        }

                        int radius = getSkillRadius();
                        L2Clan clan = player.getClan();

                        if (clan != null)
                        {
                            // Get all visible objects in a spheric area near the L2Character
                            // Get Clan Members
                            for (L2ClanMember member : clan.getMembers())
                            {
                                L2PcInstance newTarget = member.getPlayerInstance();

                                if (newTarget == null || newTarget == player) continue;

                                if (targetType == SkillTargetType.TARGET_CORPSE_CLAN && !newTarget.isDead())
                                    continue;

                                if (!Util.checkIfInRange(radius, activeChar, newTarget, true)) continue;

                                if (newTarget.getEventTeam() > 0)
                                {
                                    if (player.getEventTeam() != newTarget.getEventTeam())
                                        continue;
                                }

                                // Don't add this target if this is a Pc->Pc pvp casting and pvp condition not met
                                if (!player.checkPvpSkill(newTarget, this)) continue;

                                if (onlyFirst == false) targetList.add(newTarget);
                                else return new L2Character[] {newTarget};

                            }
                        }
                    }

                    return targetList.toArray(new L2Character[targetList.size()]);
                }
    avatar
    DanielaCZ

    Posts : 507
    Join date : 2013-01-07
    Age : 27
    Location : Newcastle Upon Tyne

    Re: Buffs of OL

    Post  DanielaCZ on 16th December 2014, 16:26

    no :-( not working summon not get buffs from Dominator its sad because from WC he get normály.
    avatar
    DanielaCZ

    Posts : 507
    Join date : 2013-01-07
    Age : 27
    Location : Newcastle Upon Tyne

    Re: Buffs of OL

    Post  DanielaCZ on 16th December 2014, 16:34

    lock it please there isall ok. Because IL buffs for summon is avaiable only from chronicle Interlude ++ lol i am so sorry :-) http://boards.lineage2.com/showthread.php?t=157003
    avatar
    xlinkinx

    Posts : 164
    Join date : 2012-12-11
    Age : 25

    Re: Buffs of OL

    Post  xlinkinx on 16th December 2014, 17:08

    DanielaCZ wrote:lock it please there isall ok. Because IL buffs for summon is avaiable only from chronicle Interlude ++ lol i am so sorry :-) http://boards.lineage2.com/showthread.php?t=157003
    What about the alliance? ie if the clan buffs will buff and then summons alliance skills too?
    avatar
    DanielaCZ

    Posts : 507
    Join date : 2013-01-07
    Age : 27
    Location : Newcastle Upon Tyne

    Re: Buffs of OL

    Post  DanielaCZ on 16th December 2014, 18:04

    i realy dont know a loots player say yes a loots no its heavy :-(
    avatar
    xlinkinx

    Posts : 164
    Join date : 2012-12-11
    Age : 25

    Re: Buffs of OL

    Post  xlinkinx on 16th December 2014, 18:16

    DanielaCZ wrote:i realy dont know a loots player say yes a loots no its heavy :-(
    I can please)) 1 option that I gave you works, just not the type of skill clan, and Allan, but it is necessary to eliminate the visual bug (not always show that you used a skill, it's even easier in Overlord yellow ring).
    avatar
    xlinkinx

    Posts : 164
    Join date : 2012-12-11
    Age : 25

    Re: Buffs of OL

    Post  xlinkinx on 16th December 2014, 18:30

    Downloads fix

    it's time to have money already likely to take=)))



    Last edited by xlinkinx on 16th December 2014, 18:35; edited 1 time in total
    avatar
    DanielaCZ

    Posts : 507
    Join date : 2013-01-07
    Age : 27
    Location : Newcastle Upon Tyne

    Re: Buffs of OL

    Post  DanielaCZ on 16th December 2014, 18:34

    ej? :-)
    avatar
    xlinkinx

    Posts : 164
    Join date : 2012-12-11
    Age : 25

    Re: Buffs of OL

    Post  xlinkinx on 16th December 2014, 18:39

    By the way I did and why, even so, that should just work))
    avatar
    DanielaCZ

    Posts : 507
    Join date : 2013-01-07
    Age : 27
    Location : Newcastle Upon Tyne

    Re: Buffs of OL

    Post  DanielaCZ on 16th December 2014, 18:45

    Yes you're amazing :-P
    avatar
    Karakan

    Posts : 411
    Join date : 2013-10-04

    Re: Buffs of OL

    Post  Karakan on 16th December 2014, 18:49

    This could be added as a custom option to the svn.

    //summon DnR

    ^^

    avatar
    xlinkinx

    Posts : 164
    Join date : 2012-12-11
    Age : 25

    Re: Buffs of OL

    Post  xlinkinx on 16th December 2014, 18:49

    DanielaCZ wrote:Yes you're amazing :-P

    possible, or simply strongly Activities nothing =) I have a question for you about the seven signs, or you need a fix is already satisfied?)
    avatar
    xlinkinx

    Posts : 164
    Join date : 2012-12-11
    Age : 25

    Re: Buffs of OL

    Post  xlinkinx on 16th December 2014, 18:50

    Karakan wrote:This could be added as a custom option to the svn.

    //summon DnR

    ^^

    and then add the rest need to go))
    avatar
    DanielaCZ

    Posts : 507
    Join date : 2013-01-07
    Age : 27
    Location : Newcastle Upon Tyne

    Re: Buffs of OL

    Post  DanielaCZ on 16th December 2014, 19:09

    7s i dont know is so hard important is s7 mobs dusk and down because they is so totaly bad :-) dusk mobs must have difrent group down too bt there is not any difrent its bad :-) i think this is very strong job but i belive we make it :-p
    avatar
    xlinkinx

    Posts : 164
    Join date : 2012-12-11
    Age : 25

    Re: Buffs of OL

    Post  xlinkinx on 16th December 2014, 19:13

    DanielaCZ wrote:7s i dont know is so hard important is s7 mobs dusk and down because they is so totaly bad :-) dusk mobs must have difrent group down too bt there is not any difrent its bad :-) i think this is very strong job but i belive we make it :-p
    with mobs will understand later, but what about the teleport from Priest?)
    http://l2jlisvus.great-forum.com/t839-7s-piest-tele
    avatar
    Karakan

    Posts : 411
    Join date : 2013-10-04

    Re: Buffs of OL

    Post  Karakan on 16th December 2014, 21:36

    dusk mobs must have difrent group down too bt there is not any difrent its bad :-)

    She is propably talking about the social stuff between angel's and demon's.
    And about the fact that after clearing a room....if you aggro a respawned monster, the whole room will attack.

    The social thing is a very simple database edit.
    factionId and factionrange
    avatar
    xlinkinx

    Posts : 164
    Join date : 2012-12-11
    Age : 25

    Re: Buffs of OL

    Post  xlinkinx on 17th December 2014, 04:01

    Karakan wrote:
    dusk mobs must have difrent group down too bt there is not any difrent its bad :-)

    She is propably talking about the social stuff between angel's and demon's.
    And about the fact that after clearing a room....if you aggro a respawned monster, the whole room will attack.

    The social thing is a very simple database edit.
    factionId  and factionrange
    mobs yet another story, you need to find out whether it needs a fix NPC, and then I'll see what to spawn, as well as the NPC.

    Sponsored content

    Re: Buffs of OL

    Post  Sponsored content


      Current date/time is 23rd August 2017, 03:44