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

    • Inventory restock: Premium business accounts are now available.   ✔ Wallester Business EU 🇪🇺|💳 Unlimited virtual cards, physical cards, 🏦 multi-currency IBAN, ₿ crypto & stablecoin deposits. ✔ Stripe Business UK 🇬🇧|💳 Instant virtual cards (Visa/Mastercard), high-conversion checkout, multi-currency payouts, ₿ crypto payments, no-code payment links. ✔ Mercury Business US 🇺🇸|🏦 US checking & savings, 💳 unlimited virtual cards, domestic & International wires, native stablecoin settlement. ✔ Payset Business EU 🇪🇺|🏦 Multiple IBANs, UK sort code, SEPA Instant, 💳 unlimited virtual cards, multi-currency accounts. ✔ Novo Business US 🇺🇸|🏦 Business checking account, ACH payments & invoicing, 💳 virtual & physical cards, novo boost.
    • Let me see if I understand correctly, older gentlemen, when a newcomer shows up to create modern things with the help of AI, doing what you charge them to do, you point the finger and laugh. I believe that's why everything is stagnant. The product isn't for programming experts, it's for newcomers. Don't buy from you if they can do it themselves using this base. You're going to deliver a similar product, maybe even worse than this one, so why are you complaining? PowerShell, as you well know, started with it, then came new platforms and new apps, new creation models, all with different languages; I chose the simplest one for my taste. This is about being organized and knowing how to choose the right words for each situation. It's not 100%, but it already gives a good impression. Nothing is 100%, so a topic written by AI, and all the code that you charge an absurd amount for to prohibit and sell hacks, could be open source so that everyone can create new practices, new models, new information for passing packets, prohibiting the use of cheats that cause server owners to break so much. Let's remember that the Admin doesn't always shut down the server; it's the players who find problems and take advantage by buying and reselling items, and they say that the GM shuts down the server every week, but that's a lie. What they do is duplicate items with packages and sell them, but perhaps this could give some future developers a starting point to create their own protection following the model in the initial documentation. Because none of you answer a question from a newbie, you think you're superior because you have knowledge, but with AI, people like that can have the same knowledge as you, but with less practice. And if they practice a lot, 10,000 hours, they can be as good as all of you older developers in the L2J field.
    • ✨ Exclusive Offer for Marketplace Growth 🔥 Elevate your performance with a premium bonus. 💲 Top up your balance with $100 or more and receive an additional $5 credit — seamlessly added to your account. ⭐️ Designed for those who value efficiency, scale, and results. ⚡️ Effortless. Refined. Effective. 💥 Enhance your strategy today 💥
  • 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..