Skip to content

Commit

Permalink
Removido pasta aCis_gameserver/build/ do repositorio. Obrigado death15
Browse files Browse the repository at this point in the history
pelo report.
Otimização do Siege Reward
Add config do evento Character Monument.
Add Frintezza parte 1.
Removido Teleport do Frintezza para GrandBossTeleport, mensagens das
htmls não Oficiais, me desculpem mais estou a procura delas originais.
  • Loading branch information
Williams authored and Williams committed Jan 10, 2020
1 parent 290fc72 commit 43f86e2
Show file tree
Hide file tree
Showing 267 changed files with 176 additions and 24 deletions.
2 changes: 1 addition & 1 deletion aCis_datapack/data/html/default/32011.htm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<html><body>
I feel an invisible barrier... Some sort of Magic Force Field has been put in place...<br>
...? The guide of the Imperial mausoleum seems to have something to say.<br><br>
<a action="bypass -h npc_%objectId%_Quest FinalEmperialTomb">Enter the Magic Force Field</a><br>
<a action="bypass -h npc_%objectId%_Quest GrandBossTeleporters">Enter the Magic Force Field</a><br>
<a action="bypass -h npc_%objectId%_Chat 1">Listen to Imperial Tomb Guide</a><br>
<a action="bypass -h npc_%objectId%_Quest">Quest</a>
</body></html>
2 changes: 1 addition & 1 deletion aCis_datapack/data/xml/scripts.xml
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@
<script path="scripts.ai.individual.Benom"/>
<script path="scripts.ai.individual.Core"/>
<script path="scripts.ai.individual.DrChaos"/>
<!-- <script path="scripts.ai.individual.Frintezza"/> -->
<script path="scripts.ai.individual.Frintezza"/>
<script path="scripts.ai.individual.Gordon"/>
<!-- <script path="scripts.ai.individual.IceFairySirra"/> -->
<script path="scripts.ai.individual.Orfen"/>
Expand Down
10 changes: 4 additions & 6 deletions aCis_datapack/data/xml/zones/BossZone.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,10 @@
<node x="26846" y="-8117"/>
<node x="28231" y="-8163"/>
</zone>
<zone id="110012" shape="NPoly" minZ="-5200" maxZ="-4680"><!-- Frintezza -->
<stat name="InvadeTime" val="1800000"/>
<node x="172031" y="-90127"/>
<node x="176428" y="-90089"/>
<node x="176428" y="-74051"/>
<node x="172057" y="-74108"/>
<zone id="110012" shape="Cuboid" minZ="-5200" maxZ="-4680"> <!-- Frintezza -->
<stat name="InvadeTime" val="1800000" />
<node x="172176" y="-74106" />
<node x="176284" y="-90033" />
</zone>
<zone id="110013" shape="NPoly" minZ="-5136" maxZ="864"><!-- Ice Fairy 1 -->
<stat name="InvadeTime" val="1800000"/>
Expand Down
42 changes: 42 additions & 0 deletions aCis_gameserver/bin/events.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,45 @@

#=============================================================
# Character Killing Monuments
#=============================================================
# Enable the Character Killing Monuments
# Default: False
CKMEnabled = True

# The killing cycle length
# Default: 86400000 (24h)
CKMCycleLength = 86400000

# The title of the Monument for the PvP winner
# Note: %kills% will be replaced with the winner's PvP count in the cycle
# Default: %kills% PvPs in the last 24h
CKMPvPNpcTitle = %kills% PvPs in the last 24h

# The title color of the Monument for the PvP winner
# Default: 00CCFF (yellow)
CKMPvPNpcTitleColor = 00CCFF

# The name color of the Monument for the PvP winner
# Default: FFFFFF (white)
CKMPvPNpcNameColor = FFFFFF

# The title of the Monument for the PK winner
# Note: %kills% will be replaced with the winner's PK count in the cycle
# Default: %kills% PvPs in the last 24h
CKMPKNpcTitle = %kills% PKs in the last 24h

# The title color of the Monument for the PK winner
# Default: 00CCFF (yellow)
CKMPKNpcTitleColor = 00CCFF

# The name color of the Monument for the PK winner
# Default: FFFFFF (white)
CKMPKNpcNameColor = FFFFFF

# Reward Item Top winner
# Example: CKMReward = itemId,amount;itemId,amount;
CKMReward = 3470-1

#=============================================================
# PC Bang Point
#=============================================================
Expand Down
Binary file modified aCis_gameserver/bin/net/sf/l2j/Config$ClassMasterSettings.class
Binary file not shown.
Binary file modified aCis_gameserver/bin/net/sf/l2j/Config.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified aCis_gameserver/build/classes/net/sf/l2j/Config.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified aCis_gameserver/build/classes/net/sf/l2j/gameserver/Shutdown.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified aCis_gameserver/build/l2jserver.jar
Binary file not shown.
42 changes: 42 additions & 0 deletions aCis_gameserver/config/events.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,45 @@

