Thread: 637 Character saving

Results 1 to 5 of 5
  1. #1 637 Character saving 
    Registered Member
    Join Date
    Aug 2014
    Posts
    110
    Thanks given
    47
    Thanks received
    2
    Rep Power
    11
    When i try to login to Dementhium 637
    it says this

    i get this error aswell

    Code:
    java.io.FileNotFoundException: C:\Users\root\ecogames\test.bin (The system cannot find the path specified)
    	at java.io.FileInputStream.open(Native Method)
    	at java.io.FileInputStream.<init>(Unknown Source)
    	at java.io.FileInputStream.<init>(Unknown Source)
    	at org.dementhium.io.FileUtilities.fileBuffer(FileUtilities.java:20)
    	at org.dementhium.io.PlayerLoader.load(PlayerLoader.java:133)
    	at org.dementhium.model.World$1.run(World.java:217)
    	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    	at java.util.concurrent.FutureTask.run(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    	at java.lang.Thread.run(Unknown Source)
    anyone know a fix?
    if its wrong directory how do i change it, i wanna make it data/characters
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Feb 2013
    Posts
    4,409
    Thanks given
    59
    Thanks received
    478
    Rep Power
    138
    Well if you read the error, it cannot find the file.
    To change the directory, look in PlayerLoader
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member
    Join Date
    Aug 2014
    Posts
    110
    Thanks given
    47
    Thanks received
    2
    Rep Power
    11
    Quote Originally Posted by Mayne View Post
    Well if you read the error, it cannot find the file.
    To change the directory, look in PlayerLoader
    Thanks lol.
    Reply With Quote  
     

  5. #4  
    Registered Member

    Join Date
    Oct 2012
    Posts
    1,461
    Thanks given
    560
    Thanks received
    323
    Rep Power
    122
    Change directory to :

    Code:
    "./data/games/"
    If you wanna use your own directory change it to that in PlayerLoader

    “I have not failed. I've just found 10,000 ways that won't work.”
    ― Thomas A. Edison


    Attached image


    Reply With Quote  
     

  6. #5  
    L O S E Y O U R S E L F
    Format's Avatar
    Join Date
    Aug 2013
    Posts
    2,311
    Thanks given
    1,131
    Thanks received
    1,461
    Rep Power
    5000
    An alternative for this is to go to the Misc class (In the utils package) and replace

    Code:
    public static boolean isVPS() {
    return isWindows() && System.getProperty("Administrator").contains("Windows");
    }
    with
    Code:
    public static boolean isVPS() {
    return isLinux() && System.getProperty("os.name").contains("Linux");
    }
    Will prevent any issues in the future.


    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. Replies: 3
    Last Post: 03-27-2014, 05:40 PM
  2. 637/639 Character Saving
    By L3git in forum Help
    Replies: 2
    Last Post: 01-25-2012, 03:35 AM
  3. Replies: 7
    Last Post: 11-21-2008, 07:54 PM
  4. Ftp character saving!
    By The Lemon in forum Tutorials
    Replies: 28
    Last Post: 07-18-2008, 08:11 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
  •