Hello Maxcheaters! so before some minutes i put the CTF Event on my server from FFs's CTF Event...!
so when i tested it on Freya those problems didn't exists... but on last revision of H5 i got errors... check this out!
CTF.java
// Remove Summon's buffs if (player.getPet() != null) { L2Summon summon = player.getPet(); for (L2Effect e : summon.getAllEffects()) { if (e != null) { e.exit(); } }
if (summon instanceof L2PetInstance) { summon.unSummon(player); } } }
if (Config.CTF_ON_START_REMOVE_ALL_EFFECTS) { for (L2Effect e : player.getAllEffects()) { if (e != null) { e.exit(); } } }
// Remove player from his party if (player.getParty() != null) { L2Party party = player.getParty(); party.removePartyMember(player, null); }
player.teleToLocation(_teamsBaseX.get(_teams.indexOf(player._teamNameCTF)), _teamsBaseY.get(_teams.indexOf(player._teamNameCTF)), _teamsBaseZ.get(_teams.indexOf(player._teamNameCTF))); } } ThreadPoolManager.getInstance().scheduleGeneral(new BaseTeleportTask(true), 20000); } else { AnnounceToPlayers(true, "CTF Event: Teleporting to team spot in 15 seconds!");
ThreadPoolManager.getInstance().scheduleGeneral(new Runnable() { @Override public void run() { spawnAllFlags();
for (L2PcInstance player : _players) { if (player != null) { if (Config.CTF_ON_START_UNSUMMON_PET) { // Remove Summon's buffs if (player.getPet() != null) { L2Summon summon = player.getPet(); for (L2Effect e : summon.getAllEffects()) { if (e != null) { e.exit(); } }
if (summon instanceof L2PetInstance) { summon.unSummon(player); } } }
if (Config.CTF_ON_START_REMOVE_ALL_EFFECTS) { for (L2Effect e : player.getAllEffects()) { if (e != null) { e.exit(); } } }
// Remove player from his party if (player.getParty() != null) { L2Party party = player.getParty(); party.removePartyMember(player, null); }
public static boolean teleportAutoStart() { if (!_joining || _started || _teleport) { return false; }
if (Config.CTF_EVENT_TEAMS.equals("SHUFFLE") && checkMinPlayers(_playersShuffle.size())) { removeOfflinePlayers(); shuffleTeams(); } else if (Config.CTF_EVENT_TEAMS.equals("SHUFFLE") && !checkMinPlayers(_playersShuffle.size())) { AnnounceToPlayers(true, "CTF Event: Not enough players registered."); return false; }
_joining = false; setUserData();
if (Config.CTF_BASE_TELEPORT_FIRST) { AnnounceToPlayers(true, "CTF Event: Teleporting to team base. The fight will being in 20 seconds!");
for (L2PcInstance player : _players) { if (player != null) { if (Config.CTF_ON_START_UNSUMMON_PET) { // Remove Summon's buffs if (player.getPet() != null) { L2Summon summon = player.getPet(); for (L2Effect e : summon.getAllEffects()) { if (e != null) { e.exit(); } }
if (summon instanceof L2PetInstance) { summon.unSummon(player); } } }
if (Config.CTF_ON_START_REMOVE_ALL_EFFECTS) { for (L2Effect e : player.getAllEffects()) { if (e != null) { e.exit(); } } }
// Remove player from his party if (player.getParty() != null) { L2Party party = player.getParty(); party.removePartyMember(player, null); }
player.teleToLocation(_teamsBaseX.get(_teams.indexOf(player._teamNameCTF)), _teamsBaseY.get(_teams.indexOf(player._teamNameCTF)), _teamsBaseZ.get(_teams.indexOf(player._teamNameCTF))); } } ThreadPoolManager.getInstance().scheduleGeneral(new BaseTeleportTask(true), 30000); } else { AnnounceToPlayers(false, "CTF Event: Teleporting to team spot in 15 seconds!");
ThreadPoolManager.getInstance().scheduleGeneral(new Runnable() { @Override public void run() { spawnAllFlags();
for (L2PcInstance player : _players) { if (player != null) { if (Config.CTF_ON_START_UNSUMMON_PET) { // Remove Summon's buffs if (player.getPet() != null) { L2Summon summon = player.getPet(); for (L2Effect e : summon.getAllEffects()) { if (e != null) { e.exit(); } }
The Telegram team is rolling out a new batch of Stars-only gifts you’ll be able to mint as NFTs.
Don’t miss your chance to join the next Telegram trend and earn from it!
Buy Telegram Stars cheap and KYC-free
1 Star from $0.0149 (min. 50 Stars, bulk discounts available)
Promo code STARS5 — 5 % off
Pay any way you like: bank cards · crypto · other popular methods
How to purchase:
➡Online Store — Click
➡ Telegram bot — Click
Other services:
➡ SMM panel — Click
Regular buyers get extra discounts and promo codes.
Support:
➡ Telegram: https://t.me/solomon_bog
➡ Telegram channel: https://t.me/accsforyou_shop
➡ Discord: https://discord.gg/y9AStFFsrh
➡ WhatsApp: https://wa.me/79051904467
➡ Email: solomonbog@socnet.store
Use these contacts to discuss wholesale orders, partnerships (current list: https://socnet.bgng.io/partners) or to become a supplier.
SocNet — your shop for digital goods and premium subscriptions
The Telegram team is rolling out a new batch of Stars-only gifts you’ll be able to mint as NFTs.
Don’t miss your chance to join the next Telegram trend and earn from it!
Buy Telegram Stars cheap and KYC-free
1 Star from $0.0149 (min. 50 Stars, bulk discounts available)
Promo code STARS5 — 5 % off
Pay any way you like: bank cards · crypto · other popular methods
How to purchase:
➡Online Store — Click
➡ Telegram bot — Click
Other services:
➡ SMM panel — Click
Regular buyers get extra discounts and promo codes.
Support:
➡ Telegram: https://t.me/solomon_bog
➡ Telegram channel: https://t.me/accsforyou_shop
➡ Discord: https://discord.gg/y9AStFFsrh
➡ WhatsApp: https://wa.me/79051904467
➡ Email: solomonbog@socnet.store
Use these contacts to discuss wholesale orders, partnerships (current list: https://socnet.bgng.io/partners) or to become a supplier.
SocNet — your shop for digital goods and premium subscriptions
Hello, lovely people, how are you? I just finished compiling the L2jFrozen project Rev: 1132 (very old).
I don't mind it being too old, since the project is for me and my children. (LAN/Offline) it's not meant to be put online. I want to learn and give my children more comfort when playing. And for my part, I also experiment with the game.
My problem is that I don't know much about the subject. I was able to make some basic configurations to my liking and that of my children, but it never compiles or anything like that... I would really need help from you, the community... I simply want to remove all subclass restrictions, remove the restriction on "Overlord, Warsmith, and Dark Elf subclasses with White Elves and vice versa." Thank you very much in advance! Greetings, community.
Warriors, prepare for a new era!
We are pleased to announce that on July 12, with the morning restart, Airin will be updated to Chronicle 4: Scions of Destiny.
- Open Beta Testing (OBT) will begin on July 9. Everyone will be able to test the update in advance, including class mechanics, quests, and new content.
- The Clan Hall Auction will take place on July 13.
We’ve also prepared a traditional bonus start - details will be shared in the coming days.
The full list of changes is available in the official patch notes.
Thank you for your support and participation in the project. See you in Chronicle 4!
The game client download will be available soon.
Question
xXObanXx
Hello Maxcheaters! so before some minutes i put the CTF Event on my server from FFs's CTF Event...!
so when i tested it on Freya those problems didn't exists... but on last revision of H5 i got errors...
check this out!
CTF.java
anyone knows the fix?!
thank's!
3 answers to this question
Recommended Posts