[HELP] Click NPC v.83

Results 1 to 4 of 4
  1. #1
    Account Upgraded | Title Enabled! GabrielSin is offline
    MemberRank
    Apr 2010 Join Date
    483Posts

    [HELP] Click NPC v.83

    I wonder if it is possible to give 2 clicks on the NPC in version 0.83, similar to v.62?


  2. #2
    Gamma Xerixe is offline
    MemberRank
    Apr 2008 Join Date
    MalaysiaLocation
    3,605Posts

    Re: [HELP] Click NPC v.83

    It is possible, but probably not that simple.
    When it sends the click NPC packet, store it somewhere with the NPC they're going to click, probably with the time as well? But not show the NPC yet.
    Then when they click on it the second time, and if it's less say withint 1-2 seconds? It'll open the NPC.

  3. #3
    Account Upgraded | Title Enabled! GabrielSin is offline
    MemberRank
    Apr 2010 Join Date
    483Posts

    Re: [HELP] Click NPC v.83

    Quote Originally Posted by Xerixe View Post
    It is possible, but probably not that simple.
    When it sends the click NPC packet, store it somewhere with the NPC they're going to click, probably with the time as well? But not show the NPC yet.
    Then when they click on it the second time, and if it's less say withint 1-2 seconds? It'll open the NPC.
    I could not do that in NPCTalkHandler.java?

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

    Re: [HELP] Click NPC v.83

    Like Xerixe said, it is possible to make it work by making a 1 second timer (and storing the NPC's ID) when clicking on the npc, and when clicking again, if the timer is not up yet, and it is the second click, open the NPC.



Advertisement