[MapleQuest] Why do we need to call checkNPCOnMap()?

Results 1 to 6 of 6
  1. #1
    Proficient Member Mr mr is offline
    MemberRank
    Mar 2013 Join Date
    167Posts

    [MapleQuest] Why do we need to call checkNPCOnMap()?

    I'm checking why the lightbulb dosnt work in moopleDev. And i saw theres a thing on the code that don't let the player complete the quest if the plays isnt at the npc map. Theres a method called "checkNPCOnMap". So i thinking on remove this method. Will this change give me problems? Because I don't know why this method is called.Thanks.
    http://trac.assembla.com/MoopleDEV/b...apleQuest.java


  2. #2
    I'm overrated. Fraysa is offline
    MemberRank
    Apr 2008 Join Date
    4,891Posts

    Re: [MapleQuest] Why do we need to call checkNPCOnMap()?

    In case someone sends the complete quest packet when they're not in the NPC's map. For that Nexon made another money-making item that auto completes quests.

  3. #3
    Proficient Member Mr mr is offline
    MemberRank
    Mar 2013 Join Date
    167Posts

    Re: [MapleQuest] Why do we need to call checkNPCOnMap()?

    So if I remove it, will not make difference, right?
    Because I also can't complete the quest using the lightbulb

  4. #4
    I'm overrated. Fraysa is offline
    MemberRank
    Apr 2008 Join Date
    4,891Posts

    Re: [MapleQuest] Why do we need to call checkNPCOnMap()?

    I'm not sure. Try to look at a different MapleQuest file from v117, to see if it's removed there. I'm not sure how the lightbulb works.

  5. #5
    Proficient Member Mr mr is offline
    MemberRank
    Mar 2013 Join Date
    167Posts

    Re: [MapleQuest] Why do we need to call checkNPCOnMap()?

    I think it is a useless hack for a private. Btw, i'm going to remove it from the code to put the light working.
    Thanks.

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

    Re: [MapleQuest] Why do we need to call checkNPCOnMap()?

    Quote Originally Posted by Fraysa View Post
    In case someone sends the complete quest packet when they're not in the NPC's map. For that Nexon made another money-making item that auto completes quests.
    I think packet contains object id too.



Advertisement