Jump to content

Recommended Posts

Posted

Today i'm walking from site to site and find the config for change raidboss respawn time.

 

 

Core Patch:

Index: java/config/NPC.properties
===================================================================
--- java/config/NPC.properties (revision 2832)
+++ java/config/NPC.properties (working copy)
@@ -116,4 +116,29 @@
# Configure the interval at which Boss minions will re-spawn.
# This time is in milliseconds, 1 minute is 60000 milliseconds.
# Retail: 300000
-RaidMinionRespawnTime = 300000
\ No newline at end of file
+RaidMinionRespawnTime = 300000
+
+#============================================================#
+# Grand Boss #
+#============================================================#
+# Max Respawn must be higher when min respawn.Time in hours

+#Antharas
+AntharasMinRespawn = 192
+AntharasMaxRespawn = 337
+#Baium
+BaiumMinRespawn = 121
+BaiumMaxRespawn = 129
+#Core
+CoreMinRespawn = 27
+CoreMaxRespawn = 74
+#Orfen
+OrfenMinRespawn = 28
+OrfenMaxRespawn = 69
+#Queen Ant
+QAMinRespawn = 19
+QAMaxRespawn = 54
+#Valakas
+ValakasMinRespawn = 192
+ValakasMaxRespawn = 337
+#Zaken
+ZakenMinRespawn = 19
+ZakenMaxRespawn = 54
\ No newline at end of file
Index: java/net/sf/l2j/Config.java
===================================================================
--- java/net/sf/l2j/Config.java 
+++ java/net/sf/l2j/Config.java (working copy)
@@ -588,6 +588,20 @@
public static double RAID_MINION_RESPAWN_TIMER;
public static float RAID_MIN_RESPAWN_MULTIPLIER;
public static float RAID_MAX_RESPAWN_MULTIPLIER;
+ public static int ANTHARAS_MIN_RESPAWN;
+ public static int ANTHARAS_MAX_RESPAWN;
+ public static int BAIUM_MIN_RESPAWN;
+ public static int BAIUM_MAX_RESPAWN;
+ public static int CORE_MIN_RESPAWN;
+ public static int CORE_MAX_RESPAWN;
+ public static int ORFEN_MIN_RESPAWN;
+ public static int ORFEN_MAX_RESPAWN;
+ public static int QA_MIN_RESPAWN;
+ public static int QA_MAX_RESPAWN;
+ public static int VALAKAS_MIN_RESPAWN;
+ public static int VALAKAS_MAX_RESPAWN;
+ public static int ZAKEN_MIN_RESPAWN;
+ public static int ZAKEN_MAX_RESPAWN;
public static int INVENTORY_MAXIMUM_PET;

/** ************************************************** **/
@@ -1675,6 +1689,20 @@
RAID_MIN_RESPAWN_MULTIPLIER = Float.parseFloat(NPC.getProperty("RaidMinRespawnMultiplier", "1.0"));
RAID_MAX_RESPAWN_MULTIPLIER = Float.parseFloat(NPC.getProperty("RaidMaxRespawnMultiplier", "1.0"));
RAID_MINION_RESPAWN_TIMER = Integer.parseInt(NPC.getProperty("RaidMinionRespawnTime", "300000"));
+ ANTHARAS_MIN_RESPAWN = Integer.parseInt(NPC.getProperty("AntharasMinRespawn", "192"));
+ ANTHARAS_MAX_RESPAWN = Integer.parseInt(NPC.getProperty("AntharasMaxRespawn", "337"));
+ BAIUM_MIN_RESPAWN = Integer.parseInt(NPC.getProperty("BaiumMinRespawn", "121"));
+ BAIUM_MAX_RESPAWN = Integer.parseInt(NPC.getProperty("BaiumMaxRespawn", "129"));
+ CORE_MIN_RESPAWN = Integer.parseInt(NPC.getProperty("CoreMinRespawn", "27"));
+ CORE_MAX_RESPAWN = Integer.parseInt(NPC.getProperty("CoreMaxRespawn", "74"));
+ ORFEN_MIN_RESPAWN = Integer.parseInt(NPC.getProperty("OrfenMinRespawn", "28"));
+ ORFEN_MAX_RESPAWN = Integer.parseInt(NPC.getProperty("OrfenMaxRespawn", "69"));
+ QA_MIN_RESPAWN = Integer.parseInt(NPC.getProperty("QAMinRespawn", "19"));
+ QA_MAX_RESPAWN = Integer.parseInt(NPC.getProperty("QAMaxRespawn", "54"));
+ VALAKAS_MIN_RESPAWN = Integer.parseInt(NPC.getProperty("ValakasMinRespawn", "192"));
+ VALAKAS_MAX_RESPAWN = Integer.parseInt(NPC.getProperty("ValakasMaxRespawn", "337"));
+ ZAKEN_MIN_RESPAWN = Integer.parseInt(NPC.getProperty("ZakenMinRespawn", "19"));
+ ZAKEN_MAX_RESPAWN = Integer.parseInt(NPC.getProperty("ZakenMaxRespawn", "54"));
INVENTORY_MAXIMUM_PET = Integer.parseInt(NPC.getProperty("MaximumSlotsForPet", "12"));

}
@@ -2205,7 +2233,21 @@
else if (pName.equalsIgnoreCase("RaidMpRegenMultiplier")) RAID_MP_REGEN_MULTIPLIER = Double.parseDouble(pValue);
else if (pName.equalsIgnoreCase("RaidPDefenceMultiplier")) RAID_PDEFENCE_MULTIPLIER = Double.parseDouble(pValue) /100;
else if (pName.equalsIgnoreCase("RaidMDefenceMultiplier")) RAID_MDEFENCE_MULTIPLIER = Double.parseDouble(pValue) /100;
- else if (pName.equalsIgnoreCase("RaidMinionRespawnTime")) RAID_MINION_RESPAWN_TIMER =Integer.parseInt(pValue);
+ else if (pName.equalsIgnoreCase("RaidMinionRespawnTime")) RAID_MINION_RESPAWN_TIMER = Integer.parseInt(pValue);
+ else if (pName.equalsIgnoreCase("AntharasMinRespawn")) ANTHARAS_MIN_RESPAWN = Integer.parseInt(pValue);
+ else if (pName.equalsIgnoreCase("AntharasMaxRespawn")) ANTHARAS_MAX_RESPAWN = Integer.parseInt(pValue) < ANTHARAS_MIN_RESPAWN ? ANTHARAS_MIN_RESPAWN : Integer.parseInt(pValue);
+ else if (pName.equalsIgnoreCase("BaiumMinRespawn")) BAIUM_MIN_RESPAWN = Integer.parseInt(pValue);
+ else if (pName.equalsIgnoreCase("BaiumMaxRespawn")) BAIUM_MAX_RESPAWN = Integer.parseInt(pValue) < BAIUM_MIN_RESPAWN ? BAIUM_MIN_RESPAWN : Integer.parseInt(pValue);
+ else if (pName.equalsIgnoreCase("CoreMinRespawn")) CORE_MIN_RESPAWN = Integer.parseInt(pValue);
+ else if (pName.equalsIgnoreCase("CoreMaxRespawn")) CORE_MAX_RESPAWN = Integer.parseInt(pValue) < CORE_MIN_RESPAWN ? CORE_MIN_RESPAWN : Integer.parseInt(pValue);
+ else if (pName.equalsIgnoreCase("OrfenMinRespawn")) ORFEN_MIN_RESPAWN = Integer.parseInt(pValue);
+ else if (pName.equalsIgnoreCase("OrfenMaxRespawn")) ORFEN_MAX_RESPAWN = Integer.parseInt(pValue) < ORFEN_MIN_RESPAWN ? ORFEN_MIN_RESPAWN : Integer.parseInt(pValue);
+ else if (pName.equalsIgnoreCase("QAMinRespawn")) QA_MIN_RESPAWN = Integer.parseInt(pValue);
+ else if (pName.equalsIgnoreCase("QAMaxRespawn")) QA_MAX_RESPAWN = Integer.parseInt(pValue) < QA_MIN_RESPAWN ? QA_MIN_RESPAWN : Integer.parseInt(pValue);
+ else if (pName.equalsIgnoreCase("ValakasMinRespawn")) VALAKAS_MIN_RESPAWN = Integer.parseInt(pValue);
+ else if (pName.equalsIgnoreCase("ValakasMaxRespawn")) VALAKAS_MAX_RESPAWN = Integer.parseInt(pValue) < VALAKAS_MIN_RESPAWN ? VALAKAS_MIN_RESPAWN : Integer.parseInt(pValue);
+ else if (pName.equalsIgnoreCase("ZakenMinRespawn")) ZAKEN_MIN_RESPAWN = Integer.parseInt(pValue);
+ else if (pName.equalsIgnoreCase("ZakenMaxRespawn")) ZAKEN_MAX_RESPAWN = Integer.parseInt(pValue) < ZAKEN_MIN_RESPAWN ? ZAKEN_MIN_RESPAWN : Integer.parseInt(pValue);

else if (pName.equalsIgnoreCase("StartingAdena")) STARTING_ADENA = Integer.parseInt(pValue);
else if (pName.equalsIgnoreCase("UnstuckInterval")) UNSTUCK_INTERVAL = Integer.parseInt(pValue);

 

 

 

Datapack Patch:

Index: data/scripts/ai/individual/Antharas.java
===================================================================
--- data/scripts/ai/individual/Antharas.java 
+++ data/scripts/ai/individual/Antharas.java (working copy)
@@ -14,6 +14,7 @@
*/
package ai.individual;

+import net.sf.l2j.Config;
import net.sf.l2j.gameserver.ai.CtrlIntention;
import net.sf.l2j.gameserver.instancemanager.GrandBossManager;
import net.sf.l2j.gameserver.model.L2CharPosition;
@@ -219,7 +220,7 @@
npc.broadcastPacket(new PlaySound(1, "BS01_D", 1, npc.getObjectId(), npc.getX(), npc.getY(), npc.getZ()));
this.startQuestTimer("spawn_cubes", 10000, npc, null);
GrandBossManager.getInstance().setBossStatus(ANTHARAS,DEAD);
- long respawnTime = ((192 + Rnd.get(145) ) * 3600000);
+ long respawnTime = ((Config.ANTHARAS_MIN_RESPAWN + Rnd.get(Config.ANTHARAS_MAX_RESPAWN - Config.ANTHARAS_MIN_RESPAWN) ) * 3600000);
this.startQuestTimer("antharas_unlock", respawnTime, null, null);
// also save the respawn time so that the info is maintained past reboots
StatsSet info = GrandBossManager.getInstance().getStatsSet(ANTHARAS);
Index: data/scripts/ai/individual/Baium.java
===================================================================
--- data/scripts/ai/individual/Baium.java
+++ data/scripts/ai/individual/Baium.java (working copy)
@@ -22,6 +22,7 @@
import javolution.util.FastList;
import ai.group_template.L2AttackableAIScript;

+import net.sf.l2j.Config;
import net.sf.l2j.gameserver.GeoData;
import net.sf.l2j.gameserver.ThreadPoolManager;
import net.sf.l2j.gameserver.datatables.SkillTable;
@@ -356,7 +357,7 @@
// spawn the "Teleportation Cubic" for 15 minutes (to allow players to exit the lair)
addSpawn(29055,115203,16620,10078,0,false,900000); ////should we teleport everyone out if the cubic despawns??
// "lock" baium for 5 days and 1 to 8 hours [i.e. 432,000,000 + 1*3,600,000 + random-less-than(8*3,600,000) millisecs]
- long respawnTime = ((121 + Rnd.get(8)) * 3600000);
+ long respawnTime = ((Config.BAIUM_MIN_RESPAWN + Rnd.get(Config.BAIUM_MAX_RESPAWN - Config.BAIUM_MIN_RESPAWN)) * 3600000);
GrandBossManager.getInstance().setBossStatus(LIVE_BAIUM,DEAD);
startQuestTimer("baium_unlock", respawnTime, null, null);
// also save the respawn time so that the info is maintained past reboots
Index: data/scripts/ai/individual/Core.java
===================================================================
--- data/scripts/ai/individual/Core.java 
+++ data/scripts/ai/individual/Core.java (working copy)
@@ -17,6 +17,7 @@
import java.util.List;

