Thread: Cant buy items from point shop [PI]

Results 1 to 3 of 3
  1. #1 Cant buy items from point shop [PI] 
    Banned
    Join Date
    Aug 2013
    Posts
    234
    Thanks given
    136
    Thanks received
    60
    Rep Power
    0
    So I can buy items from every other shop but shop 43.
    here is my ShopAssistant.java:

    ShopAssistant.Java - Pastebin.com

    shop = 43

    Any help will be appreciated.
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Feb 2012
    Posts
    153
    Thanks given
    51
    Thanks received
    4
    Rep Power
    0
    Search for:
    Code:
             public void handleOtherShop(int itemID) {
                            if (c.myShopId == 20) {
                                    if (c.pcPoints >= getSpecialItemValue(itemID)) {
                                            if (c.getItems().freeSlots() > 0){
                                                    c.pcPoints -= getSpecialItemValue(itemID);
                                                    c.getItems().addItem(itemID,1);
                                                    c.getItems().resetItems(3823);
                                            }
                                    } else {
                                            c.sendMessage("You do not have enough Rune-X-Scape Points to buy this item.");                 
                                    }
                            }
    And add your shop 43 below.
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Banned
    Join Date
    Aug 2013
    Posts
    234
    Thanks given
    136
    Thanks received
    60
    Rep Power
    0
    Quote Originally Posted by oldschoolmaker View Post
    Search for:
    Code:
             public void handleOtherShop(int itemID) {
                            if (c.myShopId == 20) {
                                    if (c.pcPoints >= getSpecialItemValue(itemID)) {
                                            if (c.getItems().freeSlots() > 0){
                                                    c.pcPoints -= getSpecialItemValue(itemID);
                                                    c.getItems().addItem(itemID,1);
                                                    c.getItems().resetItems(3823);
                                            }
                                    } else {
                                            c.sendMessage("You do not have enough Rune-X-Scape Points to buy this item.");                 
                                    }
                            }
    And add your shop 43 below.
    Thanked and repped. Thanks a lot
    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: 3
    Last Post: 07-17-2013, 06:17 PM
  2. Replies: 4
    Last Post: 06-28-2013, 02:25 AM
  3. Replies: 12
    Last Post: 12-27-2012, 03:01 AM
  4. [PI] Can't buy items from pkp shop
    By MrBeka in forum Help
    Replies: 2
    Last Post: 02-11-2012, 09:57 AM
  5. Replies: 7
    Last Post: 06-16-2008, 12:35 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
  •