double bonus = Config.SERVICES_RATE_BONUS_VALUE[i];
int bonusExpire = (int) (System.currentTimeMillis() / 1000L) + (Config.SERVICES_RATE_BONUS_DAYS[i] * 24 * 60 * 60);
switch (Config.SERVICES_RATE_TYPE)
{
case Bonus.BONUS_GLOBAL_ON_LOGINSERVER:
LoginServerCommunication.getInstance().sendPacket(new BonusRequest(player.getAccountName(), bonus, bonusExpire));
break;
case Bonus.BONUS_GLOBAL_ON_GAMESERVER:
AccountBonusDAO.getInstance().insert(player.getAccountName(), bonus, bonusExpire);
break;
}