^Wyatt Posted October 13, 2013 Author Posted October 13, 2013 forgive me I'm a little inexperienced in the subject, you could guide me how to put not having to press the CTRL in zone I actually don't remember how it's done, and I don't wanna look for it. Just use CTRL + H and "ZoneId.SIEGE", for example, and somewhere must be applied a check about that. Quote
nery Posted October 13, 2013 Posted October 13, 2013 I actually don't remember how it's done, and I don't wanna look for it. Just use CTRL + H and "ZoneId.SIEGE", for example, and somewhere must be applied a check about that. am not earning any item in pvp what can be? Cronicle H5 Quote
numl0ckas Posted October 13, 2013 Posted October 13, 2013 Hello, i use last aCis revision, but then i hit to player or kill him my flag is going down... Quote
^Wyatt Posted October 13, 2013 Author Posted October 13, 2013 Hello, i use last aCis revision, but then i hit to player or kill him my flag is going down... Ask it to aCis users or who did the patch. I just take care of h5 srsly I got so bored and mad from LoL xd Quote
nery Posted October 14, 2013 Posted October 14, 2013 And there is to help me figure out why I'm not getting anything when you kill someone? Rev: H5 L2jServer Quote
^Wyatt Posted October 14, 2013 Author Posted October 14, 2013 And there is to help me figure out why I'm not getting anything when you kill someone? Rev: H5 L2jServer H5 stable or H5 beta? If you're not getting reward is coz you're not getting PvP, or you missed the line. Quote
nery Posted October 14, 2013 Posted October 14, 2013 count pvp is ok, just do not get anything when I win the fight Quote
^Wyatt Posted October 14, 2013 Author Posted October 14, 2013 Then you missed the line, as you did with PkHunter, otherwise it has no sense. Quote
nery Posted October 14, 2013 Posted October 14, 2013 already looked line by line is everything right except the fact that I did not win anything Quote
MlDNlGHT Posted October 16, 2013 Posted October 16, 2013 (edited) I actually don't remember how it's done, and I don't wanna look for it. Just use CTRL + H and "ZoneId.SIEGE", for example, and somewhere must be applied a check about that. It's handled by L2PcInstance in the boolean - > public boolean isAutoAttackable(L2Character attacker) It's a very easy edit also. For my solo zone I do it like this. IsInsideSoloZone is a custom boolean I have, normally it would/could be done like this. Obviously 'ZONE_PEACE' would need to be replaced with your custom zone type. isInsideZone(ZONE_PEACE) public boolean isAutoAttackable(L2Character attacker) { // Check if the attacker isn't the L2PcInstance Pet if (attacker == this || attacker == getPet()) return false; // TODO: check for friendly mobs // 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()) return true; if (isFakeDeath()) return false; else return false; } // Check if the L2PcInstance is in an Event Match if (attacker instanceof L2PcInstance) { if ( EventManager.getInstance().ContainsMatchPlayer(this) && EventManager.getInstance().ContainsMatchPlayer(((L2PcInstance)attacker)) ) return true; } + // Check if the L2PcInstance is in an Auto Flag Zone + if (attacker instanceof L2PcInstance) + { + if (this.isInSoloZone && ((L2PcInstance)attacker).isInSoloZone) + return true; + } Edited October 16, 2013 by MlDNlGHT Quote
Akken Posted October 16, 2013 Posted October 16, 2013 For l2jFrozen users...In order to take pvp change this line: Index: head-src/com/l2jfrozen/gameserver/model/zone/type/L2MultiFunctionZone.java + character.setInsideZone(L2Character.ZONE_NOSUMMONFRIEND, true); - character.setInsideZone(L2Character.ZONE_MULTIFUNCTION, true); +character.setInsideZone(L2Character.ZONE_MULTIFUNCTION, false); Quote
SweeTs Posted October 17, 2013 Posted October 17, 2013 - character.setInsideZone(L2Character.ZONE_MULTIFUNCTION, true); + character.setInsideZone(L2Character.ZONE_MULTIFUNCTION, false); lool, seriously ? :not bad: Quote
Akken Posted October 17, 2013 Posted October 17, 2013 it works for me when i changed this and i created a patch for l2jfrozen too :) if you want me to share it just say it Quote
SweeTs Posted October 17, 2013 Posted October 17, 2013 Nop, I don't need it. I never used and I won't use frozen.. :D Well, yeah, it could work since with false you're no longed inside Multifunction zone.. Quote
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.