Thread: battlescape saving

Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1 battlescape saving 
    Registered Member

    Join Date
    Jun 2009
    Posts
    703
    Thanks given
    2
    Thanks received
    7
    Rep Power
    233
    well in ioclient i tried deleteing this /* ( commenting this out )which was around this code.
    Code:
    public PlayerSave loadGame(String playerName, String playerPass)
    	{
    		PlayerSave tempPlayer;
    
    
    		try {
    			ObjectInputStream in = new ObjectInputStream(new FileInputStream("./savedGames/"+playerName+".dat"));
    			tempPlayer = (PlayerSave) in.readObject();
    			in.close();
    		}
    		catch(Exception e){
    			return null;
    		}
    		return tempPlayer;
    	}
    still no luck tho it wont save :/


    error when i log out
    Code:
    Magic.cfg: file not found.
    Starting server on 0.0.0.0:43594
    ClientHandler: Accepted from localhost:1365
    java.io.FileNotFoundException: .\Characters\rawr.txt (The system cannot find the
     file specified)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(Unknown Source)
            at java.io.FileInputStream.<init>(Unknown Source)
            at java.io.FileReader.<init>(Unknown Source)
            at Player.loadGame(Player.java:733)
            at IOClient.process(IOClient.java:234)
            at PlayerHandler.processIOClients(PlayerHandler.java:472)
            at IOThread.run(IOThread.java:11)
            at java.lang.Thread.run(Unknown Source)
    rawr Has Logged In
    java.io.FileNotFoundException: .\Characters\rawr.txt (The system cannot find the
     file specified)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(Unknown Source)
            at java.io.FileInputStream.<init>(Unknown Source)
            at java.io.FileReader.<init>(Unknown Source)
            at Player.loadGame(Player.java:733)
            at PlayerHandler.process(PlayerHandler.java:737)
            at Server.main(Server.java:70)
    java.io.FileNotFoundException: .\Characters\rawr.txt (The system cannot find the
     file specified)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(Unknown Source)
            at java.io.FileInputStream.<init>(Unknown Source)
            at java.io.FileReader.<init>(Unknown Source)
            at Player.loadGame(Player.java:733)
            at PlayerHandler.removePlayer(PlayerHandler.java:921)
            at PlayerHandler.process(PlayerHandler.java:744)
            at Server.main(Server.java:70)
    rawr has logged out.
    ClientHandler: Accepted from localhost:1366
    java.io.FileNotFoundException: .\Characters\rawr.txt (The system cannot find the
     file specified)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(Unknown Source)
            at java.io.FileInputStream.<init>(Unknown Source)
            at java.io.FileReader.<init>(Unknown Source)
            at Player.loadGame(Player.java:733)
            at IOClient.process(IOClient.java:234)
            at PlayerHandler.processIOClients(PlayerHandler.java:472)
            at IOThread.run(IOThread.java:11)
            at java.lang.Thread.run(Unknown Source)
    rawr Has Logged In
    java.io.FileNotFoundException: .\Characters\rawr.txt (The system cannot find the
     file specified)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(Unknown Source)
            at java.io.FileInputStream.<init>(Unknown Source)
            at java.io.FileReader.<init>(Unknown Source)
            at Player.loadGame(Player.java:733)
            at PlayerHandler.process(PlayerHandler.java:737)
            at Server.main(Server.java:70)
    java.io.FileNotFoundException: .\Characters\rawr.txt (The system cannot find the
     file specified)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(Unknown Source)
            at java.io.FileInputStream.<init>(Unknown Source)
            at java.io.FileReader.<init>(Unknown Source)
            at Player.loadGame(Player.java:733)
            at PlayerHandler.removePlayer(PlayerHandler.java:921)
            at PlayerHandler.process(PlayerHandler.java:744)
            at Server.main(Server.java:70)
    rawr has logged out.
    Reply With Quote  
     

  2. #2  
    Officially Retired

    Huey's Avatar
    Join Date
    Jan 2008
    Age
    22
    Posts
    16,478
    Thanks given
    3,385
    Thanks received
    7,727
    Rep Power
    5000
    no one is not going to help u stop posting 2 of the same fucking threads and stop leaching shit if u want to learh figure the shit out your self k
    Attached image
    Listen children don't become this guy.
    Quote Originally Posted by Owner Spikey View Post
    Why can I attack lower level npc's in a matter of a mouse hover but for a higher level npc the only choice to attack is by right clicking option attack?

    Reply With Quote  
     

  3. #3  
    sex inFamous's Avatar
    Join Date
    Sep 2008
    Posts
    0
    Thanks given
    6
    Thanks received
    4
    Rep Power
    0
    Quote Originally Posted by _Tom View Post
    Just give up, if you can't work it out yourself.
    what ever he said
    i'm back...
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Jun 2009
    Posts
    703
    Thanks given
    2
    Thanks received
    7
    Rep Power
    233
    ...........
    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Jun 2009
    Posts
    703
    Thanks given
    2
    Thanks received
    7
    Rep Power
    233
    Quote Originally Posted by T I P View Post
    no one is not going to help u stop posting 2 of the same fucking threads and stop leaching shit if u want to learh figure the shit out your self k
    me leeching shit? your the one having a show off thread which got deleted about how u got battlescape save.. l0l so stfu.
    Reply With Quote  
     

  6. #6  
    Registered Member

    Join Date
    Jun 2009
    Posts
    703
    Thanks given
    2
    Thanks received
    7
    Rep Power
    233
    what u mean whos still??? l0l.
    Reply With Quote  
     

  7. #7  
    sex inFamous's Avatar
    Join Date
    Sep 2008
    Posts
    0
    Thanks given
    6
    Thanks received
    4
    Rep Power
    0
    Dude, Screw battle scape.. everyone if so hipped up about it...
    i'm back...
    Reply With Quote  
     

  8. #8  
    Registered Member

    Join Date
    Jun 2009
    Posts
    703
    Thanks given
    2
    Thanks received
    7
    Rep Power
    233
    im stuck tooo
    Reply With Quote  
     

  9. #9  
    Officially Retired

    Huey's Avatar
    Join Date
    Jan 2008
    Age
    22
    Posts
    16,478
    Thanks given
    3,385
    Thanks received
    7,727
    Rep Power
    5000
    im the one deleted it u idiot because to many people asking me for help now stfu
    Attached image
    Listen children don't become this guy.
    Quote Originally Posted by Owner Spikey View Post
    Why can I attack lower level npc's in a matter of a mouse hover but for a higher level npc the only choice to attack is by right clicking option attack?

    Reply With Quote  
     

  10. #10  
    Donator


    Join Date
    Mar 2008
    Posts
    1,945
    Thanks given
    118
    Thanks received
    201
    Rep Power
    2104
    lol your character saving and loading need to be fixed

    there is no save game method so there yah go fix the save game and it will load what you saved ....

    all it saves is moreinfo if i remember correctly
    Attached image
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •