Thread: donator points help

Results 1 to 6 of 6
  1. #1 donator points help 
    Registered Member
    Join Date
    Jun 2012
    Posts
    16
    Thanks given
    2
    Thanks received
    0
    Rep Power
    11
    ive looked at many guides and cant seem to fix this problem... i am a beginner so dont rage at me to much... here is the problem i have


    pc-points = 0
    donorPoints 0
    isDonator = 1


    this is from my char file.. it doesnt have an = sign and idk why.. but if i change the 0 to a number.. the account cant log in

    please help

    also idk if this is needed but, playersave file

    } else if (token.equals("donorPoints")) {
    p.donorPoints = Integer.parseInt(token2);
    and

    characterfile.write("donorPoints = ", 0, 12);
    characterfile.write(Integer.toString(p.donorPoints ), 0, Integer
    .toString(p.donorPoints).length());
    then my player file

    pcPoints = 0, donorPoints = 0, magePoints = 0, isDonator, desertTreasure = 0,
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Nov 2011
    Posts
    67
    Thanks given
    1
    Thanks received
    4
    Rep Power
    0
    Add an "=" to it and give them an amount of points.
    Are you using PI?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jun 2012
    Posts
    16
    Thanks given
    2
    Thanks received
    0
    Rep Power
    11
    yes but then i would have to add the = to every single last person on my servers char file.


    and im on pi
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    Nov 2011
    Posts
    67
    Thanks given
    1
    Thanks received
    4
    Rep Power
    0
    Look in (I think) Player.java and find where it writes the character files.
    edit it there
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jun 2012
    Posts
    16
    Thanks given
    2
    Thanks received
    0
    Rep Power
    11
    its right here

    pcPoints = 0, donorPoints = 0, magePoints = 0, isDonator, desertTreasure = 0,
    Reply With Quote  
     

  6. #6  
    Donator
    abd1's Avatar
    Join Date
    Nov 2011
    Posts
    707
    Thanks given
    150
    Thanks received
    67
    Rep Power
    38
    Change this:
    Code:
    characterfile.write("donorPoints = ", 0, 12);
    to
    Code:
    characterfile.write("donorPoints = ", 0, 14);
    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. help adding donator points
    By Arcuza in forum Help
    Replies: 1
    Last Post: 06-24-2013, 09:08 PM
  2. Replies: 3
    Last Post: 07-18-2012, 06:03 PM
  3. give donator point command help.
    By dubby in forum Help
    Replies: 4
    Last Post: 07-14-2012, 08:16 AM
  4. Donator point help(similar to pkpoints)
    By khalorian in forum Help
    Replies: 7
    Last Post: 01-31-2012, 12:45 AM
  5. Replies: 3
    Last Post: 11-28-2011, 02:43 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •