Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • FaTe_Of_GoDs: You guys have an offline client?
      Today at 03:25:13 AM
    • ASDss: where do u download source and clients now
      August 18, 2017, 10:39:31 PM
    • ASDss: yo
      August 18, 2017, 10:39:20 PM
    • dan v jad: click me 4 da fun ;)[link]
      August 18, 2017, 04:39:58 PM
    • stCky: Palidinho is your OpenGL (was it OpenGL?) stuff open source anywhere?
      August 16, 2017, 09:07:22 PM
    • Travas:BUILD THE WALL
      August 15, 2017, 09:28:49 PM
    • Travas: i have ass cancer
      August 15, 2017, 09:23:29 PM
    • stCky: what are the fudge are you tryna ask?
      August 15, 2017, 08:21:35 PM
    • bader: what are the rsps community alive ?
      August 15, 2017, 05:46:16 PM
    • bader: yo guys
      August 15, 2017, 05:46:08 PM
    • Spacehost:[link] Updated our thread :)
      August 15, 2017, 09:40:34 AM
    • Adaro: The client is in Download section at Homepage
      August 15, 2017, 01:09:20 AM
    • FaTe_Of_GoDs: where do i get the client?????????????
      August 14, 2017, 05:23:14 PM
    • stCky: can anyone help me? I cant login to the shoutbox
      August 13, 2017, 05:45:15 PM
    • drubrkletern: appeal denied
      August 13, 2017, 02:35:27 PM
    • King_Trout:[link]
      August 13, 2017, 11:17:12 AM
    • Cole1497: no sorry
      August 13, 2017, 10:27:14 AM
    • ayz: yo can anyone explain something to me
      August 13, 2017, 08:08:51 AM
    • coolking12: Hi
      August 13, 2017, 04:16:06 AM
    • stCky: n+1
      August 11, 2017, 06:09:24 PM

    Author Topic: RSPS Character File  (Read 2557 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)


    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


    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();
    }

    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