Thread: Character Saving File

Results 1 to 9 of 9
  1. #1 Character Saving File 
    Registered Member
    Join Date
    Oct 2014
    Posts
    1
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Hey guys,

    Im just starting to get back into rsps's again its been about 3 years. I have a real quick question. How do i get to save the Char Files. The players can log in, but it does not save the file.
    Also its a 317
    Dont be mad at me just help me join back in Thanks
    Reply With Quote  
     

  2. #2  
    Registered Member o Java o's Avatar
    Join Date
    Sep 2014
    Posts
    183
    Thanks given
    14
    Thanks received
    19
    Rep Power
    0
    Quote Originally Posted by ImFamous_ View Post
    Hey guys,

    Im just starting to get back into rsps's again its been about 3 years. I have a real quick question. How do i get to save the Char Files. The players can log in, but it does not save the file.
    Also its a 317
    Dont be mad at me just help me join back in Thanks
    Are you meaning that they do not save while they are playing, or do they not save at all even after logging out?
    Reply With Quote  
     

  3. #3  
    Donator

    Jason's Avatar
    Join Date
    Aug 2009
    Posts
    6,092
    Thanks given
    2,402
    Thanks received
    2,823
    Rep Power
    4550
    If the connection is closed or the connection requested logout, you should call a function, or functions that relate to saving. More specifically, you might have to do something like;

    Code:
    player.getSave().save();
    player.save();
    PlayerSave.save(player);
    AccountOperations.save(player);
    Player.save(player);
    Reply With Quote  
     

  4. #4  
    Registered Member o Java o's Avatar
    Join Date
    Sep 2014
    Posts
    183
    Thanks given
    14
    Thanks received
    19
    Rep Power
    0
    Quote Originally Posted by Jason View Post
    If the connection is closed or the connection requested logout, you should call a function, or functions that relate to saving. More specifically, you might have to do something like;

    Code:
    player.getSave().save();
    player.save();
    PlayerSave.save(player);
    AccountOperations.save(player);
    Player.save(player);
    Don't you think saving 5 separate times is a bit too much?
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Oct 2014
    Posts
    12
    Thanks given
    0
    Thanks received
    1
    Rep Power
    12
    Check your logout method
    Success comes to those who work for it
    Reply With Quote  
     

  6. #6  
    anInt69

    Max _'s Avatar
    Join Date
    Feb 2012
    Age
    26
    Posts
    1,801
    Thanks given
    426
    Thanks received
    727
    Rep Power
    599
    Look for the method in the PlayerSave class and call it in your login method usually in the client class.
    Reply With Quote  
     

  7. #7  
    Donator

    Jason's Avatar
    Join Date
    Aug 2009
    Posts
    6,092
    Thanks given
    2,402
    Thanks received
    2,823
    Rep Power
    4550
    Quote Originally Posted by o Java o View Post
    Don't you think saving 5 separate times is a bit too much?
    I hope you're not being serious.
    Reply With Quote  
     

  8. #8  
    mush

    Danny's Avatar
    Join Date
    Sep 2013
    Posts
    1,221
    Thanks given
    38
    Thanks received
    316
    Rep Power
    551
    Quote Originally Posted by o Java o View Post
    Don't you think saving 5 separate times is a bit too much?
    Rofl
    Attached image
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Feb 2013
    Posts
    548
    Thanks given
    8
    Thanks received
    36
    Rep Power
    16
    Is there a Characters folder.......? If there isn't the folder, then the character files will not save at all....
    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. Runesource- Adding to character save file
    By Chelsea Grin in forum Help
    Replies: 2
    Last Post: 11-03-2012, 03:46 PM
  2. Replies: 19
    Last Post: 07-25-2012, 05:00 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
  •