Jump to content
  • 0

Question

Posted

Hi,i want to ask if someone can help me with some AIs for Grand Raidbosses

I want to be able to enter in the raid zone,hit them,kill them etc..like the usual monsters with no quests.

13 answers to this question

Recommended Posts

  • 0
Posted

Rework scripts in order to drop L2BossZone support (notably checks isInBossZone(), and allowEntry stuff). Nothing more to do, if you think about another thing, it will go to exploit (those zones got an antisummon included, for example, so dropping zones themselves isn't a solution) to fully bugged bosses (xdem's answer + I must add inside the script, addSpawn can cast under L2GrandBoss).

  • 0
Posted

K so i just delete the line from Ai's ?

"import com.l2jserver.gameserver.model.zone.type.L2BossZone;"?

Sorry because im so dumb but im not so good at java thats why i want to be sure..

 

I just want to fix them for a custom server.with no quests

I dont know why but when i hit valakas,it tp me to town..

  • 0
Posted

Those checks are mostly done on GrandBossTeleporters. Some boss scripts can also have their own teleporter, but that doesn't change the idea behind the fact checks are made on boss teleporter (Angelic Vortex, etc).

 

About what you have to do, check first GrandBossManager, and the use of _zones. Then check methods using that list. Then make changes following what you want to do, according methods you will find.

 

I notably talked about isInBossZone(), but there are others checks. Follow them all, track them down, and think a little.

  • 0
Posted

Those checks are mostly done on GrandBossTeleporters. Some boss scripts can also have their own teleporter, but that doesn't change the idea behind the fact checks are made on boss teleporter (Angelic Vortex, etc).

 

About what you have to do, check first GrandBossManager, and the use of _zones. Then check methods using that list. Then make changes following what you want to do, according methods you will find.

I guess it's kinda out of range for him

Sorry because im so dumb but im not so good at java thats why i want to be sure..

 

If you're not so skilled in java and you want to do it for a "custom pvp server" I suggest you to just get the stats of the bosses from the 'npc' table of the database and create a duplicated 'custom_npc' for each grandboss, with the same stats, different id and same template_id, and then spawn it in custom zones and set the type to L2RaidBoss...

  • 0
Posted

As I said and until he uses new teleporters, the main checks are made during teleport. Raidbosses themselves got almost no checks at all (only antharas so far, from memory ?).

 

If you use a custom teleporter which gather all telports possibilities, then you only have to drop the "protect" check some GBs have. Otherwise do as ^Wyatt said, but you still have things to fix anyway (notably when you restart and you're in a BossZone, etc etc).

 

Easiest is to drop allowEntry checks and system.

  • 0
Posted

K ty vm for help everyone,i get it about teleports.

But can someone explain why when i hit valakas,he tp me to town?

 

He must be inside the lair.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • NEW HIDDENSTASH KEY SYSTEM INTRODUCED TO THE SITE   **Earn While You Spend - Introducing HS Cashback!**   Every purchase on our site now rewards you with **HS Keys cashback**   EVERY ONE WHO REGISTERS IN SITE UNTILL 15TH OF MAY GETS 2000 HS KEYS IN HES BALANE   Here's how it works:       **1 USD = 1000 HS Keys**   **Get 3% cashback** on every purchase   **Use your HS Keys to **save on your next order**   ---   ### ⚡ Why this is awesome   * Every order gives you value back   * Stack it with promos & HS usage   * Turn your spending into future discounts   ---   ### Example   Spend **$10** → Get **300 HS Keys** back   Spend **$50** → Get **1500 HS Keys** back   ---   ### Smart system (built for fairness)   * Cashback is rounded to keep things balanced   * Prevents abuse from tiny orders   * Rewards real buyers   ---   ### Start earning now   Every purchase = progress toward your next discount   Shop now and build your HS balance!   #cashback #gamingdeals #d2r #rewards #loyalty   Stay safe out there, heroes - and happy hunting! www.d2rhiddenstash.com     We just launched our new Affiliate Program — and it’s the easiest way to earn HS Keys.   Invite your friends using your personal link.   Example: If your friend spends $10 → you get 300 HS Keys No limits. No effort. Just share your link.   Get your referral link here: www.d2rhiddenstash.com/profile     Start earning today
    • https://jumpshare.com/share/L45ApA5PVrGN2O5Ua5pQ   Skill synchronization with the server: Launching and synchronizing animations, launching and synchronizing effects. All of this is tied to the server's timing  
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..