Jump to content
  • 0

Custom Instance


Question

15 answers to this question

Recommended Posts

  • 0
Posted

Its annoying how people nowadays are sooo fucking bored to search, i remember when i was in 2009 and i was searching for something 

and find it without help after 200 days in some forum, now we give you everything ready and again u ask for more is like u want us

blowjob and add the code too and then lick your foot tooo.. there are more codes for the one u asked in this forum (shared session)

2 - 3 pages back than hair on my head >.< go search alone wtf wrong with young people... -1 to humanity for their no exist brain

  • 0
Posted

Its annoying how people nowadays are sooo fucking bored to search, i remember when i was in 2009 and i was searching for something 

and find it without help after 200 days in some forum, now we give you everything ready and again u ask for more is like u want us

blowjob and add the code too and then lick your foot tooo.. there are more codes for the one u asked in this forum (shared session)

2 - 3 pages back than hair on my head >.< go search alone wtf wrong with young people... -1 to humanity for their no exist brain

Dude i just asking for help , (if somone) 

  • 0
Posted

The main idea if you know some basic java is to make an Instance NPC (copy one L2XXInstance)

 

and inside write codes like

 

@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
if (event.startsWith("partytp"))
{
TP(event, npc, player, event);
}


return "";
}
@SuppressWarnings("deprecation")
	public int getPartiesInside(int zoneId)//Calculating parties inside party area.
    {
        int i = 0;
        for (L2ZoneType zone : ZoneManager.getInstance().getAllZones())
            if (zone.getId() == zoneId)
            {
                for (L2Character character : zone.getCharactersInside().values())
                    if (character instanceof L2PcInstance && (!((L2PcInstance) character).getClient().isDetached()) && 
                    		((L2PcInstance) character).getParty() != null && 
                    		((L2PcInstance) character).getParty().isLeader((L2PcInstance) character))
                        i++;
            }
        return i;
    } 

and when they click teleport an IF to check if parties number is bigger than X if you know the basics of java

  • 0
Posted

 

The main idea if you know some basic java is to make an Instance NPC (copy one L2XXInstance)

 

and inside write codes like

 

@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
if (event.startsWith("partytp"))
{
TP(event, npc, player, event);
}


return "";
}
@SuppressWarnings("deprecation")
	public int getPartiesInside(int zoneId)//Calculating parties inside party area.
    {
        int i = 0;
        for (L2ZoneType zone : ZoneManager.getInstance().getAllZones())
            if (zone.getId() == zoneId)
            {
                for (L2Character character : zone.getCharactersInside().values())
                    if (character instanceof L2PcInstance && (!((L2PcInstance) character).getClient().isDetached()) && 
                    		((L2PcInstance) character).getParty() != null && 
                    		((L2PcInstance) character).getParty().isLeader((L2PcInstance) character))
                        i++;
            }
        return i;
    } 

and when they click teleport an IF to check if parties number is bigger than X if you know the basics of java

 

 

rofl

  • 0
Posted

 

The main idea if you know some basic java is to make an Instance NPC (copy one L2XXInstance)

 

and inside write codes like

 

@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
if (event.startsWith("partytp"))
{
TP(event, npc, player, event);
}


return "";
}
@SuppressWarnings("deprecation")
	public int getPartiesInside(int zoneId)//Calculating parties inside party area.
    {
        int i = 0;
        for (L2ZoneType zone : ZoneManager.getInstance().getAllZones())
            if (zone.getId() == zoneId)
            {
                for (L2Character character : zone.getCharactersInside().values())
                    if (character instanceof L2PcInstance && (!((L2PcInstance) character).getClient().isDetached()) && 
                    		((L2PcInstance) character).getParty() != null && 
                    		((L2PcInstance) character).getParty().isLeader((L2PcInstance) character))
                        i++;
            }
        return i;
    } 

and when they click teleport an IF to check if parties number is bigger than X if you know the basics of java

 

getPartiesInside()??

What this method should do in the whole process of teleporting?

  • 0
Posted

getPartiesInside()??

What this method should do in the whole process of teleporting?

For god sake is a part of PartyTeleporterInstance code -.- this is not working code is just a part just to prove that what he asking exist in share session 

  • 0
Posted (edited)

It's not what he is asking for. And rofl indeed. That's the check you need basically, but ofc it's not all.

if (player.getParty().getMemberCount() < 5)
{
      player.sendMessage("You need a party with at least 5 members.");
      return;
}
Edited by SweeTs
  • 0
Posted

 

It's not what he is asking for. And rofl indeed. That's the check you need basically, but ofc it's not all.

if (player.getParty().getMemberCount() < 5)
{
      player.sendMessage("You need a party with at least 5 members.");
      return;
}

So Mr Pro what exactly don't you understand that this fucking code is part from L2PARTY TELEPORTER INSTANCE NPC and yes somehow this is what he ask for?

I didnt say this code work for god sake just prove him that THIS CODE EXIST IN SHARED SESSION..

 

Click this link to learn english CLICK ME

  • 0
Posted (edited)

THIS CODE EXIST IN SHARED SESSION..

 

Shared what?

 

Click this link to learn english CLICK ME

 

Seriously.. Stfu if you have nothing (smart) to say. Since this code HAS NOTHING to do with his request.

 

You are another wannabe-attention-whore, even xdem don't pay attention on your posts anymore, guess why. Cut the crap, you are annoying.

Edited by SweeTs
  • 0
Posted (edited)

Shared what?

 

 

Seriously.. Stfu if you have nothing (smart) to say. Since this code HAS NOTHING to do with his request.

 

You are another wannabe-attention-whore, even xdem don't pay attention on your posts anymore, guess why. Cut the crap, you are annoying.

You are probably the most idiot i have ever seen with most childish photo:

 

His request: custom party zone, where players must be 5 in party to enter there.. tnx !

The NPC say: 5 players in party teleport into 1 party zone

 

Ok ? cry in river and xdem dont speak cause he is a whore like you

 

Ps. for god sake stop saying about attention, we dont expect to have attention in this shitty forum who cares... you think my life is a forum like yours?...

Edited by VideoCopilot
  • 0
Posted

You are probably the most idiot i have ever seen with most childish photo:

 

His request: custom party zone, where players must be 5 in party to enter there.. tnx !

The NPC say: 5 players in party teleport into 1 party zone

 

Ok ? cry in river and xdem dont speak cause he is a whore like you

 

Ps. for god sake stop saying about attention, we dont expect to have attention in this shitty forum who cares... you think my life is a forum like yours?...

Where in your example you check how many players are in the party?

  • 0
Posted

His request: custom party zone, where players must be 5 in party to enter there.. tnx !

The NPC say: 5 players in party teleport into 1 party zone

 

Where in your example you check how many players are in the party?

 

And now dear Video, crawl back to your cave.

 

@Tessa

Leave him, brain damaged kid, who don't understand english.. Nor what he is doing. Christmas, he can't buy pills.

  • 0
Posted

So Mr Pro what exactly don't you understand that this fucking code is part from L2PARTY TELEPORTER INSTANCE NPC and yes somehow this is what he ask for?

I didnt say this code work for god sake just prove him that THIS CODE EXIST IN SHARED SESSION..

 

Click this link to learn english CLICK ME

 

rofl

 

CLICK ME -> google.gr

Guest
This topic is now closed to further replies.


  • Posts

    • I'll give you my wallet if you want, haha
    • To make up for some of the waiting time we’re hosting a 3v3 Tournament on open Beta, and this time we’re raising the stakes with a $1,300 prize pool 💰   🏆 PRIZE POOL BREAKDOWN (Over 2000$ Worth of prices total)   🥇 1st Place — $700 🥈 2nd Place —$300 🥉 3rd Place — $200 🏅 4th Place — $100  5th -6th Place - $100 in Gold Coins each    All Participating Teams: $50 in Gold!   All Prices will be Paid out instantly after the tour, no waiting time and conditions. This is not simply a marketing move, we want to give back to the community.   📅 Date: Wednesday 06.05.2026 ⏰ Time: 20:00 Central European Timezone (Berlin) 📍Format: 3v3   ⚔️Why join? Cash Prices for top 4 and rewards for all participants Payments to winners sent out straight after the tournament - No waiting time or rules that you have to play live server to obtain the reward. Clean format, smooth matches, and solid prize pool and a chance to experience our brand new files   📝How to join: Form your 3-player team Group Leader Sign up here: ⁠📍・3v3-tour-registration (Include Name of Group, Name of Group Leader)   Be ready on match day!     A separate post with rules for the tournament and class setups will follow shortly.   Tag your teammates, lock in your roster, and get ready to compete. We'll be happy to see you on the OBT!   💬 Questions? Ask in ⁠🎫・ticket or send us a message   See you on L2Dark! 😏   Discord: https://discord.gg/FAJwnFpb8M
    • You should check if that condition is supported by your current sources. You can find this in  DocumentBase#parsePlayerCondition If it isnt there and you want to follow the same pattern of the other item conditions, create a custom condition to parse the classId (or multiple class ids) (there are examples to copy the code). Alternatively, you can create your own condition handler. Your condition should look like this: <cond msgId="1518"> <player classId="ADVENTURER,PALADIN" /> </cond> or <cond msgId="1518"> <player classId="93,5" /> </cond>  
    • it's Interlude client forgot to mention
    • idk if acis have this option, but you can put inside item smth like that atleast on H5         <cond msgId="1518">             <player class_id_restriction="93, 101, 108, 117" /> <!-- Dagger Masters -->         </cond>
  • 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..