import javolution.util.FastList;
+import net.sf.l2j.Config;
import net.sf.l2j.gameserver.instancemanager.GrandBossManager;
import net.sf.l2j.gameserver.model.L2Attackable;
import net.sf.l2j.gameserver.model.actor.instance.L2GrandBossInstance;
@@ -191,7 +192,7 @@
addSpawn(31842,18948,110166,-6397,0,false,900000);
GrandBossManager.getInstance().setBossStatus(CORE,DEAD);
//time is 60hour +/- 23hour
- long respawnTime = (27 + Rnd.get(47)) * 3600000;
+ long respawnTime = (Config.CORE_MIN_RESPAWN + Rnd.get(Config.CORE_MAX_RESPAWN - Config.CORE_MIN_RESPAWN)) * 3600000;
startQuestTimer("core_unlock", respawnTime, null, null);
// also save the respawn time so that the info is maintained past reboots
StatsSet info = GrandBossManager.getInstance().getStatsSet(CORE);
Index: data/scripts/ai/individual/Orfen.java
===================================================================
--- data/scripts/ai/individual/Orfen.java 
+++ data/scripts/ai/individual/Orfen.java (working copy)
@@ -17,6 +17,7 @@
import java.util.List;

import javolution.util.FastList;
+import net.sf.l2j.Config;
import net.sf.l2j.gameserver.ai.CtrlIntention;
import net.sf.l2j.gameserver.datatables.SkillTable;
import net.sf.l2j.gameserver.instancemanager.GrandBossManager;
@@ -311,7 +312,7 @@
npc.broadcastPacket(new PlaySound(1, "BS02_D", 1, npc.getObjectId(), npc.getX(), npc.getY(), npc.getZ()));
GrandBossManager.getInstance().setBossStatus(ORFEN,DEAD);
//time is 48hour +/- 20hour
- long respawnTime = (28 + Rnd.get(41) * 3600000);
+ long respawnTime = (Config.ORFEN_MIN_RESPAWN + Rnd.get(Config.ORFEN_MAX_RESPAWN - Config.ORFEN_MIN_RESPAWN) * 3600000);
this.startQuestTimer("orfen_unlock", respawnTime, null, null);
// also save the respawn time so that the info is maintained past reboots
StatsSet info = GrandBossManager.getInstance().getStatsSet(ORFEN);
Index: data/scripts/ai/individual/QueenAnt.java
===================================================================
--- data/scripts/ai/individual/QueenAnt.java 
+++ data/scripts/ai/individual/QueenAnt.java (working copy)
@@ -17,6 +17,7 @@
import java.util.List;

import javolution.util.FastList;
+import net.sf.l2j.Config;
import net.sf.l2j.gameserver.ai.CtrlIntention;
import net.sf.l2j.gameserver.datatables.SkillTable;
import net.sf.l2j.gameserver.instancemanager.GrandBossManager;
@@ -234,7 +235,7 @@
npc.broadcastPacket(new PlaySound(1, "BS02_D", 1, npc.getObjectId(), npc.getX(), npc.getY(), npc.getZ()));
GrandBossManager.getInstance().setBossStatus(QUEEN,DEAD);
//time is 36hour +/- 17hour
- long respawnTime = ((19 + Rnd.get(35) ) * 3600000);
+ long respawnTime = ((Config.QA_MIN_RESPAWN + Rnd.get(Config.QA_MAX_RESPAWN - Config.QA_MIN_RESPAWN) ) * 3600000);
startQuestTimer("queen_unlock", respawnTime, null, null);
cancelQuestTimer("action", npc, null);
// also save the respawn time so that the info is maintained past reboots
Index: data/scripts/ai/individual/Valakas.java
===================================================================
--- data/scripts/ai/individual/Valakas.java
+++ data/scripts/ai/individual/Valakas.java (working copy)
@@ -22,6 +22,7 @@
import javolution.util.FastList;
import ai.group_template.L2AttackableAIScript;

+import net.sf.l2j.Config;
import net.sf.l2j.gameserver.ThreadPoolManager;
import net.sf.l2j.gameserver.datatables.SkillTable;
import net.sf.l2j.gameserver.instancemanager.GrandBossManager;
@@ -965,7 +966,7 @@
npc.broadcastPacket(new PlaySound(1, "B03_D", 1, npc.getObjectId(), npc.getX(), npc.getY(), npc.getZ()));
// uncoment me once animations available 
//GrandBossManager.getInstance().setBossStatus(VALAKAS,DEAD);
- long respawnTime = ((192 + Rnd.get(145) ) * 3600000);
+ long respawnTime = ((Config.VALAKAS_MIN_RESPAWN + Rnd.get(Config.VALAKAS_MAX_RESPAWN - Config.VALAKAS_MIN_RESPAWN) ) * 3600000);
this.startQuestTimer("valakas_unlock", respawnTime, null, null);
// also save the respawn time so that the info is maintained past reboots
StatsSet info = GrandBossManager.getInstance().getStatsSet(VALAKAS);
Index: data/scripts/ai/individual/Zaken.java
===================================================================
--- data/scripts/ai/individual/Zaken.java 
+++ data/scripts/ai/individual/Zaken.java (working copy)
@@ -17,6 +17,7 @@
import java.util.logging.Logger;

import ai.group_template.L2AttackableAIScript;
+import net.sf.l2j.Config;
import net.sf.l2j.gameserver.GameTimeController;
import net.sf.l2j.gameserver.ThreadPoolManager;
import net.sf.l2j.gameserver.ai.CtrlIntention;
@@ -752,7 +753,7 @@
npc.broadcastPacket(new PlaySound(1, "BS02_D", 1, npc.getObjectId(), npc.getX(), npc.getY(), npc.getZ()));
GrandBossManager.getInstance().setBossStatus(ZAKEN,DEAD);
//time is 36hour +/- 17hour
- long respawnTime = ((19 + Rnd.get(35) ) * 3600000);
+ long respawnTime = ((Config.ZAKEN_MIN_RESPAWN + Rnd.get(Config.ZAKEN_MAX_RESPAWN - Config.ZAKEN_MIN_RESPAWN) ) * 3600000);
startQuestTimer("zaken_unlock", respawnTime, null, null);
cancelQuestTimer("1001", npc, null);
cancelQuestTimer("1003", npc, null);

 

 

I Hope i helped somebody :)

 

  • 3 weeks later...
  • 2 months later...
