Add an "=" to it and give them an amount of points.
Are you using PI?
|
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
then my player 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());
pcPoints = 0, donorPoints = 0, magePoints = 0, isDonator, desertTreasure = 0,
Add an "=" to it and give them an amount of points.
Are you using PI?
yes but then i would have to add the = to every single last person on my servers char file.
and im on pi
Look in (I think) Player.java and find where it writes the character files.
edit it there
its right here
pcPoints = 0, donorPoints = 0, magePoints = 0, isDonator, desertTreasure = 0,
Change this:toCode:characterfile.write("donorPoints = ", 0, 12);
Code:characterfile.write("donorPoints = ", 0, 14);
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |