Thread: PK Points exchane issue

Results 1 to 9 of 9
  1. #1 PK Points exchane issue 
    jack24
    Guest
    I am using delta atm, and for the pk points shop, when I value the item, I want it to say "This item is worth .... Pk Points" instad of coins.

    How i do it.

    kthxbai
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Mar 2009
    Age
    31
    Posts
    1,008
    Thanks given
    32
    Thanks received
    7
    Rep Power
    111
    give me the code....
    Reply With Quote  
     

  3. #3  
    gwasbuck3t
    Guest
    search for interfaceID == 3900

    Code:
    			else if (interfaceID == 3900) 
    			{
    				// Show value to buy items
    				int ShopValue = (int) Math.floor(GetItemShopValue(removeID, 0,removeSlot));
    				String ShopAdd = "";
    
    				if ((ShopValue >= 1000) && (ShopValue < 1000000)) {
    					ShopAdd = " (" + (ShopValue / 1000) + "K)";
    				} else if (ShopValue >= 1000000) {
    					ShopAdd = " (" + (ShopValue / 1000000) + " million)";
    				}
    				if (MyShopID == 44) {
    				
    						sM(getItemName(removeID)+": currently costs "+ShopValue+" points"+ShopAdd);
    				}
    				else 
    				{
    					sM(getItemName(removeID)+": currently costs "+ShopValue+" coins"+ShopAdd);
    				}	
    			}
    change the shop id to your pk point shop.
    Reply With Quote  
     

  4. #4  
    jack24
    Guest
    no. i mean everything works fine. but when i right click and value it, i wanan change it so this item is worth blah blah pk points not coins..
    Reply With Quote  
     

  5. #5  
    Banned

    Join Date
    May 2009
    Posts
    1,387
    Thanks given
    21
    Thanks received
    14
    Rep Power
    0
    The person above you already posted the right code.

    Just add:

    Code:
    if (MyShopID == IDHERE) {
                sM(getItemName(removeID)+": currently costs "+ShopValue+" PK points"+ShopAdd);
    					}
    Reply With Quote  
     

  6. #6  
    jack24
    Guest
    thanks guys but not both the coins and pk points show when you value the item. how do i remove the coins one.
    Reply With Quote  
     

  7. #7  
    gwasbuck3t
    Guest
    Code:
    if(ShopID != YOURPKSHOP)
    				{
    					sM(getItemName(removeID)+": currently costs "+ShopValue+" coins"+ShopAdd);
    				}
    Reply With Quote  
     

  8. #8  
    jack24
    Guest
    this is the current code:

    Code:
    			} else if (interfaceID == 3900) 
    			{
    				// Show value to buy items
    				int ShopValue = (int) Math.floor(GetItemShopValue(removeID, 0,removeSlot));
    				String ShopAdd = "";
    
    				if ((ShopValue >= 1000) && (ShopValue < 1000000)) {
    					ShopAdd = " (" + (ShopValue / 1000) + "K)";
    				} else if (ShopValue >= 1000000) {
    					ShopAdd = " (" + (ShopValue / 1000000) + " million)";
    				}
    				if (MyShopID == 6) {
                sM(getItemName(removeID)+": currently costs "+ShopValue+" PK Points."+ShopAdd);
    					} else {
                sM(getItemName(removeID)+": currently costs "+ShopValue+" coins."+ShopAdd);
    					}
    my shop id is 6. when i value the item, both the value of pk points and coins come out. i wanna remove the coins one. thanks
    Reply With Quote  
     

  9. #9  
    jack24
    Guest
    hello. any help
    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

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •