`Rοmeο Posted August 22, 2012 Share Posted August 22, 2012 up just wait Lekino he will Answer you i think. he have a lot Works. Quote Link to comment Share on other sites More sharing options...
`Rοmeο Posted August 22, 2012 Share Posted August 22, 2012 up just wait Lekino he will Answer you i think. he have a lot Works. Quote Link to comment Share on other sites More sharing options...
EdenEternal Posted August 22, 2012 Author Share Posted August 22, 2012 I want at Orc Vilage Can Play PvP becuse now you can hit some1 but you dont flag and at Cave of trials the same. If some1 kill you now he dont flag/pk is like *Giran Arena* } character.setInsideZone(L2Character.ZONE_PVP, true); <-- I change this lines to pvp but nothing } } @Override protected void onExit(L2Character character) { if(character instanceof L2PcInstance) { character.setInsideZone(L2Character.ZONE_PVP, false); <-- I change this lines to pvp but nothing } some1 know how i find Cave of Trials to make it newbie zone? if you set newbie zone as ZONE_PVP players won't flag. because it will be combat zone. just remove it. Quote Link to comment Share on other sites More sharing options...
EdenEternal Posted August 22, 2012 Author Share Posted August 22, 2012 I want at Orc Vilage Can Play PvP becuse now you can hit some1 but you dont flag and at Cave of trials the same. If some1 kill you now he dont flag/pk is like *Giran Arena* } character.setInsideZone(L2Character.ZONE_PVP, true); <-- I change this lines to pvp but nothing } } @Override protected void onExit(L2Character character) { if(character instanceof L2PcInstance) { character.setInsideZone(L2Character.ZONE_PVP, false); <-- I change this lines to pvp but nothing } some1 know how i find Cave of Trials to make it newbie zone? if you set newbie zone as ZONE_PVP players won't flag. because it will be combat zone. just remove it. Quote Link to comment Share on other sites More sharing options...
GsL Posted August 22, 2012 Share Posted August 22, 2012 if you set newbie zone as ZONE_PVP players won't flag. because it will be combat zone. just remove it. i add it to test it, becuse before dont flag with zone_niewbie, i have remove that but i cant undestand what need to flag :/ that is the only problem Quote Link to comment Share on other sites More sharing options...
GsL Posted August 22, 2012 Share Posted August 22, 2012 if you set newbie zone as ZONE_PVP players won't flag. because it will be combat zone. just remove it. i add it to test it, becuse before dont flag with zone_niewbie, i have remove that but i cant undestand what need to flag :/ that is the only problem Quote Link to comment Share on other sites More sharing options...
EdenEternal Posted August 22, 2012 Author Share Posted August 22, 2012 i add it to test it, becuse before dont flag with zone_niewbie, i have remove that but i cant undestand what need to flag :/ that is the only problem hm... go to l2pcinstance.java find this: @Override public boolean isAutoAttackable(L2Character attacker) { // Check if the attacker isn't the L2PcInstance Pet if(attacker == this || attacker == getPet()) return false; // Check if the attacker is a L2MonsterInstance if(attacker instanceof L2MonsterInstance) return true; // Check if the attacker is not in the same party if(getParty() != null && getParty().getPartyMembers().contains(attacker)) return false; // Check if the attacker is in olympia and olympia start if(attacker instanceof L2PcInstance && ((L2PcInstance) attacker).isInOlympiadMode()) { if(isInOlympiadMode() && isOlympiadStart() && ((L2PcInstance) attacker).getOlympiadGameId() == getOlympiadGameId()) { if(isFakeDeath()) return false; return true; } return false; } // Check if the attacker is not in the same clan if(getClan() != null && attacker != null && getClan().isMember(attacker.getName())) return false; if(attacker instanceof L2PlayableInstance && isInFunEvent()){ L2PcInstance player = null; if(attacker instanceof L2PcInstance){ player = (L2PcInstance) attacker; }else if(attacker instanceof L2Summon){ player = ((L2Summon) attacker).getOwner(); } if(player != null){ if(player.isInFunEvent()){ //checks for events if((_inEventTvT && player._inEventTvT && TvT.is_started() && !_teamNameTvT.equals(player._teamNameTvT)) || (_inEventCTF && player._inEventCTF && CTF.is_started() && !_teamNameCTF.equals(player._teamNameCTF)) || (_inEventDM && player._inEventDM && DM.is_started()) || (_inEventVIP && player._inEventVIP && VIP._started)) { return true; } return false; } return false; } } if(isInsideZone(ZONE_PEACE)){ return false; } after if(isInsideZone(ZONE_PEACE)){ return false; add if(isInsideZone(ZONE_NEWBIE)){ return false; } Feedback if works Quote Link to comment Share on other sites More sharing options...
EdenEternal Posted August 22, 2012 Author Share Posted August 22, 2012 i add it to test it, becuse before dont flag with zone_niewbie, i have remove that but i cant undestand what need to flag :/ that is the only problem hm... go to l2pcinstance.java find this: @Override public boolean isAutoAttackable(L2Character attacker) { // Check if the attacker isn't the L2PcInstance Pet if(attacker == this || attacker == getPet()) return false; // Check if the attacker is a L2MonsterInstance if(attacker instanceof L2MonsterInstance) return true; // Check if the attacker is not in the same party if(getParty() != null && getParty().getPartyMembers().contains(attacker)) return false; // Check if the attacker is in olympia and olympia start if(attacker instanceof L2PcInstance && ((L2PcInstance) attacker).isInOlympiadMode()) { if(isInOlympiadMode() && isOlympiadStart() && ((L2PcInstance) attacker).getOlympiadGameId() == getOlympiadGameId()) { if(isFakeDeath()) return false; return true; } return false; } // Check if the attacker is not in the same clan if(getClan() != null && attacker != null && getClan().isMember(attacker.getName())) return false; if(attacker instanceof L2PlayableInstance && isInFunEvent()){ L2PcInstance player = null; if(attacker instanceof L2PcInstance){ player = (L2PcInstance) attacker; }else if(attacker instanceof L2Summon){ player = ((L2Summon) attacker).getOwner(); } if(player != null){ if(player.isInFunEvent()){ //checks for events if((_inEventTvT && player._inEventTvT && TvT.is_started() && !_teamNameTvT.equals(player._teamNameTvT)) || (_inEventCTF && player._inEventCTF && CTF.is_started() && !_teamNameCTF.equals(player._teamNameCTF)) || (_inEventDM && player._inEventDM && DM.is_started()) || (_inEventVIP && player._inEventVIP && VIP._started)) { return true; } return false; } return false; } } if(isInsideZone(ZONE_PEACE)){ return false; } after if(isInsideZone(ZONE_PEACE)){ return false; add if(isInsideZone(ZONE_NEWBIE)){ return false; } Feedback if works Quote Link to comment Share on other sites More sharing options...
GsL Posted August 22, 2012 Share Posted August 22, 2012 i will test it after some minites i have some work to do now thanks for reply* Quote Link to comment Share on other sites More sharing options...
GsL Posted August 22, 2012 Share Posted August 22, 2012 i will test it after some minites i have some work to do now thanks for reply* Quote Link to comment Share on other sites More sharing options...
GsL Posted August 22, 2012 Share Posted August 22, 2012 hm... go to l2pcinstance.java find this: @Override public boolean isAutoAttackable(L2Character attacker) { // Check if the attacker isn't the L2PcInstance Pet if(attacker == this || attacker == getPet()) return false; // Check if the attacker is a L2MonsterInstance if(attacker instanceof L2MonsterInstance) return true; // Check if the attacker is not in the same party if(getParty() != null && getParty().getPartyMembers().contains(attacker)) return false; // Check if the attacker is in olympia and olympia start if(attacker instanceof L2PcInstance && ((L2PcInstance) attacker).isInOlympiadMode()) { if(isInOlympiadMode() && isOlympiadStart() && ((L2PcInstance) attacker).getOlympiadGameId() == getOlympiadGameId()) { if(isFakeDeath()) return false; return true; } return false; } // Check if the attacker is not in the same clan if(getClan() != null && attacker != null && getClan().isMember(attacker.getName())) return false; if(attacker instanceof L2PlayableInstance && isInFunEvent()){ L2PcInstance player = null; if(attacker instanceof L2PcInstance){ player = (L2PcInstance) attacker; }else if(attacker instanceof L2Summon){ player = ((L2Summon) attacker).getOwner(); } if(player != null){ if(player.isInFunEvent()){ //checks for events if((_inEventTvT && player._inEventTvT && TvT.is_started() && !_teamNameTvT.equals(player._teamNameTvT)) || (_inEventCTF && player._inEventCTF && CTF.is_started() && !_teamNameCTF.equals(player._teamNameCTF)) || (_inEventDM && player._inEventDM && DM.is_started()) || (_inEventVIP && player._inEventVIP && VIP._started)) { return true; } return false; } return false; } } if(isInsideZone(ZONE_PEACE)){ return false; } after if(isInsideZone(ZONE_PEACE)){ return false; add if(isInsideZone(ZONE_NEWBIE)){ return false; } Feedback if works i Add only this one right?? if(isInsideZone(ZONE_NEWBIE)){ return false; } i add it but i dont flag again :/ Quote Link to comment Share on other sites More sharing options...
GsL Posted August 22, 2012 Share Posted August 22, 2012 hm... go to l2pcinstance.java find this: @Override public boolean isAutoAttackable(L2Character attacker) { // Check if the attacker isn't the L2PcInstance Pet if(attacker == this || attacker == getPet()) return false; // Check if the attacker is a L2MonsterInstance if(attacker instanceof L2MonsterInstance) return true; // Check if the attacker is not in the same party if(getParty() != null && getParty().getPartyMembers().contains(attacker)) return false; // Check if the attacker is in olympia and olympia start if(attacker instanceof L2PcInstance && ((L2PcInstance) attacker).isInOlympiadMode()) { if(isInOlympiadMode() && isOlympiadStart() && ((L2PcInstance) attacker).getOlympiadGameId() == getOlympiadGameId()) { if(isFakeDeath()) return false; return true; } return false; } // Check if the attacker is not in the same clan if(getClan() != null && attacker != null && getClan().isMember(attacker.getName())) return false; if(attacker instanceof L2PlayableInstance && isInFunEvent()){ L2PcInstance player = null; if(attacker instanceof L2PcInstance){ player = (L2PcInstance) attacker; }else if(attacker instanceof L2Summon){ player = ((L2Summon) attacker).getOwner(); } if(player != null){ if(player.isInFunEvent()){ //checks for events if((_inEventTvT && player._inEventTvT && TvT.is_started() && !_teamNameTvT.equals(player._teamNameTvT)) || (_inEventCTF && player._inEventCTF && CTF.is_started() && !_teamNameCTF.equals(player._teamNameCTF)) || (_inEventDM && player._inEventDM && DM.is_started()) || (_inEventVIP && player._inEventVIP && VIP._started)) { return true; } return false; } return false; } } if(isInsideZone(ZONE_PEACE)){ return false; } after if(isInsideZone(ZONE_PEACE)){ return false; add if(isInsideZone(ZONE_NEWBIE)){ return false; } Feedback if works i Add only this one right?? if(isInsideZone(ZONE_NEWBIE)){ return false; } i add it but i dont flag again :/ Quote Link to comment Share on other sites More sharing options...
EdenEternal Posted August 22, 2012 Author Share Posted August 22, 2012 i Add only this one right?? if(isInsideZone(ZONE_NEWBIE)){ return false; } i add it but i dont flag again :/ no more ideas. probably you are doing something wrong Quote Link to comment Share on other sites More sharing options...
EdenEternal Posted August 22, 2012 Author Share Posted August 22, 2012 i Add only this one right?? if(isInsideZone(ZONE_NEWBIE)){ return false; } i add it but i dont flag again :/ no more ideas. probably you are doing something wrong Quote Link to comment Share on other sites More sharing options...
GsL Posted August 22, 2012 Share Posted August 22, 2012 no more ideas. probably you are doing something wrong i dont thing so becuse is newzone and it see like Arena and somewhere need some work Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.