Thread: Easy Fix [PI]

Results 1 to 9 of 9
  1. #1 Easy Fix [PI] 
    Registered Member
    Join Date
    Dec 2011
    Posts
    706
    Thanks given
    9
    Thanks received
    3
    Rep Power
    30
    I've looked everywhere to change the IdleTime logout, but I just can't find it. I looked at numerous guides, but they didn't help. Where is it?
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Apr 2013
    Posts
    207
    Thanks given
    12
    Thanks received
    14
    Rep Power
    0
    Are you wanting to delete it in all?
    Reply With Quote  
     

  3. #3  
    Donator
    bluReaper's Avatar
    Join Date
    Dec 2014
    Age
    26
    Posts
    95
    Thanks given
    5
    Thanks received
    16
    Rep Power
    0
    Depending on what your Idlelogout.java has in it, the following will log you out after an idle time of 5minutes, surely thats long enough
    Code:
    case 202:
    			if (c.underAttackBy > 0 || c.underAttackBy2 > 0) {
    				return;
    			} else {
    				c.logout();
    				Misc.println(c.playerName + " is idle, kicked.");
    			}
    			break;
    Or if your wanting to disable it all together you can also do so in your idlelogout.java or your packethandler which should be found in server.model.players.packets
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Dec 2011
    Posts
    706
    Thanks given
    9
    Thanks received
    3
    Rep Power
    30
    Quote Originally Posted by x0kazik View Post
    Depending on what your Idlelogout.java has in it, the following will log you out after an idle time of 5minutes, surely thats long enough
    Code:
    case 202:
    			if (c.underAttackBy > 0 || c.underAttackBy2 > 0) {
    				return;
    			} else {
    				c.logout();
    				Misc.println(c.playerName + " is idle, kicked.");
    			}
    			break;
    Or if your wanting to disable it all together you can also do so in your idlelogout.java or your packethandler which should be found in server.model.players.packets
    Yes, I have that, how can I change the 5 minutes?
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Dec 2011
    Posts
    706
    Thanks given
    9
    Thanks received
    3
    Rep Power
    30
    Bump.
    Reply With Quote  
     

  6. #6  
    Donator

    Join Date
    Oct 2014
    Posts
    587
    Thanks given
    29
    Thanks received
    76
    Rep Power
    26
    The client sends a idle packet to the server every 5 minutes if your idle, so you would need to look in the client.
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Dec 2011
    Posts
    706
    Thanks given
    9
    Thanks received
    3
    Rep Power
    30
    Do you know where? And If I do change this, will it effect anything else other than afk?
    Reply With Quote  
     

  8. #8  
    Server developer


    Join Date
    Jul 2010
    Posts
    881
    Thanks given
    265
    Thanks received
    55
    Rep Power
    94


    I am the one who knocks
    - - - - -

    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Dec 2011
    Posts
    706
    Thanks given
    9
    Thanks received
    3
    Rep Power
    30
    Is the 4500 in seconds? If so, that is 75 minutes... Players are logged out in like 4 minutes..
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [PI] Easy fix?
    By LorenzoMKW in forum Help
    Replies: 0
    Last Post: 05-16-2011, 01:06 AM
  2. [PI] Combat glitch (Easy fix - Rep ++)
    By Owner godlys in forum Help
    Replies: 3
    Last Post: 03-29-2011, 03:44 PM
  3. 2 easy fixes. [PI/EMULOUS 1.7]
    By Snow Cat123 in forum Snippets
    Replies: 0
    Last Post: 12-11-2010, 11:12 PM
  4. [PI] Easy fix for rep
    By iobpkbarrage in forum Help
    Replies: 7
    Last Post: 07-01-2010, 09:52 AM
  5. Easy fix for rollback dupe[PI]
    By Trock in forum Snippets
    Replies: 11
    Last Post: 06-10-2010, 07:29 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •