Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • Equiiliibriium: If anyone is interested in joining a brand-new server that just opened less than a month ago, feel free to send me a PM or check us out @ [link]
      February 16, 2018, 06:07:11 AM
    • Travas: This server goes down on me more than EvilShadows23's mom
      February 15, 2018, 04:31:01 PM
    • EvilShadows23: serverdown?
      February 14, 2018, 03:41:31 PM
    • Travas: server was down for too long i want a refund
      February 13, 2018, 11:31:12 PM
    • Striker Fox2: Server should be back up
      February 13, 2018, 04:40:56 AM
    • Striker Fox2: Server is down for a bit longer than we thought, Blake the owner / Dev is on fixing some of the bigger bugs we have within the server, Once we have more info we will be sure to let yall know
      February 13, 2018, 03:06:03 AM
    • Travas: you gotta buy the correct viewing glasses
      February 09, 2018, 07:22:22 PM
    • birdwang: can someone help me with eclipse
      February 09, 2018, 05:46:25 PM
    • EvilShadows23: does anyone know? or is even anyone on the forums?
      February 09, 2018, 03:14:24 PM
    • EvilShadows23: why is server dowm?
      February 09, 2018, 03:09:58 PM
    • Striker Fox2: discord link [link]
      February 09, 2018, 11:02:49 AM
    • stCky: virus dont click, red name means hes banned but forum is broken so he can still use shoutbox #broken
      February 07, 2018, 08:19:33 PM
    • Travas: virus dont click that link
      February 07, 2018, 01:49:42 PM
    • Amcora:[link] <-- discord channel
      February 07, 2018, 04:04:09 AM
    • Amcora:[link]
      February 07, 2018, 04:03:55 AM
    • Scape-JAVA: A-huurrrr-duurrrr, Amcora, are you slow? That statement was retarded.
      February 07, 2018, 03:17:23 AM
    • doom_j: m.dog what is the moparisthebest discord?
      February 06, 2018, 07:07:51 PM
    • doom_j: why is irc down?
      February 06, 2018, 06:37:05 PM
    • Travas: mopor scaype succs
      February 06, 2018, 02:13:52 PM
    • stCky: Moparscape is the oldest rsps in history? :thinking_face:
      February 06, 2018, 02:04:26 PM

    Author Topic: RSPS Character File  (Read 2981 times)

    0 Members and 1 Guest are viewing this topic.

    OfflineMacca187

    • Member
    • **
    • Posts: 6
    • Thanks: +0/-0
      • View Profile
    RSPS Character File
    « on: May 14, 2015, 10:03:59 AM »
    Hey Guys I Need Help Fixing The Character Files Its Not Saving The Account Ive Tried Everything If Someone Can Help Or Tell Me Which File Find The Info About Saving Character On Logout Would Be Great

    Its a PI/317 Source (Runique)
    RS2Ad banner

    OfflineWarTusk-RSPS

    • Member
    • ***
    • Posts: 186
    • Thanks: +0/-0
      • View Profile
    Re: RSPS Character File
    « Reply #1 on: May 14, 2015, 10:29:01 AM »
    go into your playersave.java and search " character " or "character file " or something along those lines and it should give you a result to your path.

    Ex: mine is

    characterfile = new BufferedReader(new FileReader("./data/characters/"+playerName+".txt"));

    So it will try to save the character file in my data folder and it will look for a file named "characters" and it will put the saved character account in there. So make sure you put the file in the right place.


    Hope this helps you a little bit more in fixing the problem.


    Also if you google " character saving rsps pi " there are a few posts with other fixes and suggestions.
    "Speaking of if you want me to stop flooding your server and want a solution on how to prevent it, I'll start the negotiations at 500$. A drop in the bucket for you I suppose. And I'll help fix the XSS vulnerabilities for 100$ each."

    -Sini
    RS2Ad banner

    OfflineMacca187

    • Member
    • **
    • Posts: 6
    • Thanks: +0/-0
      • View Profile
    Re: RSPS Character File
    « Reply #2 on: May 14, 2015, 10:45:41 AM »
    go into your playersave.java and search " character " or "character file " or something along those lines and it should give you a result to your path.

    Ex: mine is

    characterfile = new BufferedReader(new FileReader("./data/characters/"+playerName+".txt"));

    So it will try to save the character file in my data folder and it will look for a file named "characters" and it will put the saved character account in there. So make sure you put the file in the right place.


    Hope this helps you a little bit more in fixing the problem.


    Also if you google " character saving rsps pi " there are a few posts with other fixes and suggestions.

    ive tried all the tut on google btw this is my

    Playersaving.java


    Code: [Select]
    package org.niobe.world.content.saving;

    import org.niobe.world.Player;

    /**
     *
     *
     * @author relex lawl
     */
    public interface PlayerSaving {

    public static PlayerSaving PLAYER_SAVING = new FlatFilePlayerSaving();

    public void save(Player player, boolean sendQuery);

    public Login load(Player player);

    public String getDirectory();
    }
    RS2Ad banner

    OfflineWarTusk-RSPS

    • Member
    • ***
    • Posts: 186
    • Thanks: +0/-0
      • View Profile
    Re: RSPS Character File
    « Reply #3 on: May 14, 2015, 10:59:37 AM »
    I am sorry, I meant playersave.java not playersaving. If you could post your playersave.java that would be awesome! :D
    "Speaking of if you want me to stop flooding your server and want a solution on how to prevent it, I'll start the negotiations at 500$. A drop in the bucket for you I suppose. And I'll help fix the XSS vulnerabilities for 100$ each."

    -Sini

    OfflineMacca187

    • Member
    • **
    • Posts: 6
    • Thanks: +0/-0
      • View Profile
    Re: RSPS Character File
    « Reply #4 on: May 14, 2015, 11:14:35 AM »
    I am sorry, I meant playersave.java not playersaving. If you could post your playersave.java that would be awesome! :D
    there is no playersave.java  you got team viewer ?

    OfflineWarTusk-RSPS

    • Member
    • ***
    • Posts: 186
    • Thanks: +0/-0
      • View Profile
    Re: RSPS Character File
    « Reply #5 on: May 14, 2015, 11:31:39 AM »
    I do not sorry about that.  but there should be a playersave.java, because that is how you add new point systems like "donator points" and that type of stuff. So the person who released that source most likely completely deleted it. I would try to get a good playersave.java from another source or just go with another source but those are just my suggestions :)
    "Speaking of if you want me to stop flooding your server and want a solution on how to prevent it, I'll start the negotiations at 500$. A drop in the bucket for you I suppose. And I'll help fix the XSS vulnerabilities for 100$ each."

    -Sini

     

    Copyright © 2017 MoparScape. All rights reserved.
    Powered by SMFPacks SEO Pro Mod |
    SimplePortal 2.3.5 © 2008-2012, SimplePortal