Thread: [PI] Quest Tab Skilling teleports [PI]

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 [PI] Quest Tab Skilling teleports [PI] 
    Donator
    Guy Sully's Avatar
    Join Date
    May 2009
    Posts
    295
    Thanks given
    10
    Thanks received
    11
    Rep Power
    41
    [PI] --- QUEST TAB SKILLING TELEPORT CASES --- [PI]

    I don't think this was released..
    I'm basically giving the cases,
    but also kind of telling where
    to put things if you've hadn't already known.

    Please just post if you've used

    Spoiler for Quest Tab Cases - Get When Clicked:

    Code:
    Smithing - 28164
    Fishing - 28165
    Cooking - 28166
    Woodcutting - 28168
    Firemaking - 28125
    Farming - 28171
    Herblore - 28170
    Runecrafting - 28172
    Thieving - 28178
    Fletching - 28173
    Crafting - 28174
    Mining - 28169
    These are how I have them in order.


    Spoiler for Help with the placement:

    Go to client.java

    Search for:
    Code:
     public void process() {
    Under that put in:

    Code:
    getPA().sendFrame126("Name of Server?", 640);
    getPA().sendFrame126("Skilling teleports", 663);
    getPA().sendFrame126("Mining...", 7332);
    getPA().sendFrame126("Smithing..", 7333);
    getPA().sendFrame126(" ", 7334);
    getPA().sendFrame126(" ", 7336);
    getPA().sendFrame126(" ", 7383);
    getPA().sendFrame126(" ", 7339);
    getPA().sendFrame126(" ", 7338);
    CLICK HERE TO CLEAN OUT THE REST OF THE QUESTS

    Next:
    Here are the cases for the teleports in the [PI] if you've left the skills how they are and where they are.

    >>>>Place these in the clickingbuttons.java<<<<
    Code:
     //Smithing
    		case 28164:
    		c.getPA().movePlayer(3079, 9501, 0);
    		
    			c.sendMessage("Welcome to Smithing Area.");
    			break;
    
    //Fishing/Cooking
    		case 28165:
    		case 28166:
    		c.getPA().movePlayer(2813, 3436, 0);
    		
    			c.sendMessage("Welcome to Fishing/Cooking Area, will improve soon!");
    			break;
    
    //Woodcutting/Firemaking
    		case 28215:
    		case 28168:
    		c.getPA().movePlayer(2724, 3484, 0);
    		
    			c.sendMessage("Welcome to Woodcutting/Firemaking Area");
    			c.sendMessage("Firemaking is disabled atm, will be added soon!");
    			break;
    
    //Farming/Herblore
    		case 28171:
    		case 28170:
    		c.getPA().movePlayer(2812, 3463, 0);
    		
    			c.sendMessage("To farm, use seeds on the patches bought from the skilling store!");
    			c.sendMessage("To get herbs, after you've grown a plant, pick the herbs");
    			c.sendMessage("To make potions, get a vial of water, and use a herb on it");
    			break;
    
    //Runecrafting
    		case 28172:
    		c.getPA().movePlayer(2641, 3172, 0);
    		
    			c.sendMessage("Welcome to Runecrafting, you need essense from the skilling shop!");
    			break;
    
    //Thieving
    		case 28178:
    		c.getPA().movePlayer(2661, 3309, 0);
    		
    			c.sendMessage("Welcome to the Thieving area, stalls will be added soon!");
    			break;
    
    //Fletching/Crafting
    		case 28173:
    		case 28174:
    		c.getPA().movePlayer(2601, 3083, 0);
    		
    			c.sendMessage("Welcome to Fletching/Crafting skilling shop!");
    			c.sendMessage("Trade Bob to buy Knives, Gems, Chisels, ECT!");
    			break;
    You might have to change a few things,
    some of the cases are to the same teleport..
    where ever you see a case on top of the other... just put the rest of the code under one..
    and change the coords..You'll figure it out. :]


    CHANGE THE COORDS TO WHERE EVER YOU WANT..
    Code:
    c.getPA().movePlayer(x, y, 0);

    >This is how it looked when I finished<



    Hope this helps. :]

    Quote Originally Posted by Swarfega View Post
    "Will hold at least 40% more players then an average Delta Scape"

    From what I hear, Delta starts lagging at 15 players online.
    40% of 15:
    0.4 x 15 = 6
    15 + 6 = 21
    Gz.
    Reply With Quote  
     

  2. #2  
    Donator
    Guy Sully's Avatar
    Join Date
    May 2009
    Posts
    295
    Thanks given
    10
    Thanks received
    11
    Rep Power
    41
    Alright everything is now figured out..
    There ya go people. ;}

    Quote Originally Posted by Swarfega View Post
    "Will hold at least 40% more players then an average Delta Scape"

    From what I hear, Delta starts lagging at 15 players online.
    40% of 15:
    0.4 x 15 = 6
    15 + 6 = 21
    Gz.
    Reply With Quote  
     

  3. #3  
    Registered Member Santi Cazorla's Avatar
    Join Date
    Aug 2009
    Posts
    1,137
    Thanks given
    258
    Thanks received
    55
    Rep Power
    7
    well done? wasnt that hard i guess.
    Reply With Quote  
     

  4. #4  
    Donator
    Guy Sully's Avatar
    Join Date
    May 2009
    Posts
    295
    Thanks given
    10
    Thanks received
    11
    Rep Power
    41
    nope,
    wasn't that hard. ;P

    Quote Originally Posted by Swarfega View Post
    "Will hold at least 40% more players then an average Delta Scape"

    From what I hear, Delta starts lagging at 15 players online.
    40% of 15:
    0.4 x 15 = 6
    15 + 6 = 21
    Gz.
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jan 2010
    Posts
    590
    Thanks given
    15
    Thanks received
    6
    Rep Power
    3
    Thanks, helped me
    Reply With Quote  
     

  6. #6  
    Austin_
    Guest
    Just wondering, but what you did is take the teleports for the magic spell teleport then color them, add a few lines of code, then done? It makes no sense to have two imo, but good job.
    Reply With Quote  
     

  7. #7  
    Extreme Donator


    Join Date
    Nov 2009
    Posts
    1,421
    Thanks given
    559
    Thanks received
    266
    Rep Power
    236
    Don't put them under process, I suggest you add them to playerAssistant.java

    Code:
    public void handleLoginText() {
    Add them in that void.
    Reply With Quote  
     

  8. #8  
    Donator
    Guy Sully's Avatar
    Join Date
    May 2009
    Posts
    295
    Thanks given
    10
    Thanks received
    11
    Rep Power
    41
    Quote Originally Posted by Austin_ View Post
    Just wondering, but what you did is take the teleports for the magic spell teleport then color them, add a few lines of code, then done? It makes no sense to have two imo, but good job.
    What do you mean?
    Are you talking about the magic tab teleports?
    I was thinking people could take those teleports out,
    and add something else useful that they've added.
    I mean the quest tab wasn't used for anything anyways.
    Unless someone added a quest, then they could use the
    magic tab teleport still, and add a "more" option.
    ..but I was just showing people how do this if they wanted it. :]

    Quote Originally Posted by Swarfega View Post
    "Will hold at least 40% more players then an average Delta Scape"

    From what I hear, Delta starts lagging at 15 players online.
    40% of 15:
    0.4 x 15 = 6
    15 + 6 = 21
    Gz.
    Reply With Quote  
     

  9. #9 Thank You! 
    Registered Member Beastly-Scape's Avatar
    Join Date
    Aug 2011
    Posts
    21
    Thanks given
    3
    Thanks received
    1
    Rep Power
    0
    Thank you! This was very helpfull, and made it a whole lot better to understand! I finally know some other basics of Java! Now it's time for me to go back to coding my server! ++REP++
    Reply With Quote  
     

  10. #10 Replacement Code 
    Registered Member Beastly-Scape's Avatar
    Join Date
    Aug 2011
    Posts
    21
    Thanks given
    3
    Thanks received
    1
    Rep Power
    0
    If you want your guy to do a teleport emote, replace the code with this:

    Code:
    //Smithing
    		case 28164: // action button: # goes here
    		c.getPA().startTeleport(3079, 9501, 0, "modern");
    		
    			c.sendMessage("Welcome to Smithing Area.");
    			break;
    
    //Fishing/Cooking
    		case 28165: // action button: # goes here
    		case 28166: // action button: # goes here
    		c.getPA().startTeleport(2813, 3436, 0, "modern");
    		
    			c.sendMessage("Welcome to Fishing/Cooking Area, will improve soon!");
    			break;
    
    //Woodcutting/Firemaking
    		case 28215: // action button: # goes here
    		case 28168: // action button: # goes here
    		c.getPA().startTeleport(2724, 3484, 0, "modern");
    		
    			c.sendMessage("Welcome to Woodcutting/Firemaking Area");
    			c.sendMessage("Firemaking is disabled atm, will be added soon!");
    			break;
    
    //Farming/Herblore
    		case 28171: // action button: # goes here
    		case 28170: // action button: # goes here
    		c.getPA().startTeleport(2812, 3463, 0, "modern");
    		
    			c.sendMessage("To farm, use seeds on the patches bought from the skilling store!");
    			c.sendMessage("To get herbs, after you've grown a plant, pick the herbs");
    			c.sendMessage("To make potions, get a vial of water, and use a herb on it");
    			break;
    
    //Runecrafting
    		case 28172: // action button: # goes here
    		c.getPA().startTeleport(2641, 3172, 0, "modern");
    		
    			c.sendMessage("Welcome to Runecrafting, you need essense from the skilling shop!");
    			break;
    
    //Thieving
    		case 28178: // action button: # goes here
    		c.getPA().startTeleport(2661, 3309, 0, "modern");
    		
    			c.sendMessage("Welcome to the Thieving area, stalls will be added soon!");
    			break;
    
    //Fletching/Crafting
    		case 28173: // action button: # goes here
    		case 28174: // action button: # goes here
    		c.getPA().startTeleport(2601, 3083, 0, "modern");
    		
    			c.sendMessage("Welcome to Fletching/Crafting skilling shop!");
    			c.sendMessage("Trade Bob to buy Knives, Gems, Chisels, ECT!");
    			break;
    The case number is the button you press. To find this out just click any telport button you added, and go back to your server ("RunServer.cmd") or whatever, and in the cmd it will tell you that you clicked actionbutton: #number here#. Replace that number over the case of the teleport you want in clickingbuttons.java. Once you have did that save it, compile, and restart the server. Then click the teleport button that you just edited, and you should be able to teleport to whatever position, and it should start an animation teleport thing!

    I hoped I helped!
    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. 508 Quest Tab into Teleports
    By Stapler in forum Help
    Replies: 3
    Last Post: 08-05-2010, 04:41 PM
  2. quest tab teleports
    By Boxxy in forum Help
    Replies: 1
    Last Post: 12-12-2009, 12:49 PM
  3. Teleports in quest menu
    By ragean in forum Requests
    Replies: 2
    Last Post: 12-03-2009, 01:52 AM
  4. adding teleports on quest tab?
    By x firecape x in forum Help
    Replies: 4
    Last Post: 04-12-2009, 10:45 AM
  5. [Emulous] Quest-tab teleports
    By IStinkAtPhp in forum Help
    Replies: 3
    Last Post: 02-26-2009, 11:33 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
  •