#=============================================================
# Character Killing Monuments
#=============================================================
# Enable the Character Killing Monuments
# Default: False
CKMEnabled = True

# The killing cycle length
# Default: 86400000 (24h)
CKMCycleLength = 86400000

# The title of the Monument for the PvP winner
# Note: %kills% will be replaced with the winner's PvP count in the cycle
# Default: %kills% PvPs in the last 24h
CKMPvPNpcTitle = %kills% PvPs in the last 24h

# The title color of the Monument for the PvP winner
# Default: 00CCFF (yellow)
CKMPvPNpcTitleColor = 00CCFF

# The name color of the Monument for the PvP winner
# Default: FFFFFF (white)
CKMPvPNpcNameColor = FFFFFF

# The title of the Monument for the PK winner
# Note: %kills% will be replaced with the winner's PK count in the cycle
# Default: %kills% PvPs in the last 24h
CKMPKNpcTitle = %kills% PKs in the last 24h

# The title color of the Monument for the PK winner
# Default: 00CCFF (yellow)
CKMPKNpcTitleColor = 00CCFF

# The name color of the Monument for the PK winner
# Default: FFFFFF (white)
CKMPKNpcNameColor = FFFFFF

# Reward Item Top winner
# Example: CKMReward = itemId,amount;itemId,amount;
CKMReward = 3470-1

#=============================================================
# PC Bang Point
#=============================================================
Expand Down
2 changes: 0 additions & 2 deletions aCis_gameserver/java/net/sf/l2j/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,6 @@ public final class Config
public static int MAX_DEFENDERS_NUMBER;
public static int ATTACKERS_RESPAWN_DELAY;

public static boolean ENABLE_WINNNER_REWARD_SIEGE_CLAN;
public static IntIntHolder[] REWARD_WINNER_SIEGE_CLAN;
public static IntIntHolder[] LEADER_REWARD_WINNER_SIEGE_CLAN;

Expand Down Expand Up @@ -1309,7 +1308,6 @@ private static final void loadSieges()
MAX_DEFENDERS_NUMBER = sieges.getProperty("DefenderMaxClans", 10);
ATTACKERS_RESPAWN_DELAY = sieges.getProperty("AttackerRespawn", 10000);

ENABLE_WINNNER_REWARD_SIEGE_CLAN = sieges.getProperty("EnableRewardWinnerClan", false);
REWARD_WINNER_SIEGE_CLAN = sieges.parseIntIntList("MembersRewardsID", "57-100");
LEADER_REWARD_WINNER_SIEGE_CLAN = sieges.parseIntIntList("LeaderRewardsID", "57-400");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import java.util.List;

import net.sf.l2j.commons.random.Rnd;
import net.sf.l2j.commons.util.ArraysUtil;
import net.sf.l2j.commons.util.StatsSet;

import net.sf.l2j.gameserver.data.xml.ItemData;
Expand Down Expand Up @@ -84,7 +85,7 @@ public PlayerTemplate(StatsSet set)
_isbuffs = set.getBool("isbuffs", false);
_isShow = set.getBool("isShow", false);

_buffs = set.getIntegerArray("buffs");
_buffs = set.getIntegerArray("buffs", ArraysUtil.EMPTY_INT_ARRAY);

_level = set.getInteger("level", 1);
_sp = set.getInteger("sp", 1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import net.sf.l2j.gameserver.scripting.QuestState;
import net.sf.l2j.gameserver.scripting.scripts.ai.individual.Antharas;
import net.sf.l2j.gameserver.scripting.scripts.ai.individual.Baium;
import net.sf.l2j.gameserver.scripting.scripts.ai.individual.Frintezza;
import net.sf.l2j.gameserver.scripting.scripts.ai.individual.Sailren;
import net.sf.l2j.gameserver.scripting.scripts.ai.individual.Valakas;

Expand All @@ -26,6 +27,7 @@
* <ul>
* <li>13001, Heart of Warding : Teleport into Lair of Antharas</li>
* <li>29055, Teleportation Cubic : Teleport out of Baium zone</li>
* <li>29061, Teleportation Cubic : Teleport out of Frintezza zone</li>
* <li>31859, Teleportation Cubic : Teleport out of Lair of Antharas</li>
* <li>31384, Gatekeeper of Fire Dragon : Opening some doors</li>
* <li>31385, Heart of Volcano : Teleport into Lair of Valakas</li>
Expand All @@ -34,6 +36,7 @@
* <li>31687, Gatekeeper of Fire Dragon : Opens doors to Heart of Volcano</li>
* <li>31759, Teleportation Cubic : Teleport out of Lair of Valakas</li>
* <li>31862, Angelic Vortex : Baium Teleport (3 different HTMs according of situation)</li>
* <li>32011, Imperial Tomb Guide : Teleport into Lair of Frintezza</li>
* <li>32107, Teleportation Cubic : Teleport out of Sailren Nest</li>
* <li>32109, Shilen's Stone Statue : Teleport to Sailren Nest</li>
* </ul>
Expand All @@ -58,15 +61,25 @@ public class GrandBossTeleporters extends Quest
new Location(10769, -24107, -3672)
};

private static final Location[] FRINTEZZA_IN =
{
new Location(174102, -76039, -5105),
new Location(173235, -76884, -5105),
new Location(175003, -76933, -5105),
new Location(174196, -76190, -5105),
new Location(174013, -76120, -5105),
new Location(173263, -75161, -5105)
};

private static int _valakasPlayersCount = 0;

public GrandBossTeleporters()
{
super(-1, "teleports");

addFirstTalkId(29055, 31862);
addStartNpc(13001, 29055, 31859, 31384, 31385, 31540, 31686, 31687, 31759, 31862, 32107, 32109);
addTalkId(13001, 29055, 31859, 31384, 31385, 31540, 31686, 31687, 31759, 31862, 32107, 32109);
addFirstTalkId(29055, 31862, 29061);
addStartNpc(13001, 29055, 29061, 31859, 31384, 31385, 31540, 31686, 31687, 31759, 31862, 32011, 32107, 32109);
addTalkId(13001, 29055, 29061, 31859, 31384, 31385, 31540, 31686, 31687, 31759, 31862, 32011, 32107, 32109);
}

@Override
Expand Down Expand Up @@ -130,7 +143,11 @@ public String onFirstTalk(Npc npc, Player player)
case 29055:
htmltext = "29055-01.htm";
break;


case 29061:
player.teleportTo(150037 + Rnd.get(500), -57720 + Rnd.get(500), -2976, 0);
break;

case 31862:
final int status = GrandBossManager.getInstance().getBossStatus(29020);
if (status == Baium.AWAKE)
Expand Down Expand Up @@ -183,11 +200,11 @@ else if (status == Antharas.DORMANT || status == Antharas.WAITING)
htmltext = "13001-03.htm";
}
break;

case 31859:
player.teleportTo(79800 + Rnd.get(600), 151200 + Rnd.get(1100), -3534, 0);
break;

case 31385:
status = GrandBossManager.getInstance().getBossStatus(Valakas.VALAKAS);
if (status == 0 || status == 1)
Expand Down Expand Up @@ -217,19 +234,19 @@ else if (status == 2)
else
htmltext = "31385-01.htm";
break;

case 31384:
DoorData.getInstance().getDoor(24210004).openMe();
break;

case 31686:
DoorData.getInstance().getDoor(24210006).openMe();
break;

case 31687:
DoorData.getInstance().getDoor(24210005).openMe();
break;

case 31540:
if (_valakasPlayersCount < 50)
htmltext = "31540-01.htm";
Expand All @@ -242,15 +259,69 @@ else if (_valakasPlayersCount < 200)
else
htmltext = "31540-05.htm";
break;

case 31759:
player.teleportTo(150037, -57720, -2976, 250);
break;


case 32011:
if (!player.isInParty() || !player.getParty().isLeader(player) || player.getParty().getCommandChannel() == null || player.getParty().getCommandChannel().getLeader() != player)
htmltext = "32011-01.htm";
else if (player.getParty().getCommandChannel().getParties().size() < 4 || player.getParty().getCommandChannel().getParties().size() > 5)
htmltext = "32011-07.htm";
else
{
if (st.hasQuestItems(8073))
{
status = GrandBossManager.getInstance().getBossStatus(Frintezza.FRINTEZZA);
if (status == Frintezza.DORMANT)
{
final List<Player> party = player.getParty().getMembers();

// Check players conditions.
for (Player member : party)
{
if (member.getLevel() < 74)
return "32011-05.htm";

if (!MathUtil.checkIfInRange(700, player, member, true))
return "32011-06.htm";
}

// Take item from party leader.
st.takeItems(8784, 1);

final BossZone nest = ZoneManager.getInstance().getZoneById(110012, BossZone.class);

// Teleport players.
for (Player member : party)
{
if (nest != null)
{
nest.allowPlayerEntry(member, 30);
member.teleportTo(Rnd.get(FRINTEZZA_IN), 50);
}
}
GrandBossManager.getInstance().setBossStatus(Frintezza.FRINTEZZA, Frintezza.FIGHTING);
ScriptData.getInstance().getQuest("Frintezza").startQuestTimer("close", null, null, 100);
ScriptData.getInstance().getQuest("Frintezza").startQuestTimer("beginning", null, null, 5000);
ScriptData.getInstance().getQuest("Frintezza").startQuestTimer("notice", null, null, 2100000);
ScriptData.getInstance().getQuest("Frintezza").startQuestTimer("frintezza_despawn", null, null, 60000);
}
else if (status == Frintezza.DEAD)
htmltext = "32011-03.htm";
else
htmltext = "32011-04.htm";
}
else
htmltext = "32011-02.htm";
}
break;

case 32107:
player.teleportTo(Rnd.get(SAILREN_OUT), 100);
break;

case 32109:
if (!player.isInParty())
htmltext = "32109-03.htm";
Expand Down

0 comments on commit 43f86e2

Please sign in to comment.