|
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"
I cannot find dpoints or any of that.
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]
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
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |