Thread: Increase Time Before Logout?

Results 1 to 5 of 5
  1. #1 Increase Time Before Logout? 
    Registered Member
    Join Date
    Dec 2009
    Posts
    200
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Just for Devolution X - like Delta so maybe a TuT for DS to?
    Cheers.
    Reply With Quote  
     

  2. #2  
    Previously Hyperion


    Join Date
    Jan 2009
    Posts
    1,254
    Thanks given
    3
    Thanks received
    18
    Rep Power
    138
    Search "case 202" i think it is in client class. Should be in there
    Reply With Quote  
     

  3. #3  
    Runebay™
    Guest
    You can edit it client sided...
    Its super easy, i believe its in client.java of the client..
    Theres a tut or snippet I read yesterday in client section
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Dec 2009
    Posts
    200
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Hyperion View Post
    Search "case 202" i think it is in client class. Should be in there
    Okay located 'case 202':
    Code:
    		case 202:
    			logout();
    			break;
    Then searched the 'logout();' process:

    Code:
    	public void logout() {
    		if (inCombat) {
    		}
    		if (validClient(duel_with) && duelFight) {
    			getClient(duel_with).DuelVictory();
    		} else {
    			declineDuel();
    		}
    		savegame(true);
    		outStream.createFrame(109);
    	}
    No time variable so I searched for 'logout();' once more and found this snippet:

    Code:
    			case 9154:
    				long currentTime = System.currentTimeMillis();
    				if (inCombat) {
    					sendMessage("You must wait 10 seconds after fighting 
    
    before you may logout.");
    					break;
    				}
    				logout();
    				break;
    Okay so could this line of code here be what I need to alter?
    Code:
    long currentTime = System.currentTimeMillis();
    Although I still don't have a fucken clue as to how to change the current logged in time of about two minutes?
    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Mar 2009
    Age
    31
    Posts
    1,008
    Thanks given
    32
    Thanks received
    7
    Rep Power
    111
    Code:
    if (inCombat) {
    		long current = System.currentTimeMillis();
    		if(current - lastCombat >= 10000) {
    			inCombat = false;
    		}
    		}
    		if (currentHealth < 1) {
    			deathStage = 1;
    		}
    if(hitDiff > 0){
    sendQuest("" + currentHealth, 4016);
    }
    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

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •