Sync with L2jServer HighFive Aug 21st 2015.
This commit is contained in:
@ -46,8 +46,7 @@ public final class FortressOfResistance extends ClanHallSiegeEngine
|
||||
{
|
||||
new Location(45109, 112124, -1900), // 30%
|
||||
new Location(47653, 110816, -2110), // 40%
|
||||
new Location(47247, 109396, -2000)
|
||||
// 30%
|
||||
new Location(47247, 109396, -2000), // 30%
|
||||
};
|
||||
|
||||
private L2Spawn _nurka;
|
||||
@ -86,8 +85,7 @@ public final class FortressOfResistance extends ClanHallSiegeEngine
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
_log.warning(getName() + ": Couldnt set the Bloody Lord Nurka spawn");
|
||||
e.printStackTrace();
|
||||
_log.warning(getName() + ": Couldn't set the Bloody Lord Nurka spawn!");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -686,7 +686,7 @@ public final class RainbowSpringsChateau extends ClanHallSiegeEngine
|
||||
{
|
||||
if ((arena < 0) || (arena > 3))
|
||||
{
|
||||
_log.warning("RainbowSptringChateau siege: Wrong arena id passed: " + arena);
|
||||
_log.warning("RainbowSptringChateau siege: Wrong arena ID passed: " + arena);
|
||||
return;
|
||||
}
|
||||
for (L2PcInstance pc : leader.getParty().getMembers())
|
||||
@ -725,7 +725,7 @@ public final class RainbowSpringsChateau extends ClanHallSiegeEngine
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
e.printStackTrace();
|
||||
// _log.warning("Unable to spawn guard for clan index " + i + "!");
|
||||
}
|
||||
}
|
||||
SpawnTable.getInstance().addNewSpawn(_gourds[i], false);
|
||||
@ -844,7 +844,7 @@ public final class RainbowSpringsChateau extends ClanHallSiegeEngine
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
e.printStackTrace();
|
||||
// _log.warning(RainbowSpringsChateau.class.getSigners() + ": Unable to remove attacker clan ID " + clanId + " from database!");
|
||||
}
|
||||
}
|
||||
|
||||
@ -859,7 +859,7 @@ public final class RainbowSpringsChateau extends ClanHallSiegeEngine
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
e.printStackTrace();
|
||||
// _log.warning(RainbowSpringsChateau.class.getSigners() + ": Unable add attakers for clan ID " + clanId + " and count " + count + "!");
|
||||
}
|
||||
}
|
||||
|
||||
@ -867,19 +867,17 @@ public final class RainbowSpringsChateau extends ClanHallSiegeEngine
|
||||
public void loadAttackers()
|
||||
{
|
||||
try (Connection con = ConnectionFactory.getInstance().getConnection();
|
||||
Statement s = con.createStatement())
|
||||
Statement s = con.createStatement();
|
||||
ResultSet rset = s.executeQuery("SELECT * FROM rainbowsprings_attacker_list"))
|
||||
{
|
||||
try (ResultSet rset = s.executeQuery("SELECT * FROM rainbowsprings_attacker_list"))
|
||||
while (rset.next())
|
||||
{
|
||||
while (rset.next())
|
||||
{
|
||||
_warDecreesCount.put(rset.getInt("clan_id"), rset.getLong("decrees_count"));
|
||||
}
|
||||
_warDecreesCount.put(rset.getInt("clan_id"), rset.getLong("decrees_count"));
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
e.printStackTrace();
|
||||
_log.warning(RainbowSpringsChateau.class.getSigners() + ": Unable load attakers!");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -547,7 +547,6 @@ public abstract class FlagWar extends ClanHallSiegeEngine
|
||||
{
|
||||
endSiege();
|
||||
_log.warning(getName() + ": Problems in siege initialization!");
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -653,8 +652,7 @@ public abstract class FlagWar extends ClanHallSiegeEngine
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
_log.warning(getName() + ": Couldnt make clan spawns: " + e.getMessage());
|
||||
e.printStackTrace();
|
||||
_log.warning(getName() + ": Could not make clan spawns: " + e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user