You shouldn't be sarcastic.....Quote:
Originally Posted by Austin_ [Only registered and activated users can see links. Click Here To Register...]
Nice snippet, I hope you learned a lot and learn more ;) :hurr:
Printable View
You shouldn't be sarcastic.....Quote:
Originally Posted by Austin_ [Only registered and activated users can see links. Click Here To Register...]
Nice snippet, I hope you learned a lot and learn more ;) :hurr:
This should be done server sided.
the text can be edited server sided with this code.. so what yall nagging about..
Wow give him a break :fp: Techie Hey pal xD Cool but this should be done Server sided :)
If anyone needs saving notes in character files...
Code:public final String[] playerNote = new String[30];
Code:case 10:
if (token.equals("character-note")) {
p.playerNote[Integer.parseInt(token3[0])] = token3[1];
}
break;
Code:} else if (line.equals("[NOTES]")) { ReadMode = 10;
Thats it lol ;)Code:/*NOTES*/
characterfile.write("[NOTES]", 0, 7);
characterfile.newLine();
for (int i = 0; i < p.playerNote.length; i++) {
if (p.playerNote[i] != "") {
characterfile.write("character-note = ", 0, 17);
characterfile.write(Integer.toString(i), 0, Integer.toString(i).length());
characterfile.write(" ", 0, 1);
characterfile.write(p.playerNote[i], 0, p.playerNote[i].length());
characterfile.newLine();
}
}
characterfile.newLine();