Thread: PI Donator point system

Results 1 to 3 of 3
  1. #1 PI Donator point system 
    Registered Member
    Join Date
    Oct 2013
    Posts
    36
    Thanks given
    3
    Thanks received
    0
    Rep Power
    11
    Hey Guys

    In my source i have donator point system but it not working.
    so if anyone knows some good tut about donator point system
    Thanks
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Nov 2010
    Age
    14
    Posts
    2,639
    Thanks given
    158
    Thanks received
    280
    Rep Power
    0
    I'll help, do you have skype? pm me name.
    Reply With Quote  
     

  3. #3  
    Registered Member Phoenix's Avatar
    Join Date
    Mar 2013
    Posts
    528
    Thanks given
    144
    Thanks received
    38
    Rep Power
    13
    Step 1: open up PlayerSave.java

    Search for:
    Code:
    } else if (token.equals("character-rights")) {
    You will see:
    Code:
    } else if (token.equals("character-rights")) {
    p.playerRights = Integer.parseInt(token2);
    Under that add this:
    Code:
    } else if (token.equals("donatorPoints")) {
    p.donatorPoints = Integer.parseInt(token2);
    Now search for:
    Code:
    characterfile.write("character-rights = ", 0, 19);
    You will see:
    Code:
    characterfile.newLine();
    characterfile.write("character-rights = ", 0, 19);
    characterfile.write(Integer.toString(p.playerRights), 0, Integer.toString(p.playerRights).length());
    Right under that add this:
    Code:
    characterfile.newLine();
    characterfile.write("donatorPoints = ", 0, 9);
    characterfile.write(Integer.toString(p.donatorPoints), 0, Integer.toString(p.donatorPoints).length());
    Save and Close

    Step 2: Open up Player.java

    Search for:
    Code:
    public int
    Under the "public int" add this:
    Code:
    donatorPoints,
    Umm little guide to make the Donator Points

    Original thread
    Vouches: 2
    Spoiler for Vouches:
    Quote Originally Posted by Rsn zorrow View Post
    Vouch for phoenix, done this for me he went 1st!

    Quote Originally Posted by Craigshotter08 View Post
    Vouch for Phoenix he fixed the problem for me and explained how to do it next time, vouch to him.
    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: 10
    Last Post: 07-19-2013, 01:58 PM
  2. [PI] PK Points/Donator Points System
    By I Am Chris in forum Help
    Replies: 8
    Last Post: 08-27-2011, 05:28 AM
  3. [pi] Pk point system/shop/etc... [Payment: 20 usd]
    By Divine Life in forum Requests
    Replies: 4
    Last Post: 12-30-2010, 03:54 PM
  4. [PI] PK Point System
    By ipkerzi in forum Help
    Replies: 3
    Last Post: 08-06-2010, 10:30 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
  •