Thread: Elvarg / OSRS / MistPS - Help

Results 1 to 5 of 5
  1. #1 Elvarg / OSRS / MistPS - Help 
    Banned
    Join Date
    Apr 2016
    Posts
    150
    Thanks given
    51
    Thanks received
    3
    Rep Power
    0
    I'm looking to add an npc that can heal you.

    NPC ADDED.
    NPC RESTORED HITPOINTS AND PRAYER POINTS


    I got the code for hitpoints and prayer points restore but I need ur help to rename it for me:
    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);
    Will repp+ and thanks button.


    ONE MORE QUESTION:

    How do I move npcs face? from 1-5
    Reply With Quote  
     

  2. #2  
    Rune-Server Affiliate

    Join Date
    Oct 2010
    Posts
    2,842
    Thanks given
    1,188
    Thanks received
    1,580
    Rep Power
    5000
    Take a look at the methods in player.getSkillManager()
    [Today 01:29 AM] RSTrials: Nice 0.97 Win/Loss Ratio luke. That's pretty bad.
    [Today 01:30 AM] Luke132: Ok u fucking moron i forgot i could influence misc.random
    Quote Originally Posted by Mille View Post
    but a model program? Would it be possible to use paint?
    Quote Originally Posted by ED3N View Post
    What do you know about Public Void and int without this [] is only 1 integer, why?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Feb 2015
    Posts
    740
    Thanks given
    4
    Thanks received
    145
    Rep Power
    54
    I'll supply the prayer code, just read through and add the hp stuff.



    Code:
    if (player.getSkillManager().getCurrentLevel(Skill.PRAYER) >= player.getSkillManager().getMaxLevel(Skill.PRAYER)) {
    				player.getPacketSender().sendMessage("You already have full prayer points.");
    				return;
    			}
    			player.performAnimation(new Animation(645));
    			player.getPacketSender().sendMessage("You recharge your prayer points.");
    			player.getSkillManager().setLevel(Skill.PRAYER, player.getSkillManager().getMaxLevel(Skill.PRAYER));
    Reply With Quote  
     

  4. Thankful user:


  5. #4  
    Registered Member
    Join Date
    Oct 2012
    Posts
    2
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Quote Originally Posted by Professor Oak View Post
    Take a look at the methods in player.getSkillManager()
    Hello I've been trying to change client background and it just won't work I sized it the same and it still won't work any help or ideas for osrs by professor oak and also how do I set certain things like ipban only for owners because it doesn't show rights=3 if anyone can help me let me know

    Quote Originally Posted by Professor Oak View Post
    Take a look at the methods in player.getSkillManager()
    Hello I've been trying to change client background and it just won't work I sized it the same and it still won't work any help or ideas for osrs by professor oak and also how do I set certain things like ipban only for owners because it doesn't show rights=3 if anyone can help me let me know

    and do what can u add my skype please or pm me yours?
    Reply With Quote  
     

  6. #5  
    Registered Member
    Join Date
    Feb 2015
    Posts
    740
    Thanks given
    4
    Thanks received
    145
    Rep Power
    54
    Quote Originally Posted by oreo27 View Post
    Hello I've been trying to change client background and it just won't work I sized it the same and it still won't work any help or ideas for osrs by professor oak and also how do I set certain things like ipban only for owners because it doesn't show rights=3 if anyone can help me let me know



    Hello I've been trying to change client background and it just won't work I sized it the same and it still won't work any help or ideas for osrs by professor oak and also how do I set certain things like ipban only for owners because it doesn't show rights=3 if anyone can help me let me know

    and do what can u add my skype please or pm me yours?
    For client background changing use this packer: [Only registered and activated users can see links. ]

    As for the rights, change your character rights to: "DEVELOPER". Then look through commandpacketlistener.java for commands.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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

Similar Threads

  1. Replies: 15
    Last Post: 07-21-2017, 03:06 PM
  2. Replies: 4
    Last Post: 04-27-2017, 03:39 AM
  3. osrs-pvp help
    By we nh 247 in forum Buying
    Replies: 5
    Last Post: 01-10-2017, 07:05 PM
  4. Full OSRS added. Help with NPC's+objects ?!
    By Matt__OS in forum Buying
    Replies: 9
    Last Post: 10-01-2016, 11:42 AM
  5. OSRS boss help please!
    By sbain9395 in forum Help
    Replies: 4
    Last Post: 02-21-2015, 04:36 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
  •