Thread: [Pi] Donator Points

Results 1 to 6 of 6
  1. #1 [Pi] Donator Points 
    Registered Member JCoder's Avatar
    Join Date
    Nov 2013
    Posts
    13
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    I recently added donator points to my 317 PI but in the players data file, I cannot find where to give points to the user?

    I have tried

    isDonator = 100, but still can't buy nothing from the store.

    Also the store does take donator points there called "Donor Points"
    Reply With Quote  
     

  2. #2  
    Myre


    Join Date
    Apr 2012
    Age
    26
    Posts
    1,519
    Thanks given
    407
    Thanks received
    367
    Rep Power
    475
    Quote Originally Posted by JCoder View Post
    I recently added donator points to my 317 PI but in the players data file, I cannot find where to give points to the user?

    I have tried

    isDonator = 100, but still can't buy nothing from the store.

    Also the store does take donator points there called "Donor Points"
    You're trolling right?

    isDonator is if you're a donator or not.. Look for Dpoints, DonorPoints or look in the ShopHandler and look to see which term is used in that shop...
    Reply With Quote  
     

  3. #3  
    Registered Member JCoder's Avatar
    Join Date
    Nov 2013
    Posts
    13
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    I cannot find dpoints or any of that.
    Reply With Quote  
     

  4. #4  
    Registered Member JCoder's Avatar
    Join Date
    Nov 2013
    Posts
    13
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Found the donor-points but it's down at the bottom?

    [ITEMS]
    character-item = 0 996 10000000
    character-item = 1 6571 1
    character-item = 2 7062 250
    character-item = 3 4588 1
    character-item = 4 1705 1
    character-item = 5 3106 1
    character-item = 6 1334 1
    character-item = 7 1324 1
    character-item = 8 3843 1
    character-item = 9 1585 1
    character-item = 10 1585 1

    donor-points 0
    [BANK]

    [FRIENDS]

    [EOF]
    Reply With Quote  
     

  5. #5  
    Super Donator
    Lunacy's Avatar
    Join Date
    Aug 2013
    Posts
    187
    Thanks given
    25
    Thanks received
    49
    Rep Power
    7
    Quote Originally Posted by JCoder View Post
    Found the donor-points but it's down at the bottom?
    So what? You added it to the bottom of your playersaving/loading class.

    To give them donator points change the "0" after "donor-points" to the desired amount of donator points.
    It's simple really.
    Reply With Quote  
     

  6. #6  
    Project - Bliss
    Austin's Avatar
    Join Date
    Dec 2009
    Posts
    252
    Thanks given
    61
    Thanks received
    35
    Rep Power
    14
    If you don't want it to be at the bottom look for

    characterfile.write("starter = ", 0, 10);
    characterfile.write(Boolean.toString(p.hasStarter) , 0, Boolean
    .toString(p.hasStarter).length());


    when you see ( It will be under those)

    characterfile.newLine();

    put this under that

    characterfile.write("donor-points = ", 0, 13);
    characterfile.write(Integer.toString(p.donPoints), 0, Integer
    .toString(p.donPoints).length());
    characterfile.newLine();


    (Or replace the code i showed ^ with the one you're already using)
    then delete the old 'donor-points' thing you had,it should look similar to the code provided

    This will move donor-points 0 right under your starter int.

    If you want a nice tutorial on how to do this i really recommend checking this thread out :

    http://www.rune-server.org/runescape...points-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. PI Donator point system
    By Regnum in forum Help
    Replies: 2
    Last Post: 11-17-2013, 10:10 PM
  2. [PI] Donator points.
    By Narcos in forum Help
    Replies: 18
    Last Post: 09-25-2013, 08:02 PM
  3. [PI] Donation Points not substracting.
    By Pieter0wnz in forum Help
    Replies: 0
    Last Post: 06-22-2012, 02:42 PM
  4. [PI] Donator Gets 2x PC Points
    By Rockstar Jax in forum Help
    Replies: 1
    Last Post: 06-11-2011, 01:42 AM
  5. Replies: 9
    Last Post: 04-23-2011, 03:46 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
  •