Ok, i found some in OlympiadGameTask.java:
public static final int[] TELEPORT_TO_TOWN =
{
40,
30,
20,
10,
5,
4,
3,
2,
1,
0
};
// End of the battle
case GAME_STOPPED:
{
_state = GameState.TELE_TO_TOWN;
_countDown = Config.ALT_OLY_WAIT_END;
stopGame();
delay = getDelay(TELEPORT_TO_TOWN);
break;
}
// Teleport to town countdown
case TELE_TO_TOWN:
{
_game.broadcastPacket(SystemMessage.getSystemMessage(SystemMessageId.YOU_WILL_BE_MOVED_TO_TOWN_IN_S1_SECONDS).addNumber(_countDown));
delay = getDelay(TELEPORT_TO_TOWN);
if (_countDown <= 0)
_state = GameState.CLEANUP;
break;
}
// Removals
case CLEANUP:
{
cleanupGame();
_state = GameState.IDLE;
_game = null;
return;
}
}
ThreadPool.schedule(this, delay * 1000);
}
catch (Exception e)
{
switch (_state)
{
case GAME_STOPPED:
case TELE_TO_TOWN:
case CLEANUP:
case IDLE:
{
_log.log(Level.WARNING, "Unable to return players back in town, exception: " + e.getMessage());
_state = GameState.IDLE;
_game = null;
return;
}
}
_log.log(Level.WARNING, "Exception in " + _state + ", trying to port players back: " + e.getMessage(), e);
_state = GameState.GAME_STOPPED;
ThreadPool.schedule(this, 1000);
}
}
What should i change? I'm not pro on it, that's why i'm asking for help..