Thread: [Pali] Saving bug fix maybe?

Results 1 to 3 of 3
  1. #1 [Pali] Saving bug fix maybe? 
    Renown Programmer

    Nikki's Avatar
    Join Date
    Aug 2008
    Posts
    3,992
    Thanks given
    553
    Thanks received
    1,078
    Rep Power
    5000
    Well looking through it
    FileManager.java
    private Stream stream = new Stream(20000, 20000);

    Player a saves, player b saves same time and stream can't process it fast enough,
    player a gets overlapped by player b, the file gets saved to player a, b is still fine.
    Possibility? Some servers do not synchronize these things right, maybe?
    Note: Out offset could not be processed fast enough?
    OR
    Loading + Saving = same stream, loading and saving on 2 separate threads, synchronization issue there. Therefore, Player a is logging in, b is logging out, saves b and a into the stream (Out offset cannot be processed fast enough?)
    Please don't add/pm me asking for RSPS help!

    Links:
    - Pastebin
    - Sleeksnap

    Reply With Quote  
     

  2. #2  
    Registered Member Marcus|fury upon u's Avatar
    Join Date
    Oct 2008
    Posts
    239
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    This happens to me too sometimes. It does get annoying when ppl log on and say "omg ive been hacked!" etc..
    -----------------------------------------------------------------------
    Reply With Quote  
     

  3. #3  
    Renown Programmer

    Nikki's Avatar
    Join Date
    Aug 2008
    Posts
    3,992
    Thanks given
    553
    Thanks received
    1,078
    Rep Power
    5000
    Quote Originally Posted by Marcus|fury upon u View Post
    This happens to me too sometimes. It does get annoying when ppl log on and say "omg ive been hacked!" etc..
    Well this is more of a theory than help, but this is the best match. I have MySQL loading, so it doesn't matter much if they get pass changed, trying this now
    Please don't add/pm me asking for RSPS help!

    Links:
    - Pastebin
    - Sleeksnap

    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

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