Thread: Donator point shop buying does not work

Results 1 to 3 of 3
  1. #1 Donator point shop buying does not work 
    Donator

    Join Date
    Jun 2012
    Posts
    637
    Thanks given
    129
    Thanks received
    87
    Rep Power
    57
    what am i doing wrong?
    Code:
            if (c.myShopId == 9) {
                c.sendMessage(c.getItems().getItemName(removeId)+": currently costs " + getSpecialItemValue(removeId) + " Donor Points.");
                return;
    Code:
    	public boolean sellItem(int itemID, int fromSlot, int amount) {
    		if (c.myShopId == 9)
    			return false;
    Code:
    if (Server.shopHandler.ShopItems[c.myShopId][fromSlot]-1 != itemID && c.myShopId != 14) {
    			return false;
    		}
    	} else if (c.myShopId == 9) {
    		handleOtherShop(itemID);
    		return false;
    Code:
    				if (Slot == -1 && c.myShopId != 48 && c.myShopId != 15 && c.myShopId != 90 && c.myShopId != 9) {
    					c.sendMessage("You don't have enough coins.");
    					break;
    Reply With Quote  
     

  2. #2  
    Donator

    Join Date
    Jun 2012
    Posts
    637
    Thanks given
    129
    Thanks received
    87
    Rep Power
    57
    bump
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Apr 2013
    Posts
    108
    Thanks given
    11
    Thanks received
    3
    Rep Power
    0
    I'll get my code, hang in there!
    For the time being, i suggest you use this tutorial!
    www.rune-server.org/.../378312-pi-how-make-donator-shop-pi.html
    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: 1
    Last Post: 05-04-2011, 11:26 PM
  2. pm offline does not work
    By Wizard ebodA in forum Help
    Replies: 4
    Last Post: 03-15-2011, 10:41 PM
  3. Replies: 0
    Last Post: 11-15-2010, 05:49 AM
  4. Voting in Server top does not work properly
    By Chaoticscape in forum Complaints
    Replies: 3
    Last Post: 10-13-2010, 07:53 PM
  5. Replies: 6
    Last Post: 07-27-2010, 02:27 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
  •