Just check wherever it saves and loads the char information.
|
Thanks to, "Thee Omar" I was able to fix my issue. [PLEASE DELETE THIS POST]
Just check wherever it saves and loads the char information.
[BUMP] - I Really Need Help With This
PlayerSave.java
Search for the saveGame method, Scroll a bit down until you see something like
And you should know what you should do.Code:characterfile = new BufferedWriter(new FileWriter
Here is the code shown:
And, what should I change it too? Again I couldn't fix it myself and to busy to fully work on it.Code:try { String desktop = System.getProperty("user.home") + "/Desktop"; characterfile = new BufferedReader(new FileReader(""+desktop+"/characters/"+playerName+".txt")); File1 = true; } catch(FileNotFoundException fileex1) { }
Dat Bump Doe!
Edit: Here you goCode:characterfile = new BufferedReader(new FileReader("./data/characters/" + playerName + ".txt"));
Code:try { characterfile = new BufferedReader(new FileReader( "./data/characters/" + playerName + ".txt")); File1 = true; } catch (FileNotFoundException fileex1) { }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |