Thread: Vencilliot - How to add Healer Npc?

Results 1 to 6 of 6
  1. #1 Vencilliot - How to add Healer Npc? 
    Banned
    Join Date
    Apr 2016
    Posts
    150
    Thanks given
    51
    Thanks received
    3
    Rep Power
    0
    I'm looking about to add a healer npc; I can add it on PI but on this server Its not simple, so for who will help me with this I will rep+ + Thanks button.

    I added the npc on home already all that I need if people firstclickNpc + secondClickNpc it will heal their hp + prayer points with dialouge: " I restored your hitpoints and prayer points" I hope you help me thanks
    Reply With Quote  
     

  2. #2  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    Look into the source and see if it has any other dialogue setup and try to copy that to your npc when click on it or second click to it starting the dialogue. Next after your player are at the stage to refill hp + prayer just add or make a method to add skill points to a player.
    This all depend on how the server source has laid it all out and you have to find it all.


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Apr 2016
    Posts
    150
    Thanks given
    51
    Thanks received
    3
    Rep Power
    0
    Quote Originally Posted by arch337 View Post
    Look into the source and see if it has any other dialogue setup and try to copy that to your npc when click on it or second click to it starting the dialogue. Next after your player are at the stage to refill hp + prayer just add or make a method to add skill points to a player.
    This all depend on how the server source has laid it all out and you have to find it all.
    This doesn't help me , I need the codes mate.
    Reply With Quote  
     

  4. #4  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    Quote Originally Posted by Tammer View Post
    This doesn't help me , I need the codes mate.
    Then provide some codes cause you provided text and I explained what you should do. If you want me to further help you the codes that I explained would be good.


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  5. #5  
    WHAT DO I PUT HERE!?

    Join Date
    Apr 2015
    Posts
    294
    Thanks given
    3
    Thanks received
    47
    Rep Power
    44
    Quote Originally Posted by Tammer View Post
    This doesn't help me , I need the codes mate.
    Learn Java then what he said will help you.
    Don't expect to be spoonfed, arch was trying to give you an explanation on how you would go about it.
    Reply With Quote  
     

  6. #6  
    Banned
    Join Date
    Apr 2016
    Posts
    150
    Thanks given
    51
    Thanks received
    3
    Rep Power
    0
    Quote Originally Posted by arch337 View Post
    Then provide some codes cause you provided text and I explained what you should do. If you want me to further help you the codes that I explained would be good.
    In actionHandler.Java

    case 962:
    c.getDH().sendDialogues(946, npcType);
    {
    c.gfx100(434);
    c.playerLevel[5] = c.getPA().getLevelForXP(c.playerXP[5]);
    c.getPA().getLevelForXP(c.playerXP[5]);
    c.playerLevel[3] = c.getPA().getLevelForXP(c.playerXP[3]);
    c.getPA().getLevelForXP(c.playerXP[3]);
    c.getPA().refreshSkill(5);
    c.getPA().refreshSkill(3);
    }
    break;

    I hope you replace this code to vencillio.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 3
    Last Post: 06-09-2011, 03:54 PM
  2. [PI] How to add an NPC that talks?[PI]
    By x dh x in forum Help
    Replies: 0
    Last Post: 12-08-2010, 12:58 PM
  3. Replies: 6
    Last Post: 01-31-2010, 08:14 PM
  4. Replies: 1
    Last Post: 01-31-2010, 10:11 AM
  5. Replies: 5
    Last Post: 01-29-2010, 08:12 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •