How comes NO ONE seems to be helping ?
|
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
How comes NO ONE seems to be helping ?
outStream.createFrame(109); use that as soon as timer ends
Thanks but it's not working,
getting the following error:
Can you explain it a little bit more please ?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); ^
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!
No, only logs out me.
But thanks anyways.
Hm, okay, try changing the "c" to "c2" if that doesn't work, then idk
Not working with c2.
its the destuct() method
Explain a bit more please, I'm requesting help because I've already tried a few things and couldn't help my self.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |