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

    • ⚡ Weekend Stock Refresh! Fast order fulfillment is active. Get Gemini Pro Advanced + Google One cloud storage activated on your own personal email within minutes.
    • New Release World & atmosphere A complete dynamic weather system has arrived, with Clear, Light Rain, Rain, Heavy Rain, Storm, Snow, and Windy presets. Rain and snow react to roofs, wind moves foliage, lightning illuminates storms, exposed ground becomes wet and develops puddles, and snow builds up and melts over time. Weather includes Low to Ultra quality levels and advanced controls for precipitation, wind, cloud cover, lightning, surface wetness, puddles, and snow. The game server can also select or restore the current weather while local quality settings continue to control rendering cost. The weather can be controlled from the server with custom packets. For more details use Shift+Alt+P. Enhanced lighting now allows authored lamps, fires, and other light sources to illuminate towns and interiors. Lights can pulse, flicker, blink, and strobe, flames produce warm dynamic light, and lamps display depth-aware halos. Remastered emissive surfaces are now supported, beginning with illuminated windows in Giran that glow and cast light into their surroundings. Broadcasting Towers now use their correct original scale and animated rings and glow effects. Map, quests & navigation A complete quest journal has been added, with active and completed quests, expandable stages, descriptions, requirements, item progress, quest inventory integration, location controls, and quest cancellation. Quest objectives now appear through flashing minimap and world-map markers, an overhead directional guide, a notification button beside chat, and rotating quest symbols above eligible NPCs. Server-directed radar markers now work across the live minimap and world map, including the original overhead guidance effect and arrival behavior. The original tutorial system now works, including scrollable tutorial pages, animated illustrations, the flashing question button, tutorial links, and movement, camera, pickup, and sit/rest progression events. Server-opened town maps now display their original artwork and the supplied player marker. Shops, storage & items Personal, clan, castle, and freight warehouses now work, including deposits, withdrawals, stack quantities, fees, weight and capacity previews, tooltips, and the original warning and empty-storage dialogs. Account freight now works through the original recipient picker and delivery window, allowing items to be sent to another character on the same account. Multisell exchanges now work, with paged recipe lists, product details, required materials, quantity selection, warnings, and server-backed completion. Manor seed purchasing is now supported through the shop interface, including availability and pricing. Inventory items can now be dragged to the trash button and destroyed after the appropriate warning or quantity prompt. The original in-game calculator now works with mouse and keyboard input. Community The Community Board is now available from the system menu or Alt+B, with Home, Favorites, Region, Clan, Memo, Mail, and Friends sections, retained navigation, forms, scrolling, minimization, and server-provided pages. Characters, cameras & events Striders and Wyverns now render as fully animated mounts with the rider attached correctly. Striders remain ground-based, while Wyverns support three-dimensional flight. Characters now enter a proper falling state after high drops or airborne dismounts, with falling animations and server-authoritative landing and fall-damage handling. Players can now sit on authored world chairs using the correct sit, wait, and stand animations. Server-driven special camera sequences now work, including target tracking, interpolation, duration, widescreen bars, and restoration to the normal camera. GM camera mode and server-authorized ///fly movement are now supported. The original 102-second Kamael teaser sequence has been restored with its complete slideshow, transitions, panning artwork, localized subtitles, and narration. Hats, masks, circlets, and other hair accessories now use their authored head placement and correctly adjust the character's hairstyle. Timed server confirmation dialogs, short-duration status effects, regeneration previews, and the seasonal Christmas Seal presentation are now supported. Interface & performance Character creation has been refined with corrected description wrapping, clipping, layout, and name-entry presentation. Tutorial and NPC dialog windows now use polished proportional scrollbars, improved HTML layout, and correctly sized illustrations and controls. A new independent 3D render-resolution setting offers Native, 720p, 900p, 1080p, 1440p, and 4K choices while keeping the window, HUD, text, and FermaUI at native resolution. Major rendering optimizations reduce unnecessary work in local lighting, shadows, visibility, exposure, bloom, post-processing, and GPU diagnostics. Download from the launcher you have installed, or at https://updates.fermata.gg/ if you don't have the launcher. Fermata Light Engine Preview All lights can be baked in the client, shipped to the users, and exported and imported as .femlight files.
  • 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..