@ -18,34 +18,36 @@ public class UpdateEvent implements ActionListener{
}
}
private void UpdateAuthenticationCountdownMessage ( ) {
private void UpdateAuthenticationCountdownMessage ( ) {
if ( ! sigIRC . authenticated & & last_authentication_msg < MSGTIMER ) {
if ( sigIRC . downloadsComplete ) {
last_authentication_msg + + ;
if ( ! sigIRC . authenticated & & last_authentication_msg < MSGTIMER ) {
} else
last_authentication_msg + + ;
if ( ! sigIRC . authenticated & & last_authentication_msg > = MSGTIMER ) {
} else
last_authentication_msg = 0 ;
if ( ! sigIRC . authenticated & & last_authentication_msg > = MSGTIMER ) {
sigIRC . panel . addMessage ( "SYSTEM: Your oauthToken was not successful. Please go to the sigIRC folder and make sure your oauthToken.txt file is correct!!! SwiftRage" ) ;
last_authentication_msg = 0 ;
}
sigIRC . panel . addMessage ( "SYSTEM: Your oauthToken was not successful. Please go to the sigIRC folder and make sure your oauthToken.txt file is correct!!! SwiftRage" ) ;
if ( last_autosave < AUTOSAVETIMER ) {
}
last_authentication_msg + + ;
if ( last_autosave < AUTOSAVETIMER ) {
} else
last_authentication_msg + + ;
if ( last_autosave > = AUTOSAVETIMER ) {
} else
last_autosave = 0 ;
if ( last_autosave > = AUTOSAVETIMER ) {
sigIRC . windowX = sigIRC . window . getX ( ) ;
last_autosave = 0 ;
sigIRC . windowY = sigIRC . window . getY ( ) ;
sigIRC . windowX = sigIRC . window . getX ( ) ;
sigIRC . windowWidth = sigIRC . window . getWidth ( ) ;
sigIRC . windowY = sigIRC . window . getY ( ) ;
sigIRC . windowHeight = sigIRC . window . getHeight ( ) ;
sigIRC . windowWidth = sigIRC . window . getWidth ( ) ;
sigIRC . config . setInteger ( "windowX" , sigIRC . windowX ) ;
sigIRC . windowHeight = sigIRC . window . getHeight ( ) ;
sigIRC . config . setInteger ( "windowY" , sigIRC . windowY ) ;
sigIRC . config . setInteger ( "windowX" , sigIRC . windowX ) ;
sigIRC . config . setInteger ( "windowWidth" , sigIRC . windowWidth ) ;
sigIRC . config . setInteger ( "windowY" , sigIRC . windowY ) ;
sigIRC . config . setInteger ( "windowHeight" , sigIRC . windowHeight ) ;
sigIRC . config . setInteger ( "windowWidth" , sigIRC . windowWidth ) ;
sigIRC . config . saveProperties ( ) ;
sigIRC . config . setInteger ( "windowHeight" , sigIRC . windowHeight ) ;
}
sigIRC . config . saveProperties ( ) ;
if ( sigIRC . lastPlayedDing > 0 ) {
}
sigIRC . lastPlayedDing - - ;
if ( sigIRC . lastPlayedDing > 0 ) {
sigIRC . lastPlayedDing - - ;
}
updateFPSCounter ( ) ;
sigIRC . window . setTitle ( "sigIRCv2 - " + ( avgfps ) + " FPS" ) ;
lasttime = System . currentTimeMillis ( ) ;
}
}
updateFPSCounter ( ) ;
sigIRC . window . setTitle ( "sigIRCv2 - " + ( avgfps ) + " FPS" ) ;
lasttime = System . currentTimeMillis ( ) ;
}
}
public void updateFPSCounter ( ) {
public void updateFPSCounter ( ) {