Ver75 Medal Reward System ( Automactic ) Tested And It Really Works

Page 1 of 2 12 LastLast
Results 1 to 15 of 29
  1. #1
    Account Inactive PandemicMS is offline
    InactiveRank
    Dec 2009 Join Date
    57Posts

    Ver75 Medal Reward System ( Automactic ) Tested And It Really Works


    RaGEZONE Recommends

    RaGEZONE Recommends

    open maplecharacter.java

    Add this anywhere

    PHP Code:
        public boolean gainItem(int idshort quantityboolean randomStatsboolean show) {
            if (
    quantity >= 0) {
                
    MapleItemInformationProvider ii MapleItemInformationProvider.getInstance();
                
    IItem item ii.getEquipById(id);
                
    MapleInventoryType type ii.getInventoryType(id);
                if (
    type.equals(MapleInventoryType.EQUIP) && !ii.isThrowingStar(item.getItemId()) && !ii.isBullet(item.getItemId())) {
                    if (!
    getInventory(type).isFull()) {
                        if (
    randomStats) {
                            
    MapleInventoryManipulator.addFromDrop(getClient(), ii.randomizeStats(getClient(), (Equipitem), false);
                        } else {
                            
    MapleInventoryManipulator.addFromDrop(getClient(), (Equipitemfalse);
                        }
                    } else {

                        
    dropMessage(1"Your inventory is full. Please remove an item from your " type.name().toLowerCase() + " inventory.");
                        return 
    false;
                    }
                } else if (
    MapleInventoryManipulator.checkSpace(getClient(), idquantity"")) {
                    if (
    id >= 5000000 && id <= 5000100) {
                        if (
    quantity 1) {
                            
    quantity 1;
                        }
                        
    int petId MaplePet.createPet(id);
                        
    MapleInventoryManipulator.addById(getClient(), id, (short1nullpetId);
                        if (
    show) {
                            
    this.getClient().getSession().write(MaplePacketCreator.getShowItemGain(idquantity));
                        }
                    } else {
                        
    MapleInventoryManipulator.addById(getClient(), idquantity"");
                    }
                } else {

                    
    dropMessage(1"Your inventory is full. Please remove an item from your " type.name().toLowerCase() + " inventory.");
                    return 
    false;
                }
                if (
    show) {
                    
    this.getClient().getSession().write(MaplePacketCreator.getShowItemGain(idquantitytrue));
                }
            } else {
                
    MapleInventoryManipulator.removeById(getClient(), MapleItemInformationProvider.getInstance().getInventoryType(id), id, -quantityfalsefalse);
            }
            return 
    true;
        } 
    find
    PHP Code:
    setHp(maxhp);
    setMp(maxmp);
    client.getSession().write(MaplePacketCreator.updatePlayerStats(statup));
    getMap().broadcastMessage(thisMaplePacketCreator.showForeignEffect(getId(), 0), false);
    recalcLocalStats();
    silentPartyUpdate();
    guildUpdate(); 
    below It Put
    PHP Code:
    if (level == 10 && isCygnus()) {
                
    this.gainItem(1142066, (short1falsefalse);
                
    dropMessage("You have obtained an Training Knight Medal for reaching level 10");
            }

            if (
    level == 30 && isCygnus()) {
                
    this.gainItem(1142067, (short1falsefalse);
                
    dropMessage("You have obtained an Official Cygnus Medal for reaching level 30");
            }

            if (
    level == 70 && isCygnus()) {
                
    this.gainItem(1142068, (short1falsefalse);
                
    dropMessage("You have obtained an Advanced Cygnus Medal for reaching level 70");
            }

            if (
    level == 120 && isCygnus()) {
                
    this.gainItem(1142069, (short1falsefalse);
                
    dropMessage("You have obtained a Captain Knight Medal for reaching level 120");
        }



    For Add Buddy And Gain Medal Open BuddylistModifyHandler.java


    find
    PHP Code:
    c.getSession().write(MaplePacketCreator.updateBuddylist(buddylist.getBuddies())); 
    Below it Put
    PHP Code:
    if (!c.getPlayer().haveItem(11420731truetrue)) {
                                
    c.getPlayer().gainItem(1142073, (short1falsefalse);
                                
    c.getPlayer().dropMessage("You have obtained the 'Be my Friend Medal'"); 
    Last edited by PandemicMS; 08-01-10 at 02:18 PM.


  2. #2
    Account Inactive kirbyhood is offline
    InactiveRank
    Jun 2008 Join Date
    84Posts

    Re: Ver75 Medal Reward System ( Automactic )

    Very nice. I don't plan on using it, but I think others will find it useful.

  3. #3
    Account Inactive omegaheros is offline
    InactiveRank
    Apr 2009 Join Date
    120Posts

    Re: Ver75 Medal Reward System ( Automactic )

    [/COLOR]not really impressive. its simple but i doubt that he made it considering he has divinelight source which im guessing pandemicMS is rocketboy/ravanateam most of his release came from the source[COLOR="Silver"]

  4. #4
    Account Upgraded | Title Enabled! WlZET is offline
    True MemberRank
    Apr 2009 Join Date
    477Posts

    Re: Ver75 Medal Reward System ( Automactic )

    This is from my source. The hell?
    Quote Originally Posted by NorFuzzoR View Post
    What you mean? Who are high and play maple at the same time?

  5. #5
    Account Inactive xDrXkOx is offline
    InactiveRank
    Oct 2009 Join Date
    35Posts

    Re: Ver75 Medal Reward System ( Automactic )

    its a good release, thxs

  6. #6
    Account Inactive X-Tasis is offline
    InactiveRank
    Feb 2009 Join Date
    1,192Posts

    Re: Ver75 Medal Reward System ( Automactic )

    Fail. Not even the way you gain the medals.

  7. #7
    Account Inactive PandemicMS is offline
    InactiveRank
    Dec 2009 Join Date
    57Posts

    Re: Ver75 Medal Reward System ( Automactic )

    Quote Originally Posted by omegaheros View Post
    [/COLOR]not really impressive. its simple but i doubt that he made it considering he has divinelight source which im guessing pandemicMS is rocketboy/ravanateam most of his release came from the source[COLOR="Silver"]
    wth is ravanteam / rocketboy zz i got it from vibrantms i downloaded it at http://www.mediafire.com/?3djtkwmoflw, idk whats divinelight is, so don't anyhow blaming others ...

  8. #8
    Account Inactive zactky is offline
    InactiveRank
    Feb 2009 Join Date
    59Posts

    Re: Ver75 Medal Reward System ( Automactic ) Tested And It Really Works

    hey a little typo with this part

    Code:
    if (level == 10 && isCygnus()) {
                this.gainItem(1142066, (short) 1, false, false);
                dropMessage("You have obtained an Training Knight Medal for reaching level 70");
    shouldn't it be level 10 instead?

  9. #9
    Account Inactive AngyTheBitch is offline
    InactiveRank
    Dec 2008 Join Date
    125Posts

    Re: Ver75 Medal Reward System ( Automactic ) Tested And It Really Works

    PHP Code:
    if (level == 10 && isCygnus()) {
                
    this.gainItem(1142066, (short1falsefalse);
                
    dropMessage("You have obtained an Training Knight Medal for reaching level 70");
            }

            if (
    level == 30 && isCygnus()) {
                
    this.gainItem(1142067, (short1falsefalse);
                
    dropMessage("You have obtained an Official Cygnus Medal for reaching level 30");
            }

            if (
    level == 70 && isCygnus()) {
                
    this.gainItem(1142068, (short1falsefalse);
                
    dropMessage("You have obtained an Advanced Cygnus Medal for reaching level 70");
            }

            if (
    level == 120 && isCygnus()) {
                
    this.gainItem(1142069, (short1falsefalse);
                
    dropMessage("You have obtained a Captain Knight Medal for reaching level 120");
        }

    So if the guy reaches lvl 10 and does not have inventory slot he be scammed :p

    PHP Code:
    if (level 10 && isCygnus()&& !haveItem(11420661truetrue)) {
                
    this.gainItem(1142066, (short1falsefalse);
                
    dropMessage("You have obtained an Training Knight Medal for reaching level 70");
            }

            if (
    level 30 && isCygnus() && !haveItem(11420671truetrue)) {
                
    this.gainItem(1142067, (short1falsefalse);
                
    dropMessage("You have obtained an Official Cygnus Medal for reaching level 30");
            }

            if (
    level 70 && isCygnus() && !haveItem(11420681truetrue)) {
                
    this.gainItem(1142068, (short1falsefalse);
                
    dropMessage("You have obtained an Advanced Cygnus Medal for reaching level 70");
            }

            if (
    level 120 && isCygnus() && !haveItem(11420671truetrue)) {
                
    this.gainItem(1142069, (short1falsefalse);
                
    dropMessage("You have obtained a Captain Knight Medal for reaching level 120");
        }

    If he had full inventory he can gain it next level up. You can actually add a variable to cache the item but then again you can also use a npc to talk to and get the medal in case he have full inventory. I'm not sure how GMS does it though. I have it this way

  10. #10
    Account Inactive PandemicMS is offline
    InactiveRank
    Dec 2009 Join Date
    57Posts

    Re: Ver75 Medal Reward System ( Automactic ) Tested And It Really Works

    Quote Originally Posted by zactky View Post
    hey a little typo with this part

    Code:
    if (level == 10 && isCygnus()) {
                this.gainItem(1142066, (short) 1, false, false);
                dropMessage("You have obtained an Training Knight Medal for reaching level 70");
    shouldn't it be level 10 instead?
    PHP Code:
    Omg 

    you have obtained an Training Knight Medal 
    for reaching level 70

    change to

    you have obtained an Training Knight Medal 
    for reaching level 10 lol 
    Last edited by PandemicMS; 08-01-10 at 02:18 PM.

  11. #11
    I'm sexy and I know it :) Deagan ツ is offline
    True MemberRank
    Oct 2008 Join Date
    clubs ;\Location
    1,322Posts

    Re: Ver75 Medal Reward System ( Automactic ) Tested And It Really Works

    When will you stop these goddamn fail releases, and they say the shootsource release is killing this community... damn.
    Like god you have NO idea what you are doing, seriously, add gainitem? What kind of goddamn failure source does NOT have gainItem? (or a version of it)

    Oh and they can just continue achieving these medals if your server has rebirths, because there's no check for equipped items, stored items PLUS they can even give it to their friends for the time being.
    But sure, you got this from the vibrantms source didn't you? You wouldn't know better.

  12. #12
    Account Inactive jap0knees is offline
    InactiveRank
    Jul 2009 Join Date
    99Posts

    Re: Ver75 Medal Reward System ( Automactic ) Tested And It Really Works

    PandemicMS can only release leeched stuff and barely knows how to do that well. Release is for something you made otherwise it is a leak or leeched

    Pandemic you have earned this, i think it will fit your epenis.

    Last edited by jap0knees; 08-01-10 at 10:20 PM.

  13. #13
    Account Upgraded | Title Enabled! AxedMS is offline
    True MemberRank
    Dec 2008 Join Date
    362Posts

    Re: Ver75 Medal Reward System ( Automactic ) Tested And It Really Works

    Quote Originally Posted by deagan View Post
    When will you stop these goddamn fail releases, and they say the shootsource release is killing this community... damn.
    Like god you have NO idea what you are doing, seriously, add gainitem? What kind of goddamn failure source does NOT have gainItem? (or a version of it)

    Oh and they can just continue achieving these medals if your server has rebirths, because there's no check for equipped items, stored items PLUS they can even give it to their friends for the time being.
    But sure, you got this from the vibrantms source didn't you? You wouldn't know better.
    http://www.mediafire.com/?3djtkwmoflw
    by googling vibrantms - first link that appears is this

  14. #14
    Ultimate Member healthmepl0x is offline
    MemberRank
    Jan 2010 Join Date
    New YorkLocation
    168Posts

    Re: Ver75 Medal Reward System ( Automactic ) Tested And It Really Works

    Nice release

    ~Health

  15. #15
    I LOVE RAGEZONE! HaruTheHero is offline
    True MemberRank
    Jan 2010 Join Date
    MYOB!Location
    239Posts

    Re: Ver75 Medal Reward System ( Automactic ) Tested And It Really Works

    Quote Originally Posted by PandemicMS View Post
    open maplecharacter.java

    Add this anywhere

    PHP Code:
        public boolean gainItem(int idshort quantityboolean randomStatsboolean show) {
            if (
    quantity >= 0) {
                
    MapleItemInformationProvider ii MapleItemInformationProvider.getInstance();
                
    IItem item ii.getEquipById(id);
                
    MapleInventoryType type ii.getInventoryType(id);
                if (
    type.equals(MapleInventoryType.EQUIP) && !ii.isThrowingStar(item.getItemId()) && !ii.isBullet(item.getItemId())) {
                    if (!
    getInventory(type).isFull()) {
                        if (
    randomStats) {
                            
    MapleInventoryManipulator.addFromDrop(getClient(), ii.randomizeStats(getClient(), (Equipitem), false);
                        } else {
                            
    MapleInventoryManipulator.addFromDrop(getClient(), (Equipitemfalse);
                        }
                    } else {

                        
    dropMessage(1"Your inventory is full. Please remove an item from your " type.name().toLowerCase() + " inventory.");
                        return 
    false;
                    }
                } else if (
    MapleInventoryManipulator.checkSpace(getClient(), idquantity"")) {
                    if (
    id >= 5000000 && id <= 5000100) {
                        if (
    quantity 1) {
                            
    quantity 1;
                        }
                        
    int petId MaplePet.createPet(id);
                        
    MapleInventoryManipulator.addById(getClient(), id, (short1nullpetId);
                        if (
    show) {
                            
    this.getClient().getSession().write(MaplePacketCreator.getShowItemGain(idquantity));
                        }
                    } else {
                        
    MapleInventoryManipulator.addById(getClient(), idquantity"");
                    }
                } else {

                    
    dropMessage(1"Your inventory is full. Please remove an item from your " type.name().toLowerCase() + " inventory.");
                    return 
    false;
                }
                if (
    show) {
                    
    this.getClient().getSession().write(MaplePacketCreator.getShowItemGain(idquantitytrue));
                }
            } else {
                
    MapleInventoryManipulator.removeById(getClient(), MapleItemInformationProvider.getInstance().getInventoryType(id), id, -quantityfalsefalse);
            }
            return 
    true;
        } 
    find
    PHP Code:
    setHp(maxhp);
    setMp(maxmp);
    client.getSession().write(MaplePacketCreator.updatePlayerStats(statup));
    getMap().broadcastMessage(thisMaplePacketCreator.showForeignEffect(getId(), 0), false);
    recalcLocalStats();
    silentPartyUpdate();
    guildUpdate(); 
    below It Put
    PHP Code:
    if (level == 10 && isCygnus()) {
                
    this.gainItem(1142066, (short1falsefalse);
                
    dropMessage("You have obtained an Training Knight Medal for reaching level 10");
            }

            if (
    level == 30 && isCygnus()) {
                
    this.gainItem(1142067, (short1falsefalse);
                
    dropMessage("You have obtained an Official Cygnus Medal for reaching level 30");
            }

            if (
    level == 70 && isCygnus()) {
                
    this.gainItem(1142068, (short1falsefalse);
                
    dropMessage("You have obtained an Advanced Cygnus Medal for reaching level 70");
            }

            if (
    level == 120 && isCygnus()) {
                
    this.gainItem(1142069, (short1falsefalse);
                
    dropMessage("You have obtained a Captain Knight Medal for reaching level 120");
        }



    For Add Buddy And Gain Medal Open BuddylistModifyHandler.java


    find
    PHP Code:
    c.getSession().write(MaplePacketCreator.updateBuddylist(buddylist.getBuddies())); 
    Below it Put
    PHP Code:
    if (!c.getPlayer().haveItem(11420731truetrue)) {
                                
    c.getPlayer().gainItem(1142073, (short1falsefalse);
                                
    c.getPlayer().dropMessage("You have obtained the 'Be my Friend Medal'"); 
    COOL SHIT

    and lol i changed the drop message to broadcast message =) thx and nice release!

    PHP Code:
    MaplePacket packet MaplePacketCreator.serverNotice(5"[System]: " getName() + " have obtained an MedalName for reaching level Anylevel");
            try {
                
    getClient().getChannelServer().getWorldInterface().broadcastMessage(getName(), packet.getBytes());
            } catch (
    RemoteException e) {
                
    getClient().getChannelServer().reconnectWorld();
            } 
    ouh and you forgot this

    PHP Code:
    if (!c.getPlayer().haveItem(11420731truetrue)) { 
    just incase if you rebirth, it stop gaining the item again
    Last edited by HaruTheHero; 18-03-10 at 02:38 PM.




Page 1 of 2 12 LastLast

Advertisement