Dzani1 Posted December 24, 2014 Posted December 24, 2014 Hello, somone can show me how to make custom party zone, where players must be 5 in party to enter there.. tnx !
0 VideoCopilot Posted December 24, 2014 Posted December 24, 2014 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 Dzani1 Posted December 24, 2014 Author Posted December 24, 2014 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 VideoCopilot Posted December 24, 2014 Posted December 24, 2014 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 drake2wow Posted December 24, 2014 Posted December 24, 2014 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 VideoCopilot Posted December 25, 2014 Posted December 25, 2014 rofl Rofl for showing the Party Teleporter Npc how is made somehow?
0 Tessa Posted December 25, 2014 Posted December 25, 2014 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 VideoCopilot Posted December 25, 2014 Posted December 25, 2014 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 SweeTs Posted December 25, 2014 Posted December 25, 2014 (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 December 25, 2014 by SweeTs
0 VideoCopilot Posted December 25, 2014 Posted December 25, 2014 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 SweeTs Posted December 25, 2014 Posted December 25, 2014 (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 December 25, 2014 by SweeTs
0 VideoCopilot Posted December 25, 2014 Posted December 25, 2014 (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 December 25, 2014 by VideoCopilot
0 Tessa Posted December 25, 2014 Posted December 25, 2014 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 SweeTs Posted December 25, 2014 Posted December 25, 2014 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 DONALD TRUMP 2016 Posted December 25, 2014 Posted December 25, 2014 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
0 VideoCopilot Posted December 26, 2014 Posted December 26, 2014 CLICK ME -> google.gr Welcome idiot person who lose your life into 1 forum :) Enjoy our party. Serious people with " LE MEMER MASTER xD" names need to enjoy too
Question
Dzani1
Hello, somone can show me how to make custom party zone, where players must be 5 in party to enter there.. tnx !
15 answers to this question
Recommended Posts