Intrepid Posted March 1, 2009 Posted March 1, 2009 Go to net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.java search for that: // Check if this L2PcInstance is autoAttackable if (isAutoAttackable(player) || (player._inEventCTF && CTF._started)) { after that insert the code: if (!isClanLeader()) { if(player.getLevel() > 20 && ((L2Character) player.getTarget()).getLevel() < 20) { player.sendMessage("Your target is not in your grade!"); player.sendPacket(ActionFailed.STATIC_PACKET); } if(player.getLevel() > 40 && ((L2Character) player.getTarget()).getLevel() < 40) { player.sendMessage("Your target is not in your grade!"); player.sendPacket(ActionFailed.STATIC_PACKET); } if(player.getLevel() > 52 && ((L2Character) player.getTarget()).getLevel() < 52) { player.sendMessage("Your target is not in your grade!"); player.sendPacket(ActionFailed.STATIC_PACKET); } if(player.getLevel() > 61 && ((L2Character) player.getTarget()).getLevel() < 61) { player.sendMessage("Your target is not in your grade!"); player.sendPacket(ActionFailed.STATIC_PACKET); } if(player.getLevel() > 76 && ((L2Character) player.getTarget()).getLevel() < 76) { player.sendMessage("Your target is not in your grade!"); player.sendPacket(ActionFailed.STATIC_PACKET); } if(player.getLevel() < 20 && ((L2Character) player.getTarget()).getLevel() > 20) { player.sendMessage("Your target is not in your grade!"); player.sendPacket(ActionFailed.STATIC_PACKET); } if(player.getLevel() < 40 && ((L2Character) player.getTarget()).getLevel() > 40) { player.sendMessage("Your target is not in your grade!"); player.sendPacket(ActionFailed.STATIC_PACKET); } if(player.getLevel() < 52 && ((L2Character) player.getTarget()).getLevel() > 52) { player.sendMessage("Your target is not in your grade!"); player.sendPacket(ActionFailed.STATIC_PACKET); } if(player.getLevel() < 61 && ((L2Character) player.getTarget()).getLevel() > 61) { player.sendMessage("Your target is not in your grade!"); player.sendPacket(ActionFailed.STATIC_PACKET); } if(player.getLevel() < 76 && ((L2Character) player.getTarget()).getLevel() > 76) { player.sendMessage("Your target is not in your grade!"); player.sendPacket(ActionFailed.STATIC_PACKET); } } the difference is the basic one that implemented in l2jfree dont allow pvp until X level my share allow you to pvp beetwen grades so for example you have 500x server there are low lvl char killing you make the player protection until 76 no low lvl char killing but they cant make pvp with a lower char than 76 and its not so good so:) Credits to me.
sτrίkε- Posted March 1, 2009 Posted March 1, 2009 and which is the difference of another char protection?
Intrepid Posted March 1, 2009 Author Posted March 1, 2009 and which is the difference of another char protection? the difference is the basic one that implemented in l2jfree dont allow pvp until X level my share allow you to pvp beetwen grades so for example you have 500x server there are low lvl char killing you make the player protection until 76 no low lvl char killing but they cant make pvp with a lower char than 76 and its not so good so:)
sτrίkε- Posted March 1, 2009 Posted March 1, 2009 the difference is the basic one that implemented in l2jfree dont allow pvp until X level my share allow you to pvp beetwen grades so for example you have 500x server there are low lvl char killing you make the player protection until 76 no low lvl char killing but they cant make pvp with a lower char than 76 and its not so good so:) ahhh i understand now :P Great job keep sharing :D
DāЯқŜiĐє Posted March 1, 2009 Posted March 1, 2009 the difference is the basic one that implemented in l2jfree dont allow pvp until X level my share allow you to pvp beetwen grades so for example you have 500x server there are low lvl char killing you make the player protection until 76 no low lvl char killing but they cant make pvp with a lower char than 76 and its not so good so:) yap add that in your main post :P (Great job and another great share from Intrepid)
xXxExosoulerxXx Posted March 2, 2009 Posted March 2, 2009 very nice i thank you.Btw i saw on some server which had protection in low lvl a bug.A leader ,who was low lvl, went to prey room at sieges and nobody could hit him.There is a fix to this problem?
Intrepid Posted March 2, 2009 Author Posted March 2, 2009 very nice i thank you.Btw i saw on some server which had protection in low lvl a bug.A leader ,who was low lvl, went to prey room at sieges and nobody could hit him.There is a fix to this problem? 1st post updated bug fixed:)
xXxExosoulerxXx Posted March 2, 2009 Posted March 2, 2009 1st post updated bug fixed:) GJ I will test it
Fogotendx20 Posted March 2, 2009 Posted March 2, 2009 Share: Nice Usefully: No, server must use off values... :)
Intrepid Posted March 2, 2009 Author Posted March 2, 2009 Share: Nice Usefully: No, server must use off values... :) i dont say nothing about that...make the 3245236958643298146328164. gmshop the 325476523464365.npc buffer the 3242359864398659835. GGK its very usefull...
Rizel Posted March 2, 2009 Posted March 2, 2009 off values? :D 90% of the shares in this forum is some custom stuff :)
Fogotendx20 Posted March 2, 2009 Posted March 2, 2009 i know... :) from all this only the 40-50% is for pvp serv ... for serius low rates server 1% and all other shares is for fun.... when have free time to play/test its :)
jossoo Posted March 2, 2009 Posted March 2, 2009 its ok but i think its poor...think about on siege..or is fixed? i mean that if all 80-85 lvl chars go for siege and 1 dwarf 40 lvl (clan leader on sub..) can take easy the castle..
Recommended Posts