RapeScap3
Would you like to react to this message? Create an account in a few clicks or log in to continue.


The Growing Hit 317 Rs Private Server RapeScap3...BEST Customs!!!
 
HomeHomeGalleryLatest imagesSearchLog inRegister

 

 anti x log for adrian :) bobibob

Go down 
AuthorMessage
Bobibob

Bobibob


Posts : 538
Points : 115764
Rank : 24
Join date : 2009-08-27
Age : 29
Location : uk

anti x log for adrian :) bobibob Empty
PostSubject: anti x log for adrian :) bobibob   anti x log for adrian :) bobibob Icon_minitimeThu Aug 27, 2009 4:35 am

Find this in client.java: (you should have this file copied already)
public void destruct()

Look around for:
"ClientHandler: Client " + playerName + " disconnected.");

Under it you'll see:
|| disconnected = true

Replace it with:
if (LogoutDelay > 0) {
disconnected = false;
xLog();
logout();
} else {
disconnected = true;
}


Find incombat()
Above the void function, add:
public void xLog()
{
LogoutDelay = 30; // You can change this number
}


Your logout void function should look like this:
public void logout() {
if(LogoutDelay == 0) {
outStream.createFrame(109);
disconnected = true;
} }
Back to top Go down
 
anti x log for adrian :) bobibob
Back to top 
Page 1 of 1
 Similar topics
-
» for adrian anti dupe code :) bobibob
» Bobibob & Pure kaos Sigs
» bobibob ftw
» ::war rules set by bobibob
» bobibob / adam is quitting

Permissions in this forum:You cannot reply to topics in this forum
RapeScap3 :: General :: Runescape General-
Jump to: