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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • you can use my share Dress me item  
    • I haven't played L2 in many years but was recently talking to some old friends from back in the day (supreme / azure, paradise) and we thought we would try playing together again. Checked out official and it has went full on P2W and bot infested, not interested. Private servers seem to be pretty volatile and the community fragmented, we have not been able to find a server or community that has the right vibe.   So us old farts decided why the hell not build our own server and see if we can pull in some of those old day vibes and magic, maybe get a good community built. Maybe that magic is gone forever, that comraderie that we shared in the old days. But I think it is likely there is a lot of players out there just like our little group from the old days that made lifelong friendships in all those 100s and 1000s of hours we spent together in the game together.   I have reached out to some developer friends from back in the day and have one that has come on board, probably one of the most OG OFF devs out there, pretty stoked about that, he never stopped L2 developing for all these years, wild. I can't think of too many other games that evoke such loyalty and love of the game.   So, the choice has been made, and the journey begins. We have really solid and battle tested H5 files so we will roll with those. We are not using any pack with locked down extender, we have all the flexibility we need to make changes, fixes, add features, etc. Also have a great antibot and box limiting system as well as active GMs so bots impact should be pretty min imal. Do have some features that we will be adding but I'll keep those under my hat.      What do you guys think, you think there is enough of that old-school magic left out there to have a server and community of the old days?
    • We create legends in the dark, leading the light into the worlds Base - l2jmobius Chronicles HIGH-FIVE     https://gitea.com/Debug/ShadowCraftCore
    • We create legends in the dark, leading the light into the worlds Base - l2jmobius Chronicles HIGH-FIVE     https://gitea.com/Debug/ShadowCraftCore
    • ➡ Discount for your purchase: MAY2025 (10% discount) ➡ Our Online Shop: https://socnet.store  ➡ Our SMM-Boosting Panel: https://socnet.pro  ➡ Telegram Shop Bot: https://socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
  • 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