gms alike horntail fix for odin/lithium/moopledev sources & short information

Page 1 of 2 12 LastLast
Results 1 to 15 of 28
  1. #1
    Account Upgraded | Title Enabled! ExtremeDevilz is offline
    MemberRank
    Apr 2008 Join Date
    647Posts

    gms alike horntail fix for odin/lithium/moopledev sources & short information

    as most of you may know no one has gotten horntail fully working expect for extalia and vana not even MoopleDev/Lithium

    8810026 is to show the spawn animation and disappear.

    after which you are suppose to link up all the sponge together 8810002 to 8810009 and then each of the sponge is checked for any dead parts and for healing purpose and once all the part are dead this is where 8810018 comes in which is the death animation follow by the world message and a buff.

    Here is a Test Code: which spawns ht correctly but it disappear due to linked system not coded thread will be updated once it is done..

    8810026.img
    Code:
    removeAfter -> spawns and remove the mob a short time after
    revive -> seems like a linking system ?

    Code:
    public boolean isSponge(final MapleMonster monster) {
            if (monster.removeAfter() > 0) {
                        TimerManager.getInstance().schedule(new Runnable() {
                            @Override
                            public void run() {
                                killAllMonsters(false);
                        }
                    }, monster.getAnimationTime("die1"));            
            }
            return false;
        }    
        
        public void spawnMonster(final MapleMonster monster, final int parent) {
            monster.setMap(this);
            synchronized (this.mapobjects) {
                spawnAndAddRangedMapObject(monster, new DelayedPacketCreation() {
    
                    public void sendPackets(MapleClient c) {
                        if (parent >= 0) {
                            c.getSession().write(MaplePacketCreator.spawnRevives(monster, parent));
                        } else if (isSponge(monster)) {
                            c.getSession().write(MaplePacketCreator.spawnMonster(monster, false));
                        } else {
                            c.getSession().write(MaplePacketCreator.spawnMonster(monster, true));
                        }
                    }
                });
                if (monster.hasBossHPBar()) {
                    broadcastMessage(monster.makeBossHPBarPacket(), monster.getPosition());
                }
                updateMonsterController(monster);
            }
            spawnedMonstersOnMap.incrementAndGet();
        }
    Reactor :

    Code:
    function act() {
        rm.changeMusic("Bgm14/HonTale");
        rm.spawnMonster(8810026, 71, 260);
        rm.mapMessage(6, "From the depths of his cave, Horntail emerges!");
    }
    - - - Updated - - -

    Added Link Part :

    Code:
    public boolean linkParts(final MapleMonster monster) {
            List<Integer> toSpawn = monster.getRevives();
            if(toSpawn != null) {
                int[] part = {8810002 , 8810003, 8810004 , 8810005 , 8810006 , 8810007 , 8810008 , 8810009};
                for(int i : part) {
                    MapleMonster linkedParts = MapleLifeFactory.getMonster(i);
                    spawnMonster(linkedParts , 8810026);
                }
            }
            return true;
        }
    Last edited by ExtremeDevilz; 25-04-14 at 02:55 PM. Reason: Correction


  2. #2
    Banned SilentThief is offline
    BannedRank
    Sep 2012 Join Date
    The MatrixLocation
    466Posts

    Re: gms alike horntail fix for odin/lithium/moopledev sources & short information

    Multiple sources have fully working Horntail, idk wtf you're talking about.
    Thanks for the release, but not very useful considering that this could be leeched out of many sources.

  3. #3
    Banned Big G is offline
    BannedRank
    Jan 2014 Join Date
    835Posts

    Re: gms alike horntail fix for odin/lithium/moopledev sources & short information

    Quote Originally Posted by SilentThief View Post
    Multiple sources have fully working Horntail, idk wtf you're talking about.
    Thanks for the release, but not very useful considering that this could be leeched out of many sources.
    Saying this sentence doesn't proof a fact of horntail can be gotten from many sources.
    It not fix in most too.

  4. #4
    C# developer xStr0nGx is offline
    MemberRank
    Dec 2013 Join Date
    UnknownLocation
    659Posts

    Re: gms alike horntail fix for odin/lithium/moopledev sources & short information

    Want another solution? spawn his parts one by one, result = horntail.

  5. #5
    Account Upgraded | Title Enabled! ExtremeDevilz is offline
    MemberRank
    Apr 2008 Join Date
    647Posts

    Re: gms alike horntail fix for odin/lithium/moopledev sources & short information

    Quote Originally Posted by SilentThief View Post
    Multiple sources have fully working Horntail, idk wtf you're talking about.
    Thanks for the release, but not very useful considering that this could be leeched out of many sources.
    horntail works in a sense it spawns yes you are able to kill it just fine but the spawning isnt like gms... go on find the source which you think that this was leech from...

    xStr0nGx : isnt that what Im doing ?

    Big G : horntail isnt working in odin sources except in Extalia..

  6. #6
    Account Upgraded | Title Enabled! AristoCat is offline
    MemberRank
    Apr 2012 Join Date
    947Posts

    Re: gms alike horntail fix for odin/lithium/moopledev sources & short information

    Quote Originally Posted by Apparition View Post
    horntail works in a sense it spawns yes you are able to kill it just fine but the spawning isnt like gms... go on find the source which you think that this was leech from...

    xStr0nGx : isnt that what Im doing ?

    Big G : horntail isnt working in odin sources except in Extalia..
    it works in 70% of the sources pick up 10 random sources and test

  7. #7
    Account Upgraded | Title Enabled! ExtremeDevilz is offline
    MemberRank
    Apr 2008 Join Date
    647Posts

    Re: gms alike horntail fix for odin/lithium/moopledev sources & short information

    Quote Originally Posted by AristoCat View Post
    it works in 70% of the sources pick up 10 random sources and test
    horntail works in a sense it spawns yes you are able to kill it just fine but the spawning isnt like gms... go on find the source which you think that this was leech from...

    READ

    anyway the code does not work
    Last edited by ExtremeDevilz; 24-04-14 at 01:25 PM.

  8. #8
    Account Upgraded | Title Enabled! AristoCat is offline
    MemberRank
    Apr 2012 Join Date
    947Posts

    Re: gms alike horntail fix for odin/lithium/moopledev sources & short information

    Quote Originally Posted by Apparition View Post
    horntail works in a sense it spawns yes you are able to kill it just fine but the spawning isnt like gms... go on find the source which you think that this was leech from...

    READ

    anyway the code does not work
    It is gms like, reactor -> effect -> spawn

  9. #9
    Account Upgraded | Title Enabled! ExtremeDevilz is offline
    MemberRank
    Apr 2008 Join Date
    647Posts

    Re: gms alike horntail fix for odin/lithium/moopledev sources & short information

    I have nothing more to say..

    http://www.youtube.com/watch?v=PfIp_yDrRqY

    1:01 prefect just like gms alike zakum on top the reactor lovely

    1:19 horntail animation is displayed after horntail is spawned wow totally gms like

  10. #10
    while(true) spam(); kevintjuh93 is offline
    MemberRank
    Jun 2008 Join Date
    The NetherlandsLocation
    4,119Posts

    Re: gms alike horntail fix for odin/lithium/moopledev sources & short information

    Quote Originally Posted by Apparition View Post
    I have nothing more to say..

    http://www.youtube.com/watch?v=PfIp_yDrRqY

    1:01 prefect just like gms alike zakum on top the reactor lovely

    1:19 horntail animation is displayed after horntail is spawned wow totally gms like
    You spawn the 26 first. It will get removed instantly because of removeAfter (not sure, no time to find out). A timer should spawn all revives after the death animation, you can easily get that time in milliseconds. Now you will have a perfectly spawned horntail. Only thing left is the hp bar.

  11. #11
    Account Upgraded | Title Enabled! ExtremeDevilz is offline
    MemberRank
    Apr 2008 Join Date
    647Posts

    Re: gms alike horntail fix for odin/lithium/moopledev sources & short information

    Quote Originally Posted by kevintjuh93 View Post
    You spawn the 26 first. It will get removed instantly because of removeAfter (not sure, no time to find out). A timer should spawn all revives after the death animation, you can easily get that time in milliseconds. Now you will have a perfectly spawned horntail. Only thing left is the hp bar.
    it does not work that way 8810026 does the spawning and after that it is removeAfter there is also a revive in wz I believe that is to revive the parts but doing so need it to be synchronized so that it works like in gms and also what is wrong with the HP Bar ?

  12. #12
    while(true) spam(); kevintjuh93 is offline
    MemberRank
    Jun 2008 Join Date
    The NetherlandsLocation
    4,119Posts

    Re: gms alike horntail fix for odin/lithium/moopledev sources & short information

    Quote Originally Posted by Apparition View Post
    it does not work that way 8810026 does the spawning and after that it is removeAfter there is also a revive in wz I believe that is to revive the parts but doing so need it to be synchronized so that it works like in gms and also what is wrong with the HP Bar ?
    Like I said, revives are ALWAYS spawned after the death animation, which works fine. The thing that is bugged in most sources is something else that causes two horntails to spawn.

  13. #13
    Account Upgraded | Title Enabled! ExtremeDevilz is offline
    MemberRank
    Apr 2008 Join Date
    647Posts

    Re: gms alike horntail fix for odin/lithium/moopledev sources & short information

    Quote Originally Posted by kevintjuh93 View Post
    Like I said, revives are ALWAYS spawned after the death animation, which works fine. The thing that is bugged in most sources is something else that causes two horntails to spawn.
    nope the thing in most source it display the animation in between and it gets revive at the same time which don't make sense.. you can check the above video.. if OdinTeh it spawns and display the animation correctly and then disappear so it does not revives

  14. #14
    while(true) spam(); kevintjuh93 is offline
    MemberRank
    Jun 2008 Join Date
    The NetherlandsLocation
    4,119Posts

    Re: gms alike horntail fix for odin/lithium/moopledev sources & short information

    Quote Originally Posted by Apparition View Post
    nope the thing in most source it display the animation in between and it gets revive at the same time which don't make sense.. you can check the above video.. if OdinTeh it spawns and display the animation correctly and then disappear so it does not revives
    Like I've said; get the death animation time. Like this:
    Code:
                    TimerManager.getInstance().schedule(new Runnable() {
                        @Override
                        public void run() {
                            reviveMap.spawnMonster(mob);
                        }
                    }, getAnimationTime("die1"));

  15. #15
    Account Upgraded | Title Enabled! AristoCat is offline
    MemberRank
    Apr 2012 Join Date
    947Posts

    Re: gms alike horntail fix for odin/lithium/moopledev sources & short information

    Quote Originally Posted by kevintjuh93 View Post
    Like I've said; get the death animation time. Like this:
    Code:
                    TimerManager.getInstance().schedule(new Runnable() {
                        @Override
                        public void run() {
                            reviveMap.spawnMonster(mob);
                        }
                    }, getAnimationTime("die1"));
    can't you do something like
    Code:
                    TimerManager.getInstance().schedule(() -> {
                            reviveMap.spawnMonster(mob);
                    }, getAnimationTime("die1"));
    in Java 8



Page 1 of 2 12 LastLast

Advertisement