MoopleDev Hired Merchants Bug Fix

Results 1 to 11 of 11
  1. #1
    Eternal Slumber Meteorite is offline
    MemberRank
    Jun 2008 Join Date
    875Posts

    MoopleDev Hired Merchants Bug Fix

    Anyways, here's a brief explanation about this glitch, whenever the Owner of a Hired Merchant puts the Merchant into Maintenance, anyone who Clicks on the Merchant will get Bugged. They can't click on any other Merchants. When the Bugged Player logs out, the Player becomes stuck, and unable to Login until the next server restart.

    PlayerInteractionHandler:
    Code:
                    } else if (ob instanceof HiredMerchant && chr.getHiredMerchant() == null) {
                        HiredMerchant merchant = (HiredMerchant) ob;
                        if (merchant.isOwner(c.getPlayer())) {
                            merchant.setOpen(false);
                            merchant.removeAllVisitors("");
                            c.announce(MaplePacketCreator.getHiredMerchant(chr, merchant, false));
                        } else if (!merchant.isOpen()) {
                            chr.dropMessage(1, "This shop is in maintenance, please come by later.");
                            return;
                        } else if (merchant.getFreeSlot() == -1) {
                            chr.dropMessage(1, "This shop has reached it's maximum capacity, please come by later.");
                            return;
                        } else {
                            merchant.addVisitor(c.getPlayer());
                            c.announce(MaplePacketCreator.getHiredMerchant(c.getPlayer(), merchant, false));
                        }
                        chr.setHiredMerchant(merchant);
                    }
                }
    Credits:
    Myself
    Last edited by Meteorite; 25-04-11 at 12:52 PM.


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

    Re: MoopleDev Hired Merchants Bug Fix

    Thanks, you save me some work (:

  3. #3
    Account Upgraded | Title Enabled! JewSanta is offline
    MemberRank
    Mar 2009 Join Date
    1,264Posts

    Re: MoopleDev Hired Merchants Bug Fix

    Thank you, this one made my day :)

  4. #4
    :) iJFAC is offline
    MemberRank
    Sep 2007 Join Date
    SomewhereLocation
    519Posts

    Re: MoopleDev Hired Merchants Bug Fix

    Terrific xD, Liked, and thanks for the release .. :D

  5. #5
    Account Upgraded | Title Enabled! HELOHELO is offline
    MemberRank
    May 2008 Join Date
    SingaporeLocation
    341Posts

    Re: MoopleDev Hired Merchants Bug Fix

    That's is mushie lock? thanks for the fix.

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

    Re: MoopleDev Hired Merchants Bug Fix

    Quote Originally Posted by HELOHELO View Post
    That's is mushie lock? thanks for the fix.
    No, but it was a bug in my source. And mushie lock is only available in GMS. Not in Private Servers. Well at least, it shouldn't be.

  7. #7
    Account Upgraded | Title Enabled! AuroX is offline
    MemberRank
    Sep 2008 Join Date
    1,431Posts

    Re: MoopleDev Hired Merchants Bug Fix

    O.o What's mushie lock? >.<

  8. #8
    Valued Member xXxMarcoxXx is offline
    MemberRank
    Dec 2008 Join Date
    105Posts

    Re: MoopleDev Hired Merchants Bug Fix

    hello. does this thing work? I tried it but it still stuck me. any help pls? thank you!

  9. #9
    Member JesusDark is offline
    MemberRank
    Aug 2010 Join Date
    EL MatatanLocation
    63Posts

    Re: MoopleDev Hired Merchants Bug Fix

    Good Job :)

  10. #10
    Enthusiast ForTheLolz is offline
    MemberRank
    May 2011 Join Date
    27Posts

    Re: MoopleDev Hired Merchants Bug Fix

    That's kinda cool, bumping a 2 months-old thread.
    But the release is pretty nice.
    Even though when I tried it, the bug happened whenever I clicked the shop. But that's probably my stupid edits... :p

  11. #11
    Banned Laboratory is offline
    BannedRank
    Jun 2011 Join Date
    91Posts

    Re: MoopleDev Hired Merchants Bug Fix

    Quote Originally Posted by ForTheLolz View Post
    That's kinda cool, bumping a 2 months-old thread.
    But the release is pretty nice.
    Even though when I tried it, the bug happened whenever I clicked the shop. But that's probably my stupid edits... :p
    it's old, so it's obviously already implemented in Moople already.



Advertisement