Thread: [PI] Make pk store buy items back for less pk points.

Results 1 to 9 of 9
  1. #1 [PI] Make pk store buy items back for less pk points. 
    Registered Member 1defk0's Avatar
    Join Date
    Oct 2008
    Age
    25
    Posts
    225
    Thanks given
    5
    Thanks received
    3
    Rep Power
    0
    hello,

    I want to make so my pk store will buy back items but for a lower price.

    example: D claws cost 100 points but when u sale it back you get 75pk points for it.

    does someone haves a way ?
    Reply With Quote  
     

  2. #2  
    Registered Member 1defk0's Avatar
    Join Date
    Oct 2008
    Age
    25
    Posts
    225
    Thanks given
    5
    Thanks received
    3
    Rep Power
    0
    bump
    Reply With Quote  
     

  3. #3  
    Registered Member Verisimilitude's Avatar
    Join Date
    Mar 2012
    Age
    23
    Posts
    488
    Thanks given
    45
    Thanks received
    17
    Rep Power
    0
    Bumpin, kuz i need diz too ;\
    [spoil][/spoil]
    Code:
    [Today 05:35 AM] Verisimilitude: My new siggy
    [Today 05:34 AM] Verisimilitude: Ikr
    [Today 05:34 AM] a Kitty: 'there is litteraly nothing i can do to reach him, so i will just stand here and accept my fate'

    Reply With Quote  
     

  4. #4  
    Registered Member Blaze3211's Avatar
    Join Date
    Dec 2012
    Posts
    384
    Thanks given
    39
    Thanks received
    4
    Rep Power
    10
    Bumpin, cuz i need dis 2, but 4 donator shop
    Reply With Quote  
     

  5. #5  
    Ratted Donor

    Join Date
    Feb 2013
    Posts
    676
    Thanks given
    117
    Thanks received
    59
    Rep Power
    21
    Search it up + it's easy + if you complain that theres no such thing go shove a shovel into your stupid heads(search first before you post...).
    [CENTER]
    Spoiler for Vouches (2):

    Quote Originally Posted by SHIFT_ View Post
    Great doing business! Bought 75M purchased relatively smoothly.
    Quote Originally Posted by Luzoxpk View Post
    bug fixed thanks linas


    Spoiler for Peeps i respect::

    Arham 4 , Sheepmonger , Linus, LuzoxPk (ipkmills)
    Reply With Quote  
     

  6. #6  
    Banned
    Join Date
    Oct 2013
    Age
    22
    Posts
    687
    Thanks given
    15
    Thanks received
    68
    Rep Power
    0
    Quote Originally Posted by linas View Post
    Search it up + it's easy + if you complain that theres no such thing go shove a shovel into your stupid heads(search first before you post...).
    Hey idiot if you're not going to bother and help, or give some examples shove that shovel up your ass.

    This is just an example, so do not copy this.

    1) Their should be a method where your custom items are sold for this certain amount of point, since you're using PI. Something like this: getSpecialItemValue(int id) {
    Code:
    /**
     * Changes the price of a 'used' item.
     * @return the value
     */
    public int getUsedPrice(int id) {
         return getSpecialItemValue(id) - discount;
    }
    
    /**
     * The custom discount. x[
     */
    public double discount = 0.25;
    Reply With Quote  
     

  7. #7  
    Ratted Donor

    Join Date
    Feb 2013
    Posts
    676
    Thanks given
    117
    Thanks received
    59
    Rep Power
    21
    Quote Originally Posted by Dri Comics View Post
    Hey idiot if you're not going to bother and help, or give some examples shove that shovel up your ass.

    This is just an example, so do not copy this.

    1) Their should be a method where your custom items are sold for this certain amount of point, since you're using PI. Something like this: getSpecialItemValue(int id) {
    Code:
    /**
     * Changes the price of a 'used' item.
     * @return the value
     */
    public int getUsedPrice(int id) {
         return getSpecialItemValue(id) - discount;
    }
    
    /**
     * The custom discount. x[
     */
    public double discount = 0.25;
    I bow and give the shovel back to you *asshole* sir.

    [Only registered and activated users can see links. ]
    [CENTER]
    Spoiler for Vouches (2):

    Quote Originally Posted by SHIFT_ View Post
    Great doing business! Bought 75M purchased relatively smoothly.
    Quote Originally Posted by Luzoxpk View Post
    bug fixed thanks linas


    Spoiler for Peeps i respect::

    Arham 4 , Sheepmonger , Linus, LuzoxPk (ipkmills)
    Reply With Quote  
     

  8. #8  
    Registered Member Verisimilitude's Avatar
    Join Date
    Mar 2012
    Age
    23
    Posts
    488
    Thanks given
    45
    Thanks received
    17
    Rep Power
    0
    Quote Originally Posted by Dri Comics View Post
    Hey idiot if you're not going to bother and help, or give some examples shove that shovel up your ass.

    This is just an example, so do not copy this.

    1) Their should be a method where your custom items are sold for this certain amount of point, since you're using PI. Something like this: getSpecialItemValue(int id) {
    Code:
    /**
     * Changes the price of a 'used' item.
     * @return the value
     */
    public int getUsedPrice(int id) {
         return getSpecialItemValue(id) - discount;
    }
    
    /**
     * The custom discount. x[
     */
    public double discount = 0.25;
    we're all talking about selling it back. The getspecialitem is for buying the item with the points.

    Quote Originally Posted by linas View Post
    I bow and give the shovel back to you *asshole* sir.

    [Only registered and activated users can see links. ]
    Hey man. What we're talking about is, when you buy an item from the donator shop for, let's say, 600 donator points.
    Later on, you want to sell the item back to the shop. You sell it back, and in exchange you get 600, or probably 499 donator points returned to you.
    How can we do that? I know the link you showed us, but that's different. I already have that added in shopassistant.java.
    [spoil][/spoil]
    Code:
    [Today 05:35 AM] Verisimilitude: My new siggy
    [Today 05:34 AM] Verisimilitude: Ikr
    [Today 05:34 AM] a Kitty: 'there is litteraly nothing i can do to reach him, so i will just stand here and accept my fate'

    Reply With Quote  
     

  9. #9  
    Registered Member Verisimilitude's Avatar
    Join Date
    Mar 2012
    Age
    23
    Posts
    488
    Thanks given
    45
    Thanks received
    17
    Rep Power
    0
    bump
    [spoil][/spoil]
    Code:
    [Today 05:35 AM] Verisimilitude: My new siggy
    [Today 05:34 AM] Verisimilitude: Ikr
    [Today 05:34 AM] a Kitty: 'there is litteraly nothing i can do to reach him, so i will just stand here and accept my fate'

    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. PI make a shop buy items for pkp
    By 1defk0 in forum Help
    Replies: 4
    Last Post: 03-13-2013, 03:21 PM
  2. Replies: 0
    Last Post: 06-04-2011, 09:15 AM
  3. Replies: 3
    Last Post: 09-02-2010, 12:08 PM
  4. Replies: 2
    Last Post: 08-18-2010, 11:42 AM
  5. PI Shop Error [Not Buying Items]
    By jameskmonger in forum Help
    Replies: 1
    Last Post: 06-27-2010, 01:09 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
  •