Thread: [PI] Buy Items From Quest Tab

Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1 [PI] Buy Items From Quest Tab 
    Banned
    Join Date
    Nov 2010
    Posts
    58
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Here is a basic snippet,

    Well if you want quick and effective shopping (basically) this is very basic but yet effective and dupe free im quite sure.

    Client.java

    Under Process Add:

    Code:
    getPA().sendFrame126("@[email protected] (200M)", 7341);
    clickingButtons.java

    Add this case:
    Code:
    case 28173:
    if (c.getItems().playerHasItem(995, 200000000)) {
        c.getItems().addItem(11694,1);
        c.getItems().deleteItem(995, ,200000000);
    } else if (c.getItems().playerHasItem(995, 200000000)) {
        c.sendMessage("You Need 200M To Buy a AGS.");
    			}
    break;
    Credits:
    Lsm1107
    Whoever made ItemAssistant.

    Reply With Quote  
     

  2. #2  
    Respected Member

    Join Date
    Jan 2009
    Posts
    5,682
    Thanks given
    1,093
    Thanks received
    3,494
    Discord
    View profile
    Rep Power
    5000
    It's called a Quest Interface for a reason... This is really basic to, good job?
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Nov 2010
    Posts
    58
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Yes it is a quest tab that can be used for several thngs Thanks anyway i just wanted something unique into server instead of same old thing so i though of this and done it quickly
    Reply With Quote  
     

  4. #4  
    Registered Member Santi Cazorla's Avatar
    Join Date
    Aug 2009
    Age
    24
    Posts
    1,137
    Thanks given
    258
    Thanks received
    55
    Rep Power
    7
    to easy for a snippet.
    Reply With Quote  
     

  5. #5  
    Banned
    Join Date
    Nov 2010
    Posts
    58
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Look at my post above you...
    Reply With Quote  
     

  6. #6  
    Registered Member pistolpete332's Avatar
    Join Date
    Jun 2010
    Posts
    261
    Thanks given
    40
    Thanks received
    7
    Rep Power
    4
    you need to remove the coins if they buy the item
    Reply With Quote  
     

  7. Thankful users:


  8. #7  
    🍕

    Linus's Avatar
    Join Date
    Dec 2008
    Age
    28
    Posts
    2,778
    Thanks given
    970
    Thanks received
    410
    Rep Power
    0
    Fail

    ╠╬╣
    ╦╦
    ╠╬╬╬╣
    ╠╬╬╬╬╬╬╣
    ╠╬╬╬╬╬╬╣
    ╚╩╩╩╩╩╩╝

    ╠╬╬╬╣

    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  9. Thankful user:


  10. #8  
    Registered Member
    Join Date
    Aug 2010
    Posts
    740
    Thanks given
    32
    Thanks received
    51
    Rep Power
    35
    why put it in process + doesnt take your money + if someone cant work out this they should die.
    [SPOIL]
    Quote Originally Posted by Archon Server View Post
    What do you mean compile?
    Quote Originally Posted by Hughes View Post
    I don't know the program i need to open a CLASS file since every time i try to open one in notepad it brings up random symbols.

    Quote Originally Posted by Flux View Post
    Quote Originally Posted by Tyluur View Post
    your better
    my better
    [/SPOIL]
    Reply With Quote  
     

  11. #9  
    Registered Member Falco Fury's Avatar
    Join Date
    Jun 2010
    Posts
    118
    Thanks given
    440
    Thanks received
    14
    Rep Power
    18
    Code:
    case 28173:
    	
    if (c.getItems().playerHasItem(995, 200000000)) {
        c.getItems().deleteItem(995,c.getItems().getItemSlot(995),200000000);
        c.getItems().addItem(11694,1);
    } else if (c.getItems().playerHasItem(995, 1200000000)) {
        c.sendMessage("You Need 200M To Buy a AGS.");
    			}
        break;
    Reply With Quote  
     

  12. #10  
    Banned
    Join Date
    Nov 2010
    Posts
    58
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    o soz i didnt see it wasnt removing the coins guys, Fixed it for yas thanks for telling me xD
    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. [PI] Quest tab add items and reset
    By kopjekoffiee in forum Requests
    Replies: 9
    Last Post: 10-22-2010, 05:00 PM
  2. Quest Items [Delta]
    By Nighel in forum Help
    Replies: 0
    Last Post: 06-08-2010, 09:17 PM
  3. Making Quest Tab Give You Items
    By Steve123 in forum Configuration
    Replies: 37
    Last Post: 06-11-2009, 03:17 AM
  4. Making Quest tab give items
    By 'Ramon in forum Snippets
    Replies: 28
    Last Post: 02-17-2009, 04:08 AM
  5. Quest Tab gives items?
    By Enjoi in forum Requests
    Replies: 6
    Last Post: 02-15-2009, 04:11 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
  •