Welcome to RuneLocus! If you are new, register now —or—

User Tag List

Results 1 to 7 of 7
  1. #1

    Join Date
    May 2013
    Posts
    5
    Thanks
    0
    Mentioned
    0 times
    Tagged
    0 Thread(s)

    Red face ::master command to the runelocus starter pack

    Hey guys, this is for the Runelocus starter pack

    Could any pro at there provide a nice little guide on how to add it ( like what code and where to put it) . I know i sound like a massive noob but we've got to start somewhere. ;p Any help would be greatly appreciated

  2. #2

    Join Date
    Jun 2010
    Posts
    2,413
    Thanks
    403
    Mentioned
    0 times
    Tagged
    0 Thread(s)
    Commands class

    Code:
    				if (playerCommand.equalsIgnoreCase("master")) {
    				for (int i = 0; i < 24; i++) {
    					c.playerLevel[i] = 99;
    					c.playerXP[i] = c.getPA().getXPForLevel(99);
    					c.getPA().refreshSkill(i);	
    				}
    				c.getPA().requestUpdates();
    			}
        
        }







    TheHitman owns 69 games worth: $943.48 USD

  3. #3

    Join Date
    May 2013
    Posts
    5
    Thanks
    0
    Mentioned
    0 times
    Tagged
    0 Thread(s)
    Attachment 8110

    a lot of weird symbols pop up when i open that and ty for getting back to me so fast :-)

  4. #4

    Join Date
    Jun 2010
    Posts
    11,056
    Thanks
    3256
    Mentioned
    44 times
    Tagged
    1 Thread(s)
    Commands.java <- Open that one in notepad

    | FAQ | Contact Us | Toplist Reports | Feedback | Advertisements
    |
    Welcome to RuneLocus: The RuneScape Private Server Resource & Community

  5. #5

    Join Date
    May 2013
    Posts
    5
    Thanks
    0
    Mentioned
    0 times
    Tagged
    0 Thread(s)
    Thanks Okay ive put the code in, saved and compiled but it doesnt work :/

  6. #6

    Join Date
    Jun 2010
    Posts
    2,413
    Thanks
    403
    Mentioned
    0 times
    Tagged
    0 Thread(s)
    Quote Originally Posted by Centurion View Post
    Thanks Okay ive put the code in, saved and compiled but it doesnt work :/
    Make sure it's under

    Code:
    public void playerCommands(Client c, String playerCommand)
        {
    Or whichever you want to give it to.. voids should be simple enough after the playerCommands

    Code:
    public void moderatorCommands(Client c, String playerCommand)
        {
    etc, etc







    TheHitman owns 69 games worth: $943.48 USD

  7. #7

    Join Date
    Jul 2013
    Posts
    1
    Thanks
    0
    Mentioned
    0 times
    Tagged
    0 Thread(s)
    where could i find commands.java or commands.class in the pack?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •