Jump to content
  • 0

Catacombs Problem L2jSunrise


Question

Posted

Hello. I'm testing a pack of L2Jsunrise, where it has teleports that take you to the Catacombs, the problem is that when a character in catacombs is not listed, he can kill without problems inside the catacombs. Is there any way to remove it from the tasting if it is not listed?

5 answers to this question

Recommended Posts

  • 0
Posted
On 3/15/2023 at 3:36 PM, barao45 said:

 Is there any way to remove it from the tasting if it is not listed?

Could you rephrase that please?

  • 0
Posted

Hi Bro. I have tried to ask if it is possible or if someone knows where I can make this modification so that the catacombs take out the characters that are not listed in the catacombs.
Thank you so much

  • 0
Posted (edited)

Player/L2PcInstance class got normally a _isIn7sDungeon variable, you can test it over EnterWorld packet to teleport player to nearest town.

On aCis it would be, over EnterWorld class :
 

Quote

        // Player is in 7s dungeon.
        if (player.isIn7sDungeon())
        {
            // Search for current Cabal and compare it to loser. If true, we teleport the Player out.
            final CabalType playerCabal = SevenSignsManager.getInstance().getPlayerCabal(player.getObjectId());
            if (playerCabal == SevenSignsManager.getInstance().getLosingCabal())
                player.teleportTo(RestartType.TOWN);
        }



To note : you can also check competition time, seal ownership, etc.

 

To note, bis repetita : if isIn7sDungeon() behavior doesn't work for you, you have to introduce a complete zoning system, encase each Catacomb into it and then make a Creature#isInsideZone check.

Edited by Tryskell
Guest
This topic is now closed to further replies.


×
×
  • Create New...