Thread: [PI]Quest Tab Question

Results 1 to 9 of 9
  1. #1 [PI]Quest Tab Question 
    Registered Member
    Join Date
    Jun 2011
    Posts
    16
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    K so lately I have gotten into the whole rsps. It's pretty cool but right now I am having trouble trying to make the quest tab give you items when clicked this is what I have so far in the quest tab.

    Code:
    	public void handleLoginText() {
    //Quest Tab
    c.getPA().sendFrame126("PeacePk", 640);
    c.getPA().sendFrame126("Gear", 663);
    c.getPA().sendFrame126("Maxed Gear", 7332);
    c.getPA().sendFrame126("Pure Gear", 7333);
    c.getPA().sendFrame126("Range Tank", 7334);
    c.getPA().sendFrame126("Zerker Gear", 7336);
    How can I make it so when someone clicks those it gives items I want to set?
    Please help thanks!
    Reply With Quote  
     

  2. #2  
    Banned imsuperman05's Avatar
    Join Date
    May 2011
    Posts
    410
    Thanks given
    21
    Thanks received
    25
    Rep Power
    0
    you gotta add it in clickingbutttons.java just rip it from DSPK its simpler
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jun 2011
    Posts
    16
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Quote Originally Posted by imsuperman05 View Post
    you gotta add it in clickingbutttons.java just rip it from DSPK its simpler
    Eh where in clicking buttons and what do I add?
    Reply With Quote  
     

  4. #4  
    Registered Member
    Vox''s Avatar
    Join Date
    Nov 2008
    Age
    31
    Posts
    3,113
    Thanks given
    49
    Thanks received
    181
    Rep Power
    731
    Under the case ID for the line

    Quote Originally Posted by Zirtrix View Post
    So I've recently changed some things in the server, but when i compile it says
    Code:
    source\server\model\players\packets\Commands.java: 58: error: cannot find symbol
    This.Antileech("Remove This Line");
    ^
    Anyone know the problem?
    Student and Developer for http://www.rune-server.org/runescape...pve-based.html
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jun 2011
    Posts
    16
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Quote Originally Posted by Vox` View Post
    Under the case ID for the line
    What so what im confused?
    Reply With Quote  
     

  6. #6  
    Banned imsuperman05's Avatar
    Join Date
    May 2011
    Posts
    410
    Thanks given
    21
    Thanks received
    25
    Rep Power
    0
    login ur client and click on the quest list and click the spot you want, and look at the run cmd and it should say "name" action button - "number" and keep that number and go to clicking buttons and search for it it should be as a case and under it add waht u want
    Reply With Quote  
     

  7. #7  
    Banned

    Join Date
    May 2011
    Posts
    1,238
    Thanks given
    193
    Thanks received
    267
    Rep Power
    0
    Click on the section of quest tab the text is on, then look on server cmd prompt, should say the button ID. Now go to ClickingButtons.java and add:

    Code:
    case #####://add your ID here
    			if (c.inWild() && c.isBanking) {
    				c.sendMessage("You cannot do this right now");
    			} else if(c.getItems().freeSlots() <= 1) {
    				c.sendMessage("You need atleast # free slot's to use this feature.");
    			} else if (c.getItems().playerHasItem(995, ####)) {
    				c.getItems().deleteItem2(995, ####);
    				c.getItems().addItem(####,####);
    			} else {
    				c.sendMessage("You need atleast ###### coins to use this feature.");
    			}
    			break;
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Jun 2011
    Posts
    16
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Quote Originally Posted by Kryptonite View Post
    Click on the section of quest tab the text is on, then look on server cmd prompt, should say the button ID. Now go to ClickingButtons.java and add:

    Code:
    case #####://add your ID here
    			if (c.inWild() && c.isBanking) {
    				c.sendMessage("You cannot do this right now");
    			} else if(c.getItems().freeSlots() <= 1) {
    				c.sendMessage("You need atleast # free slot's to use this feature.");
    			} else if (c.getItems().playerHasItem(995, ####)) {
    				c.getItems().deleteItem2(995, ####);
    				c.getItems().addItem(####,####);
    			} else {
    				c.sendMessage("You need atleast ###### coins to use this feature.");
    			}
    			break;
    Thank you very much
    Reply With Quote  
     

  9. #9  
    Banned

    Join Date
    May 2011
    Posts
    1,238
    Thanks given
    193
    Thanks received
    267
    Rep Power
    0
    Your welcome.
    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: 68
    Last Post: 08-30-2016, 11:36 PM
  2. Replies: 19
    Last Post: 08-21-2010, 09:49 PM
  3. Replies: 96
    Last Post: 07-30-2010, 08:46 PM
  4. Quest Tab Question
    By haxifix in forum Help
    Replies: 0
    Last Post: 09-22-2009, 12:40 AM
  5. Replies: 7
    Last Post: 08-09-2009, 09:06 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •