PDA

View Full Version : How to make less rollbacks?



Shawes
June 21st, 2010, 14:37
If someone dc then they get like 2 mins rollback, how to make the rollback smaller?

Rixi
June 21st, 2010, 14:38
By not being idiot. How about saving on disconnect(or log out) hella easy shit.

Shawes
June 21st, 2010, 14:40
What you mean? Shall i save before some one randomly disconetcs? How do i know if they dc?

Shawes
June 21st, 2010, 14:40
And shall i type ::save user 100 times before i restart?

Shawes
June 21st, 2010, 14:43
Btw.. this is a help section. I ask for help. If i already knew then i wouldent ask.. Moron

GOD
June 21st, 2010, 14:53
i don't know. but please don't triple post.

Emperor
June 21st, 2010, 18:03
Make it save every click, if you want no more rollbacks.
Look for the mouse clicks packet in your source.

Shawes
June 21st, 2010, 21:45
Allright, thanks. I'll see if i can find anything :S New coder -.-"

Canownueasy`
June 21st, 2010, 21:46
Stop going to WalMart.

Shawes
June 21st, 2010, 23:26
May you explain it better, how to save all clicks?

Trey
June 21st, 2010, 23:30
Make it save every click, if you want no more rollbacks.
Look for the mouse clicks packet in your source.

Are you kidding me? Your piece of shit would lag so badly it wouldn't even be able to laugh.

Use (or preferably write) a base that isn't shitty and doesn't randomly disconnect. That way if someone disconnects it is their fault.

Coder2
June 21st, 2010, 23:32
make it auto save every min that usually helps or make it save on logout like said before.

nmanpure
June 21st, 2010, 23:39
keep the 2 moinutes thing and........ put this in clickingmost.java under any other one......




case 9154:
// Log out
long currentTime = System.currentTimeMillis();
if (c.inCombat) {
c.sM("You must wait 10 seconds after combat.");
break;
}
if(c.action == 1){
c.sM("Suspicious activity!");
break;
}

c.logout();
break


This will save on loggout but not dissconet! so keep the 2 minutes thingy to!

gucci_
June 22nd, 2010, 00:45
make a shutdownhook

Shawes
June 22nd, 2010, 00:46
How to make autosaver? :P Or what to do in source