Morphs

Page 1 of 5 12345 LastLast
Results 1 to 15 of 74
  1. #1
    Account Upgraded | Title Enabled! scarlet12379 is offline
    MemberRank
    Mar 2008 Join Date
    Peoria, IllinoiLocation
    322Posts

    Morphs

    This one has no patch file


    open: MapleBuffStat.java

    Add
    MORPH(0x200000000l),
    open: MaplePacketCreator.java

    In function giveBuff, add parameter (meaning find this string "giveBuff" no quoat marks tho)
    boolean morph
    Function giveBuff
    Change the last mplew.write(0); (find mplew.write(0); and change to this)


    if(!morph)
    mplew.write(0); // combo 600, too
    else
    mplew.write(1);
    open: MapleStatEffect.java

    Add these fields (some where that wont mess up the code.)
    private boolean isMorph = false;
    private int morphId = 0;
    Add these where similar stuff appear in loadFromData (open search it in MapleStatEffect.java)

    ret.morphId = MapleDataTool.getInt("morph", source, 0);
    ret.isMorph = ret.morphId > 0 ? true : false;
    Add this after the if(skill) block in loadFromData (search for if(skill) and add this skill meaning skill name =])


    if(ret.isMorph())
    statups.add(new Pair<MapleBuffStat, Integer>(MapleBuffStat.MORPH, Integer.valueOf(ret.getMorph())));

    Add these functions (put it at the bottem i think)

    public boolean isMorph(){
    return isMorph;
    }

    public int getMorph(){
    return morphId;
    }
    open: UseCashItemHandler.java

    Add this where similar stuff appear
    } else if(itemType == 530) {
    MapleItemInformationProvider ii = MapleItemInformationProvider.getInstance();
    ii.getItemEffect(itemId).applyTo(c.getPlayer());


    Credits go to AngelSL from www.dev-odinms.com

    I dont take any credit for this nor do i really know how to use this scince im busy


    btw Morphs alowes you to turn into monsters suck as pig grays mushroom =]



    p.s. Dont come in calling me a leacher because leaching is when you steal some ones work and dont give them proper credit =P i toke no credit for this =3
    Last edited by scarlet12379; 05-07-08 at 07:40 PM.


  2. #2
    Account Upgraded | Title Enabled! moshik12 is offline
    MemberRank
    Apr 2008 Join Date
    581Posts

    Re: {release} Morphs

    OMG yes!
    finally!
    <333333333333

  3. #3
    Infraction Banned coasterguy26 is offline
    MemberRank
    Feb 2008 Join Date
    CaliforniaLocation
    135Posts

    Re: {release} Morphs

    Sean, Add This To Your Awesome Repack!

  4. #4
    Enthusiast maplebest12 is offline
    MemberRank
    Apr 2008 Join Date
    38Posts

    Re: {release} Morphs

    Weee :D

  5. #5
    'b' for boy b0ib0ii is offline
    MemberRank
    Apr 2008 Join Date
    I'm in RaGEZONELocation
    470Posts

    Re: {release} Morphs

    anyone got it to work?

  6. #6
    Account Upgraded | Title Enabled! scarlet12379 is offline
    MemberRank
    Mar 2008 Join Date
    Peoria, IllinoiLocation
    322Posts

    Re: {release} Morphs

    lol yes indeed add it and fix your files for luid sean =] im tired of fixing them for my friends servers

  7. #7
    'b' for boy b0ib0ii is offline
    MemberRank
    Apr 2008 Join Date
    I'm in RaGEZONELocation
    470Posts

    Re: {release} Morphs

    Add this after the if(skill) block in loadFromData


    if(ret.isMorph())
    statups.add(new Pair<MapleBuffStat, Integer>(MapleBuffStat.MORPH, Integer.valueOf(ret.getMorph())));
    Kinda don't understand this paragraph.

  8. #8
    Account Upgraded | Title Enabled! boy toy is offline
    MemberRank
    Apr 2008 Join Date
    262Posts

    Re: {release} Morphs

    what is morph

  9. #9
    Alpha Member ch1nkayy is offline
    MemberRank
    Apr 2008 Join Date
    2,145Posts

    Re: {release} Morphs

    Quote Originally Posted by b0ib0ii View Post
    Kinda don't understand this paragraph.
    that means like...

    if (skill) {
    blajklgadfgsgs
    blajlbajlbajlabja
    blaklbkalbkalbk
    }
    add it right here


  10. #10
    Account Upgraded | Title Enabled! scarlet12379 is offline
    MemberRank
    Mar 2008 Join Date
    Peoria, IllinoiLocation
    322Posts

    Re: {release} Morphs

    Quote Originally Posted by boy toy View Post
    what is morph

    morph can turn you into monsters or if it works for .57 supersayan

  11. #11
    Enthusiast nettie is offline
    MemberRank
    Apr 2008 Join Date
    38Posts

    Re: {release} Morphs

    Code:
       applyto.getClient().getSession().write(MaplePacketCreator.giveBuff((skill ? sourceid : -sourceid), localDuration, localstatups));
                                                                                     ^
    1 error
    BUILD FAILED (total time: 0 seconds)

    This is because adding boolean morph into giveBuff function contradicts this line where only 3 variables are mentioned. And i don't know how to fix it :P

  12. #12
    Valued Member Sparkey is offline
    MemberRank
    Mar 2007 Join Date
    103Posts

    Re: {release} Morphs

    I have it already working at my server... It's coded wrong it can be easier research and u will find the errors

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

    Re: {release} Morphs

    is not coded wrong, you just have to make extra changes

  14. #14
    Enthusiast nettie is offline
    MemberRank
    Apr 2008 Join Date
    38Posts

    Re: {release} Morphs

    i have it working but only the person casting it can see it.

    Is that my fault or the code's fault? :P

  15. #15
    Valued Member Sparkey is offline
    MemberRank
    Mar 2007 Join Date
    103Posts

    Re: {release} Morphs

    Quote Originally Posted by nettie View Post
    i have it working but only the person casting it can see it.

    Is that my fault or the code's fault? :P
    Code's fault i have the same to my matty is fixing it :P i will post a tip



Page 1 of 5 12345 LastLast

Advertisement