Guest
This topic is now closed to further replies.


  • Posts

    • I'll stop playing, so I'll sell my (DC) Donator Coins  for cheap. Ask around; I have plenty. Here's the price list. Contact phone: +56 9 5429 4317    
    • Hi, im selling adena/items reborn signature C4   500kk  - 1kk = $2,90 ic set        pm here or discord  _flamber 
    • Want more engagement, reach, and traffic on Discord? Automate promotion of your server, members, reactions, and messages in minutes — no bots, no hassle, no overpayments. SocNet’s SMM Panel — fast launch, fair prices, real results. Use our SMM Panel to boost Facebook, Instagram, Telegram, Spotify, SoundCloud, YouTube, Reddit, Threads, Kick, Discord, LinkedIn, Likee, VK, Twitch, Kwai, Reddit, website traffic, TikTok, Trustpilot, Apple Music, TripAdvisor, Snapchat, and more digital services. Followers, likes, views, reposts, plays, viewers, reactions, comments. Get $1 bonus for your first trial order! Just open a ticket with the subject “Get Trial Bonus” on our website (Support) ➡ Go to SMM Panel (clickable) or contact our bot support How to order: ➡ SMM Panel: Click ➡ SMM Panel directly in our Telegram bot: Click (Menu ➡ SMM Panel) Our Digital Goods Store: ➡ Online Store: Click ➡ Telegram Bot: Click Regular customers get extra discounts and promo codes! Support: ➡ Telegram: https://t.me/solomon_bog ➡ Discord: https://discord.gg/y9AStFFsrh ➡ WhatsApp: https://wa.me/79051904467 ➡ ✉ Email: solomonbog@socnet.store ➡ Telegram Channel: https://t.me/accsforyou_shop You can also use these contacts to: — Get wholesale consultations — Discuss partnership deals (current partners: https://socnet.bgng.io/partners ) — Become our supplier SocNet — your source for digital goods and premium subscriptions
    • Price and Assortment Update: List of newly added products ➡ WhatsApp Real Account | USA (+1 phone) | High Quality Accounts | Account with age from a few days | QR-Code or Phone-Code | Price from: 3.5$ ➡ Facebook Old Italy account | Created in 2022 | FanPage created in 2022 | Advertising account created in 2022 | Farm 30 days | Friends 100+ | Mail included+active 2FA | Price from: 29$ ➡ OLD Instagram Accounts | Age: 2023-2024 | QUALITY Premium Autoregs (API FRESH) | Registered via SMS | Format: login | password | cookies (for InstAccountsManager) | IAM format | Price from: 0.45$ ➡ ChatGPT Plus Team subscription to your Own Email For 1 Month | Price from: 5$ ➡ Google Voice Accounts (GMAIL US NEW) | Age/Year: Random 2024 | Phone Verified: Yes | Price from: 13$ Prices have been reduced for the following products ➡ Discord Nitro Classic (Basic) GIFT | 1/12 MONTHS | NO NEED YOUR LOGIN AND PASSWORD FROM ACCOUNT | Warranty on full time of subscription | Price from: 3.15$ ➡ Discord Nitro FULL | 1/12 MONTHS | NO NEED YOUR LOGIN AND PASSWORD FROM ACCOUNT | Warranty on full time of subscription | Price from: 6.8$ ➡ Spotify Premium Individual Personal Plan for 1 month ON YOUR ACCOUNT | Available in all countries | Price from: 2.49$ ➡ Spotify Premium Family Account for 1 month ON YOUR ACCOUNT | Working in any countries | Price from: 3.75$ ➡ Youtube Premium Music Personal Account ON YOUR ACCOUNT | 1 month | YouTube without ads | Price from: 3.75$ ➡ Youtube Premium Music Family Account ON YOUR ACCOUNT | 1 month | YouTube without ads | Price from: 4.35$ ➡ Telegram Premium subscription for 1 month to your account | Authorization in your account is required (via TDATA or phone number) | Price from: 6$ ➡ Telegram Premium subscription for 3 months on your account | No authorization required in your account | Guarantee for the entire subscription period | Price from: 17$ ➡ Telegram Premium subscription for 6 months on your account | No authorization required in your account | Guarantee for the entire subscription period | Price from: 22$ ➡ Telegram Premium subscription for 12 months on your account | No authorization required in your account | Guarantee for the entire subscription period | Price from: 37$ ➡ Netflix Premium 1 month on your personal account for any country, renewable after expiration | Price from: 10$ ➡ Old Twitter Accounts 2010-2020 with real followers 1,000–20,000+ (followers on your choice) | Email included, Password and Token access | Refill: 30 days | Price from: 10$ And many other digital products! Full range of our online store: ➡ Accounts: Telegram, Facebook, Reddit, Twitter (X), Instagram, YouTube, TikTok, Discord, VK, LinkedIn, GitHub, Snapchat, Gmail, emails (Outlook, Firstmail, Rambler, Onet, Gazeta, GMX, Yahoo, Proton, Web.de), Google Voice, Google Ads ➡ Premium Subscriptions: Telegram Premium, Twitter Premium X, YouTube Premium, Spotify Premium, Netflix Premium, Discord Nitro, ChatGPT Plus/PRO, XBOX Game Pass ➡ Additional services: Telegram Stars, proxies (IPv4, IPv6, ISP, Mobile), VPN (Outline, WireGuard, others), VDS/RDP servers Promo code: AUGUST2025 (10% Discount) Payment: bank cards · cryptocurrency · other popular methods How to buy: ➡ Online Store: Click ➡ Telegram Bot: Click Other services: ➡ SMM Panel: Click Regular customers — additional discounts and promo codes! Support: ➡ Telegram: https://t.me/solomon_bog ➡ Discord: https://discord.gg/y9AStFFsrh ➡ WhatsApp: https://wa.me/79051904467 ➡ ✉ Email: solomonbog@socnet.store ➡ Telegram Channel: https://t.me/accsforyou_shop You can also contact us for: — Wholesale consultation — Partnership agreements (current partners: https://socnet.bgng.io/partners ) — Become our supplier SocNet — digital goods and premium subscriptions store
    • write me https://t.me/lin2web
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock