Thread: easy question? ::master command

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 easy question? ::master command 
    Registered Member spikemaster1's Avatar
    Join Date
    May 2011
    Posts
    235
    Thanks given
    74
    Thanks received
    15
    Rep Power
    8
    Well i've a ::master command and i was wondering how i'd make it so that all skills except 1 (slayer; id 18 i believe) will level to 99.

    Thanks.
    Quote Originally Posted by i hit u quit View Post
    i always get this when i compile i need help btw running windows 7 x64
    Quote Originally Posted by i hit u quit View Post
    /close had friend help me fix
    Quote Originally Posted by spikemaster1 View Post
    its not a fucking error he cant fix this
    Reply With Quote  
     

  2. #2  
    Registered Member
    Apower's Avatar
    Join Date
    Sep 2008
    Age
    30
    Posts
    824
    Thanks given
    7
    Thanks received
    15
    Rep Power
    94
    You shouldn't use that signature if you asking that... Post your master command and I'll help.
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member spikemaster1's Avatar
    Join Date
    May 2011
    Posts
    235
    Thanks given
    74
    Thanks received
    15
    Rep Power
    8
    Not on my computer atm thats why im asking..
    Quote Originally Posted by i hit u quit View Post
    i always get this when i compile i need help btw running windows 7 x64
    Quote Originally Posted by i hit u quit View Post
    /close had friend help me fix
    Quote Originally Posted by spikemaster1 View Post
    its not a fucking error he cant fix this
    Reply With Quote  
     

  5. #4  
    Officially Retired

    Huey's Avatar
    Join Date
    Jan 2008
    Age
    22
    Posts
    16,478
    Thanks given
    3,385
    Thanks received
    7,727
    Rep Power
    5000
    Post the code
    Attached image
    Listen children don't become this guy.
    Quote Originally Posted by Owner Spikey View Post
    Why can I attack lower level npc's in a matter of a mouse hover but for a higher level npc the only choice to attack is by right clicking option attack?

    Reply With Quote  
     

  6. #5  
    Registered Member spikemaster1's Avatar
    Join Date
    May 2011
    Posts
    235
    Thanks given
    74
    Thanks received
    15
    Rep Power
    8
    Something like this if
    Code:
    (playerCommand.equalsIgnoreCase("master")) {
    for (int i = 0; i < 21; i++) {
    c.playerLevel[i] = 99;
    c.playerXP[i] = c.getPA().getXPForLevel(100);
    c.getPA().refreshSkill(i);
    } c.getPA().requestUpdates();
    }
    Not addexp and make an exception
    Quote Originally Posted by i hit u quit View Post
    i always get this when i compile i need help btw running windows 7 x64
    Quote Originally Posted by i hit u quit View Post
    /close had friend help me fix
    Quote Originally Posted by spikemaster1 View Post
    its not a fucking error he cant fix this
    Reply With Quote  
     

  7. #6  
    Officially Retired

    Huey's Avatar
    Join Date
    Jan 2008
    Age
    22
    Posts
    16,478
    Thanks given
    3,385
    Thanks received
    7,727
    Rep Power
    5000
    do it the ghetto way by adding to certian skills like addXp 14000 w.e
    Attached image
    Listen children don't become this guy.
    Quote Originally Posted by Owner Spikey View Post
    Why can I attack lower level npc's in a matter of a mouse hover but for a higher level npc the only choice to attack is by right clicking option attack?

    Reply With Quote  
     

  8. #7  
    Registered Member spikemaster1's Avatar
    Join Date
    May 2011
    Posts
    235
    Thanks given
    74
    Thanks received
    15
    Rep Power
    8
    Lol just posted that i'd rather now have it like that, was wondering if there was another way round
    Quote Originally Posted by i hit u quit View Post
    i always get this when i compile i need help btw running windows 7 x64
    Quote Originally Posted by i hit u quit View Post
    /close had friend help me fix
    Quote Originally Posted by spikemaster1 View Post
    its not a fucking error he cant fix this
    Reply With Quote  
     

  9. #8  
    Registered Member Pakku's Avatar
    Join Date
    Mar 2010
    Posts
    1,234
    Thanks given
    127
    Thanks received
    111
    Rep Power
    47
    just do if (i != c.playerSlayer)


    Reply With Quote  
     

  10. Thankful user:


  11. #9  
    Previously Hyperion


    Join Date
    Jan 2009
    Posts
    1,254
    Thanks given
    3
    Thanks received
    18
    Rep Power
    138
    Quote Originally Posted by stripies View Post
    just do if (i != c.playerSlayer)
    Why do you constantly post half assed help that invloves variable names that no server has?

    You can use the same loop for the skills to do what you just posted without needing some bullshit new variable declared

    Code:
    (playerCommand.equalsIgnoreCase("master")) {
    for (int i = 0; i < 21; i++) {
    if (i != slayerId(think its 18?)) {
    c.playerLevel[i] = 99;
    c.playerXP[i] = c.getPA().getXPForLevel(100);
    c.getPA().refreshSkill(i);
    } c.getPA().requestUpdates();
    }
    }
    Reply With Quote  
     

  12. Thankful user:


  13. #10  
    Registered Member riku9182's Avatar
    Join Date
    Sep 2010
    Age
    31
    Posts
    303
    Thanks given
    6
    Thanks received
    7
    Rep Power
    3
    Mental Piracy is 100% on it.
    Reply With Quote  
     

Page 1 of 2 12 LastLast

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. Easy questions
    By *MartiX in forum Help
    Replies: 0
    Last Post: 01-27-2011, 09:45 AM
  2. Few questions. (Easy rep+)
    By Cody_ in forum Help
    Replies: 1
    Last Post: 12-30-2010, 12:02 PM
  3. new type of pure command or master command
    By brodyjenkins in forum Configuration
    Replies: 18
    Last Post: 05-16-2010, 07:59 AM
  4. A few easy questions
    By FuglyNerd in forum Help
    Replies: 9
    Last Post: 11-21-2009, 12:09 AM
  5. Replies: 13
    Last Post: 04-26-2009, 09:56 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
  •