[Project Insanity Base] Idle Logout

T A K 3 N

Member
Reputation
0
This is extremely easy to do. Just thought it might help you all out though.

What it does:
Logs you out if you are idle for about 5 minutes. UNLESS you are in combat.

Add this into your IdleLogout class:

Code:
		case 202:
			if (c.underAttackBy > 0 || c.underAttackBy2 > 0) {
				return;
			} else {
				c.logout();
				Misc.println(c.playerName + " is idle, kicked.");
			}
			break;
Congratulations, you now have an Idle Logout :thumbsup:

Save + Compile.
 
It seems to me , that all you see .. is violence and movies , and sex on T.v ..

It seems to me, that all you do is Copy + Paste .. :/
But no doubt, this is a decent tutorial.
 
Project- said:
It seems to me , that all you see .. is violence and movies , and sex on T.v ..

It seems to me, that all you do is Copy + Paste .. :/
But no doubt, this is a decent tutorial.

It is a little snippet, but it's pretty effective :laugh:
 
thx for help :thumbsup:
 
Atrain said:
Please give credits where do. As stated above, you took this from somewhere else.
No I didn't. I released this on Runelocus and I think Rune-Server. My username is Justin on RL and JUSTINNN on R-S.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…