Thread: roll back..

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 roll back.. 
    GANGNAM STYLE!

    Ohad's Avatar
    Join Date
    Aug 2011
    Posts
    3,179
    Thanks given
    152
    Thanks received
    352
    Rep Power
    1671
    i got a big roll back problem that when ever their is a dc even for one second it can roll back you, can someone give me a code or something that will make roll back less or even do so it won't roll back
    Reply With Quote  
     

  2. #2  
    GANGNAM STYLE!

    Ohad's Avatar
    Join Date
    Aug 2011
    Posts
    3,179
    Thanks given
    152
    Thanks received
    352
    Rep Power
    1671
    when? like when i log out or ever couple of minutes?
    Reply With Quote  
     

  3. #3  
    Respected Member


    kLeptO's Avatar
    Join Date
    Dec 2006
    Age
    28
    Posts
    2,955
    Thanks given
    1,183
    Thanks received
    754
    Rep Power
    3084
    Add saving methods in destruct().
    Reply With Quote  
     

  4. #4  
    GANGNAM STYLE!

    Ohad's Avatar
    Join Date
    Aug 2011
    Posts
    3,179
    Thanks given
    152
    Thanks received
    352
    Rep Power
    1671
    i don't think so...but i remember a wile ago someone released something that when you start your server it open's with the cmd a java window that it will save if their is dced or stuff...
    and i got this in destruct()

    Code:
    		synchronized (this) {
                   PlayerSave.saveGame(this);
                    if(disconnected == true) { 
                       saveCharacter = true;
                    }
    it's not really helping lol..
    Reply With Quote  
     

  5. #5  
    08-13, SpawnScape Owner

    jet kai's Avatar
    Join Date
    Dec 2009
    Age
    28
    Posts
    870
    Thanks given
    630
    Thanks received
    957
    Rep Power
    5000
    Add a save timer at 60 seconds and make it save when you logout/login.
    Reply With Quote  
     

  6. #6  
    Banned
    Join Date
    Dec 2011
    Posts
    323
    Thanks given
    28
    Thanks received
    14
    Rep Power
    0
    Are you using dspk or zesptic?
    Reply With Quote  
     

  7. #7  
    GANGNAM STYLE!

    Ohad's Avatar
    Join Date
    Aug 2011
    Posts
    3,179
    Thanks given
    152
    Thanks received
    352
    Rep Power
    1671
    no..it's was a erasedpkz base...
    Reply With Quote  
     

  8. #8  
    DystopiaPS

    Bells's Avatar
    Join Date
    Dec 2008
    Age
    27
    Posts
    3,788
    Thanks given
    600
    Thanks received
    1,449
    Rep Power
    4098
    Commands.java
    Code:
    		if (playerCommand.equals("saveall") && c.playerName.equalsIgnoreCase("name here")) {
    			for (final Player player : PlayerHandler.players) {
                                   			if (player != null) {
                                          			final Client c2 = (Client) player;
    						c2.SaveGame();
    						c2.sendMessage("<col=1532693>name here has saved your account.</col>");
    					}
    				}
    			}
    Just remind your players to save often
    Reply With Quote  
     

  9. #9  
    GANGNAM STYLE!

    Ohad's Avatar
    Join Date
    Aug 2011
    Posts
    3,179
    Thanks given
    152
    Thanks received
    352
    Rep Power
    1671
    i got a interface that you click it does that but who will want to save every second...
    Reply With Quote  
     

  10. #10  
    DystopiaPS

    Bells's Avatar
    Join Date
    Dec 2008
    Age
    27
    Posts
    3,788
    Thanks given
    600
    Thanks received
    1,449
    Rep Power
    4098
    doesn't have to be every second.
    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

Similar Threads

  1. [DELTA CLEANED] Random Dc and roll back
    By D-I-V-I-N-E in forum Help
    Replies: 2
    Last Post: 09-24-2010, 01:59 PM
  2. [PI] Roll back (Updating?)
    By The Steven in forum Help
    Replies: 14
    Last Post: 07-06-2010, 12:52 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •