L2JLisvus

Would you like to react to this message? Create an account in a few clicks or log in to continue.

4 posters

    Sweep Festival for C4

    Karakan
    Karakan


    Posts : 756
    Join date : 2013-10-04

    Sweep Festival for C4 Empty Sweep Festival for C4

    Post  Karakan 9th October 2019, 15:35

    Sweep Festival for Chronicle 4

    I implemented this on my live server few years ago and spoilers loved it.

    Link updated : 15.11.2022

    Sweep Festival for C4

    Archive includes :
    - Core modifications
    - Datapack modifications


    Enjoy.  Cool


    Last edited by Karakan on 15th November 2022, 15:16; edited 3 times in total

    diulio7x likes this post

    improvise
    improvise


    Posts : 144
    Join date : 2017-07-21

    Sweep Festival for C4 Empty Re: Sweep Festival for C4

    Post  improvise 9th October 2019, 15:48

    Big thanks for share!
    Personally i don't like most innovations in higher chronicles but this thing is really very helpful.
    improvise
    improvise


    Posts : 144
    Join date : 2017-07-21

    Sweep Festival for C4 Empty Re: Sweep Festival for C4

    Post  improvise 10th October 2019, 11:19

    Unfortunately, if in effect range radius on a ground there are not affected by spoil monsters, this skill can not be used until they disappear.
    And I understand why: sweeper cannot be used at not-affected by spoil monsters, it's logical.
    What can i do with this issue?

    • First idea is to allow use sweeper at not-affected by spoil monsters. It's stupid.
    • Second idea is to extend affected by spoil dead bodies lifes. Not affected monsters will disappear fasted than affected so it will be possible to get reward freely. That's even more stupid Very Happy

    Maybe you ran into this problem and found a solution?
    Karakan
    Karakan


    Posts : 756
    Join date : 2013-10-04

    Sweep Festival for C4 Empty Re: Sweep Festival for C4

    Post  Karakan 7th May 2020, 01:26

    Finally.....

    Here is a fix for the problem mentioned above.

    Did few quick tests, and it worked like a charm.  Cool



    Code:

    Index: L2Skill.java
    ===================================================================
    --- L2Skill.java   (revision 724)
    +++ L2Skill.java   (working copy)
    @@ -108,6 +108,7 @@
           TARGET_CORPSE_PET,
           TARGET_ITEM,
           TARGET_AREA_CORPSE_MOB,
    +      TARGET_AURA_CORPSE_MOB,
           TARGET_CORPSE_MOB,
           TARGET_UNLOCKABLE,
           TARGET_HOLY,
    @@ -325,7 +326,8 @@
     
        private static final Func[] _emptyFunctionSet = new Func[0];
        private static final L2Effect[] _emptyEffectSet = new L2Effect[0];
    -
    +   private static final L2Object[] _emptyTargetList = new L2Object[0];
    +   
        private L2Character _affected;
     
        // these two build the primary key
    @@ -1974,6 +1976,18 @@
                    target
                 };
              }
    +         case TARGET_AURA_CORPSE_MOB:
    +         {
    +            for (L2Character character : activeChar.getKnownList().getKnownCharactersInRadius(getSkillRadius()))
    +            {
    +               if ((character instanceof L2Attackable) && character.isDead())
    +               {
    +                  targetList.add(character);
    +               }
    +            }
    +            return (targetList.isEmpty() ? _emptyTargetList : targetList.toArray(new L2Character[targetList.size()]));
    +         }         
    +         
              case TARGET_AREA_CORPSE_MOB:
              {
                 if (target == null)

    SCRASH0
    SCRASH0


    Posts : 203
    Join date : 2019-03-07

    Sweep Festival for C4 Empty Re: Sweep Festival for C4

    Post  SCRASH0 7th June 2020, 22:20

    Karakan wrote:Finally.....

    Here is a fix for the problem mentioned above.

    Did few quick tests, and it worked like a charm.  Cool



    Code:

    Index: L2Skill.java
    ===================================================================
    --- L2Skill.java (revision 724)
    +++ L2Skill.java (working copy)
    @@ -108,6 +108,7 @@
     TARGET_CORPSE_PET,
     TARGET_ITEM,
     TARGET_AREA_CORPSE_MOB,
    + TARGET_AURA_CORPSE_MOB,
     TARGET_CORPSE_MOB,
     TARGET_UNLOCKABLE,
     TARGET_HOLY,
    @@ -325,7 +326,8 @@
     
     private static final Func[] _emptyFunctionSet = new Func[0];
     private static final L2Effect[] _emptyEffectSet = new L2Effect[0];
    -
    + private static final L2Object[] _emptyTargetList = new L2Object[0];
    +
     private L2Character _affected;
     
     // these two build the primary key
    @@ -1974,6 +1976,18 @@
     target
     };
     }
    + case TARGET_AURA_CORPSE_MOB:
    + {
    + for (L2Character character : activeChar.getKnownList().getKnownCharactersInRadius(getSkillRadius()))
    + {
    + if ((character instanceof L2Attackable) && character.isDead())
    + {
    + targetList.add(character);
    + }
    + }
    + return (targetList.isEmpty() ? _emptyTargetList : targetList.toArray(new L2Character[targetList.size()]));
    + }
    +
     case TARGET_AREA_CORPSE_MOB:
     {
     if (target == null)


    very cool this skill


    Last edited by SCRASH0 on 7th June 2020, 22:24; edited 1 time in total
    Karakan
    Karakan


    Posts : 756
    Join date : 2013-10-04

    Sweep Festival for C4 Empty Re: Sweep Festival for C4

    Post  Karakan 7th June 2020, 22:22

    It sweeps multiple corpses instead of one.
    SCRASH0
    SCRASH0


    Posts : 203
    Join date : 2019-03-07

    Sweep Festival for C4 Empty Re: Sweep Festival for C4

    Post  SCRASH0 7th June 2020, 22:27

    Karakan wrote:It sweeps multiple corpses instead of one.
    i checked it is ball show
    it sure goes to my server.
    thanks for bringing this skill.
    will help a lot because my server will be custom crafter 50x
    SCRASH0
    SCRASH0


    Posts : 203
    Join date : 2019-03-07

    Sweep Festival for C4 Empty Re: Sweep Festival for C4

    Post  SCRASH0 7th June 2020, 22:35

    how to get this skill by npc.
    but I want So that I can catch her with 1kkk of adena
    improvise
    improvise


    Posts : 144
    Join date : 2017-07-21

    Sweep Festival for C4 Empty Re: Sweep Festival for C4

    Post  improvise 8th June 2020, 21:11

    SCRASH0 wrote:how to get this skill by npc.
    but I want So that I can catch her with 1kkk of adena
    You can see how does fishing skills learning realised with help of Fishing Masters Cool
    avatar
    speedwel


    Posts : 7
    Join date : 2020-08-04

    Sweep Festival for C4 Empty files offline

    Post  speedwel 4th February 2022, 02:53

    the files are offline... does anyone have the files?
    SCRASH0
    SCRASH0


    Posts : 203
    Join date : 2019-03-07

    Sweep Festival for C4 Empty Re: Sweep Festival for C4

    Post  SCRASH0 18th May 2022, 03:58

    files are offline
    Karakan
    Karakan


    Posts : 756
    Join date : 2013-10-04

    Sweep Festival for C4 Empty Re: Sweep Festival for C4

    Post  Karakan 15th November 2022, 15:15

    Updated the download link.

    Couldn't find the client modifications I made.
    So a new skill in skillname/skillgroup will be needed.


    Sponsored content


    Sweep Festival for C4 Empty Re: Sweep Festival for C4

    Post  Sponsored content


      Current date/time is 19th May 2024, 13:41