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.


×
×
  • Create New...