Thread: [PI] PK Points/Donator Points System

Results 1 to 9 of 9
  1. #1 [PI] PK Points/Donator Points System 
    Registered Member
    Join Date
    Jul 2011
    Posts
    13
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Call me a leech, tell me I'm stupid, whatever. I don't care. This forum is for help and that's what I'm using it for.


    I need to completely REMOVE the PK/Donor points system. I started on a clean PI base and I'd rather use coins for everything.

    If anyone has a certain fix for this or even knows where everything for this is located let me know.

    Thanks.
    Reply With Quote  
     

  2. #2  
    Registered Member Pakku's Avatar
    Join Date
    Mar 2010
    Posts
    1,234
    Thanks given
    127
    Thanks received
    111
    Rep Power
    47
    A cheap hax would be just remove the NPC that opens the shop, if you don't know how to completely remove it.


    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Mar 2011
    Posts
    4,062
    Thanks given
    194
    Thanks received
    689
    Rep Power
    0
    or just change the shop id lawl
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jul 2011
    Posts
    13
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    I've used multiple NPC shop owners and I've tried lots of different items in the shops to see if any cost coins, but it seems like nothing is helping. I'd like to actually remove the system.

    I don't know if it's just my bad luck or not.

    @Relex, I already did.. It doesn't do anything.
    Reply With Quote  
     

  5. #5  
    Banned

    Join Date
    Mar 2011
    Posts
    4,062
    Thanks given
    194
    Thanks received
    689
    Rep Power
    0
    lol its supposed to cause in shopassistant it would say if (c.shopId == ##) {

    for point shops

    heres an example

    Code:
    else if(c.myShopId == 48) {
                    					if (c.slayerPoints >= TotPrice2) {
    						if (c.getItems().freeSlots() > 0) {
    							buyDelay = System.currentTimeMillis();
    							c.slayerPoints -= TotPrice2;
    							c.getItems().addItem(itemID, 1);
    							Server.shopHandler.ShopItemsN[c.myShopId][fromSlot] -= 1;
    							Server.shopHandler.ShopItemsDelay[c.myShopId][fromSlot] = 0;
    							if ((fromSlot + 1) > Server.shopHandler.ShopItemsStandard[c.myShopId]) {
    								Server.shopHandler.ShopItems[c.myShopId][fromSlot] = 0;
    							}
    						} else {
    							c.sendMessage("You don't have enough space in your inventory.");
    							break;
    						}
    					} else {
    						c.sendMessage("You don't have enough slayer points.");
    						break;
    					}
                   				 }
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jul 2011
    Posts
    13
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    I've changed the shop IDs to numbers that aren't in shopassistant.java, why is it still saying, for example, "Manta ray: currently costs 0 points"? Is there something I could do to the actual ITEMS to make their currency in coins and not in points?
    Reply With Quote  
     

  7. #7  
    Banned

    Join Date
    Mar 2011
    Posts
    4,062
    Thanks given
    194
    Thanks received
    689
    Rep Power
    0
    change the shopid in

    buyFromShopPrice method
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Jul 2011
    Posts
    13
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Yes I've changed it from
    Code:
    if (c.myShopId >=17)
    to
    Code:
    if (c.myShopID == 0)

    ...and so far it's working. Thank you. If anything else goes wrong I'll just PM you if that's OK. You seem to know a lot about this.

    Requesting thread close.
    Reply With Quote  
     

  9. #9  
    Banned
    Join Date
    Aug 2011
    Posts
    28
    Thanks given
    0
    Thanks received
    2
    Rep Power
    0
    Search for the integers and remove them.
    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] Need Command Give Donator Points
    By Udang in forum Help
    Replies: 15
    Last Post: 03-27-2012, 12:39 AM
  2. Replies: 5
    Last Post: 08-10-2011, 07:49 AM
  3. [PI] Donator Gets 2x PC Points
    By Rockstar Jax in forum Help
    Replies: 1
    Last Post: 06-11-2011, 01:42 AM
  4. Replies: 0
    Last Post: 06-12-2010, 04:06 PM
  5. AUTO DONATOR POINTS SySTEM!
    By shapaklekas in forum Help
    Replies: 13
    Last Post: 05-03-2010, 04:18 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
  •