Thread: [PI] Roll back (Updating?)

Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1 [PI] Roll back (Updating?) 
    ve ve ve
    The Steven's Avatar
    Join Date
    Nov 2008
    Age
    33
    Posts
    310
    Thanks given
    14
    Thanks received
    8
    Rep Power
    12
    Hey,
    everytime when I use ::update (like 30)
    and restart my server afterwards, it rollbacks for like 3-5 minutes.

    It wont update\save the characterfiles.
    Any idea how to make it so, it saves them if I do ::update ?

    It saves them if they log out, but I can't find anything interesting in my

    Logout Method:


    Code:
    public void logout() {
    		synchronized (this) {
    			if(System.currentTimeMillis() - logoutDelay > 10000) {
    				outStream.createFrame(109);
    				properLogout = true;
    			} else {
    				sendMessage("You must wait a few seconds from being out of combat to logout.");
    			}
    		}
    	}

    Thanks
    Reply With Quote  
     

  2. #2  
    ve ve ve
    The Steven's Avatar
    Join Date
    Nov 2008
    Age
    33
    Posts
    310
    Thanks given
    14
    Thanks received
    8
    Rep Power
    12
    How comes NO ONE seems to be helping ?
    Reply With Quote  
     

  3. #3  
    sυввч

    Sub's Avatar
    Join Date
    Aug 2007
    Age
    24
    Posts
    4,352
    Thanks given
    1,205
    Thanks received
    359
    Rep Power
    2845
    outStream.createFrame(109); use that as soon as timer ends
    Reply With Quote  
     

  4. #4  
    ve ve ve
    The Steven's Avatar
    Join Date
    Nov 2008
    Age
    33
    Posts
    310
    Thanks given
    14
    Thanks received
    8
    Rep Power
    12
    Thanks but it's not working,
    getting the following error:
    Code:
    src\server\model\players\packets\Commands.java:169: cannot find symbol
    symbol  : variable outStream
    location: class server.model.players.packets.Commands
                                    outStream.createFrame(109);
                                    ^
    Can you explain it a little bit more please ?
    Reply With Quote  
     

  5. #5  
    Registered Member Mayday Parade's Avatar
    Join Date
    Apr 2009
    Age
    27
    Posts
    495
    Thanks given
    20
    Thanks received
    17
    Rep Power
    8
    I would like to know this too... maybe you should add that "properLogout = true;" below that as well? Idk... I guess we shall find out eventually.

    I got it! Type "c.outStream.createFrame(109);" & then "c.properLogout = true;"
    Works properly!

    Spoiler for LoL:
    Quote Originally Posted by Imbued View Post
    Quote Originally Posted by pasta186 View Post
    That tutorial doesnt walk.
    That's because it got no legs..
    Best report I've sent? "Mass spam? Also in wrong sexual"
    LOL
    Reply With Quote  
     

  6. #6  
    ve ve ve
    The Steven's Avatar
    Join Date
    Nov 2008
    Age
    33
    Posts
    310
    Thanks given
    14
    Thanks received
    8
    Rep Power
    12
    No, only logs out me.

    But thanks anyways.
    Reply With Quote  
     

  7. #7  
    Registered Member Mayday Parade's Avatar
    Join Date
    Apr 2009
    Age
    27
    Posts
    495
    Thanks given
    20
    Thanks received
    17
    Rep Power
    8
    Hm, okay, try changing the "c" to "c2" if that doesn't work, then idk

    Spoiler for LoL:
    Quote Originally Posted by Imbued View Post
    Quote Originally Posted by pasta186 View Post
    That tutorial doesnt walk.
    That's because it got no legs..
    Best report I've sent? "Mass spam? Also in wrong sexual"
    LOL
    Reply With Quote  
     

  8. #8  
    ve ve ve
    The Steven's Avatar
    Join Date
    Nov 2008
    Age
    33
    Posts
    310
    Thanks given
    14
    Thanks received
    8
    Rep Power
    12
    Not working with c2.
    Reply With Quote  
     

  9. #9  
    Banned

    Join Date
    Jun 2008
    Age
    27
    Posts
    2,312
    Thanks given
    485
    Thanks received
    231
    Rep Power
    0
    its the destuct() method
    Reply With Quote  
     

  10. #10  
    ve ve ve
    The Steven's Avatar
    Join Date
    Nov 2008
    Age
    33
    Posts
    310
    Thanks given
    14
    Thanks received
    8
    Rep Power
    12
    Explain a bit more please, I'm requesting help because I've already tried a few things and couldn't help my self.
    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

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