Jump to content

Dulens.

Banned
  • Posts

    3,353
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Dulens.

  1. private boolean checkAntiFarm(L2PcInstance targetPlayer){ if(Config.ANTI_FARM_ENABLED){ //Anti FARM Clan - Ally if(Config.ANTI_FARM_CLAN_ALLY_ENABLED && (getClanId() > 0 && targetPlayer.getClanId() > 0 && getClanId() == targetPlayer.getClanId()) || (getAllyId() > 0 && targetPlayer.getAllyId() > 0 && getAllyId() == targetPlayer.getAllyId())) { this.sendMessage("Farm is punishable with Ban! Gm informed."); _log.warning("PVP POINT FARM ATTEMPT, " + this.getName() + " and " + targetPlayer.getName() +". CLAN or ALLY."); return false; } //Anti FARM level player < 40 if(Config.ANTI_FARM_LVL_DIFF_ENABLED && targetPlayer.getLevel() < Config.ANTI_FARM_MAX_LVL_DIFF) { this.sendMessage("Farm is punishable with Ban! Don't kill new players! Gm informed."); _log.warning("PVP POINT FARM ATTEMPT, " + this.getName() + " and " + targetPlayer.getName() +". LVL DIFF."); return false; } //Anti FARM pdef < 300 if(Config.ANTI_FARM_PDEF_DIFF_ENABLED && targetPlayer.getPDef(targetPlayer) < Config.ANTI_FARM_MAX_PDEF_DIFF) { this.sendMessage("Farm is punishable with Ban! Gm informed."); _log.warning("PVP POINT FARM ATTEMPT, " + this.getName() + " and " + targetPlayer.getName() +". MAX PDEF DIFF."); return false; } //Anti FARM p atk < 300 if(Config.ANTI_FARM_PATK_DIFF_ENABLED && targetPlayer.getPAtk(targetPlayer) < Config.ANTI_FARM_MAX_PATK_DIFF) { this.sendMessage("Farm is punishable with Ban! Gm informed."); _log.warning("PVP POINT FARM ATTEMPT, " + this.getName() + " and " + targetPlayer.getName() +". MAX PATK DIFF."); return false; } //Anti FARM Party if(Config.ANTI_FARM_PARTY_ENABLED && this.getParty() != null && targetPlayer.getParty() != null && this.getParty().equals(targetPlayer.getParty())) { this.sendMessage("Farm is punishable with Ban! Gm informed."); _log.warning("PVP POINT FARM ATTEMPT, " + this.getName() + " and " + targetPlayer.getName() +". SAME PARTY."); return false; } //Anti FARM same Ip if(Config.ANTI_FARM_IP_ENABLED){ if(this.getClient() != null && targetPlayer.getClient() != null) { String ip1 = this.getClient().getConnection().getInetAddress().getHostAddress(); String ip2 = targetPlayer.getClient().getConnection().getInetAddress().getHostAddress(); if (ip1.equals(ip2)) { this.sendMessage("Farm is punishable with Ban! Gm informed."); _log.warning("PVP POINT FARM ATTEMPT: " + this.getName() + " and " + targetPlayer.getName() +". SAME IP."); return false; } } } return true; } return true; } χρειάζεται να πάρω κάτι άλλο από άλλο αρχείο ή μόνο τα configs και είναι εντάξει?
  2. Καλησπέρα, ψάχνω για ένα pvp protection σαν του l2jfrozen. Κάπως έτσι, #==================================== # Anti Farm System #==================================== # You must put True to active the AntiFarm mod. AntiFarmEnabled = False # You must active AntiFarmEnabled = True to enable this mod. # AntiFarm for Party, IP, Clan and Ally. AntiFarmParty = False AntiFarmIP = False AntiFarmClanAlly = False # You must active AntiFarmEnabled = True to enable this mod. # AntiFarm if player has level < AntiFarmMaxLvlDiff. AntiFarmLvlDiff = False AntiFarmMaxLvlDiff = 30 # You must active AntiFarmEnabled = True to enable this mod. # AntiFarm if player has Pdef < AntiFarmMaxPdefDiff. AntiFarmPdefDiff = False AntiFarmMaxPdefDiff = 300 # You must active AntiFarmEnabled = True to enable this mod. # AntiFarm if player has Patk < AntiFarmMaxPatkDiff. AntiFarmPatkDiff = False AntiFarmMaxPatkDiff = 300 Ψάχνω κάτι παρόμοιο για aCis, ευχαριστώ!
  3. funny.
  4. όχι, από pm λες ότι θέλεις.
  5. Just search, there are too many shares about this set of weapons.
  6. http://www.l2dc.l2jfrozen.com/
  7. http://www.l2dc.l2jfrozen.com/
  8. απλά βρες το free & shared version του aCis, και βρες τα μόνος σου.
  9. απλά βρες το free & shared version του aCis, και βρες τα μόνος σου.
  10. for?
  11. for?
  12. για να μην φανώ κακός, αυτό είναι ένα html line που το έχει από retail το pack και απλά το πήρες από το npc που είναι έξω από το baium. απλά πήρες αυτό το line και το έβαλες στο npc, anyway καλή δουλειά.
  13. για να μην φανώ κακός, αυτό είναι ένα html line που το έχει από retail το pack και απλά το πήρες από το npc που είναι έξω από το baium. απλά πήρες αυτό το line και το έβαλες στο npc, anyway καλή δουλειά.
  14. 20/8/2012 Product: ESET NOD32 Antivirus NOTE : * Gebruikersnaam = Username * Wachtwoord = Password Gebruikersnaam:EAV-70662492 Wachtwoord:td5aht5ehs Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70662493 Wachtwoord:7jcefm5m88 Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70662494 Wachtwoord:3356cne6jm Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70662495 Wachtwoord:d8ccbfeca4 Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70662497 Wachtwoord:kvc86br3bv Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70662498 Wachtwoord:x4jd55r83c Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70662499 Wachtwoord:sjb5264rbr Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70662500 Wachtwoord:6rjaxx4x47 Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70662502 Wachtwoord:bej7sscm43 Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70662503 Wachtwoord:nkscsjctsf Einddatum licentie: 20-09-2012 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Product: ESET Smart Security Gebruikersnaam:EAV-70719596 Wachtwoord:a6ud8kjv34 Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70719597 Wachtwoord:mb4k8dj5rf Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70719598 Wachtwoord:estb4euk4u Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70719599 Wachtwoord:s24f38ussb Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70719600 Wachtwoord:67bm33u2hr Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70719601 Wachtwoord:2n4cu47hs6 Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70719602 Wachtwoord:ctahuu7pjk Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70719604 Wachtwoord:jhadpnhdje Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70719605 Wachtwoord:vphknfhkbu Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70719608 Wachtwoord:fjpmh5sh36 Einddatum licentie: 20-09-2012 -------------------------------------------------------------------------- Tomorrow new update!
  15. 20/8/2012 Product: ESET NOD32 Antivirus NOTE : * Gebruikersnaam = Username * Wachtwoord = Password Gebruikersnaam:EAV-70662492 Wachtwoord:td5aht5ehs Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70662493 Wachtwoord:7jcefm5m88 Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70662494 Wachtwoord:3356cne6jm Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70662495 Wachtwoord:d8ccbfeca4 Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70662497 Wachtwoord:kvc86br3bv Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70662498 Wachtwoord:x4jd55r83c Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70662499 Wachtwoord:sjb5264rbr Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70662500 Wachtwoord:6rjaxx4x47 Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70662502 Wachtwoord:bej7sscm43 Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70662503 Wachtwoord:nkscsjctsf Einddatum licentie: 20-09-2012 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Product: ESET Smart Security Gebruikersnaam:EAV-70719596 Wachtwoord:a6ud8kjv34 Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70719597 Wachtwoord:mb4k8dj5rf Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70719598 Wachtwoord:estb4euk4u Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70719599 Wachtwoord:s24f38ussb Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70719600 Wachtwoord:67bm33u2hr Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70719601 Wachtwoord:2n4cu47hs6 Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70719602 Wachtwoord:ctahuu7pjk Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70719604 Wachtwoord:jhadpnhdje Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70719605 Wachtwoord:vphknfhkbu Einddatum licentie: 20-09-2012 Gebruikersnaam:EAV-70719608 Wachtwoord:fjpmh5sh36 Einddatum licentie: 20-09-2012 -------------------------------------------------------------------------- Tomorrow new update!
  16. Btw, don't send me teamviewer. I will make a patch (addapted) to add it alone. Sorry for double :| ### Eclipse Workspace Patch 1.0 #P L2jFrozen_GameServer Index: head-src/com/l2jfrozen/gameserver/handler/skillhandlers/Blow.java =================================================================== --- head-src/com/l2jfrozen/gameserver/handler/skillhandlers/Blow.java (revision 948) +++ head-src/com/l2jfrozen/gameserver/handler/skillhandlers/Blow.java (working copy) @@ -46,14 +46,19 @@ SkillType.BLOW }; - /* - public final static byte FRONT = 50; - public final static byte SIDE = 60; - public final static byte BEHIND = 70; - */ - - @Override - public void useSkill(L2Character activeChar, L2Skill skill, L2Object[] targets) + public static int FRONT = Config.BLOW_ATTACK_FRONT; + public static int SIDE = Config.BLOW_ATTACK_SIDE; + public static int BEHIND = Config.BLOW_ATTACK_BEHIND; + + @Override + public void useSkill(L2Character activeChar, L2Skill skill, L2Object[] targets) + { + if(skill.getId() == 30) + { + FRONT = 0; + SIDE = 0; + BEHIND = Config.BLOW_ATTACK_BEHIND; + } { if (activeChar.isAlikeDead()) return; @@ -305,9 +310,10 @@ }else{ activeChar.removeSs(); - } } + + } @Override public SkillType[] getSkillIds() Index: head-src/com/l2jfrozen/gameserver/handler/skillhandlers/Pdam.java =================================================================== --- head-src/com/l2jfrozen/gameserver/handler/skillhandlers/Pdam.java (revision 948) +++ head-src/com/l2jfrozen/gameserver/handler/skillhandlers/Pdam.java (working copy) @@ -287,8 +287,22 @@ player = null; smsg = null; } - else - target.reduceCurrentHp(damage, activeChar); + else if(skill.getId() == 30) + { + double Hpdam = 0; + + if (damage >= target.getCurrentHp()) + { + target.setCurrentHp(0); + target.doDie(activeChar); + } + else + { + Hpdam = (target.getCurrentHp() - damage); + target.setCurrentHp(Hpdam); + } + } + else target.reduceCurrentHp(damage, activeChar); } else { Ready!
  17. Btw, don't send me teamviewer. I will make a patch (addapted) to add it alone. Sorry for double :| ### Eclipse Workspace Patch 1.0 #P L2jFrozen_GameServer Index: head-src/com/l2jfrozen/gameserver/handler/skillhandlers/Blow.java =================================================================== --- head-src/com/l2jfrozen/gameserver/handler/skillhandlers/Blow.java (revision 948) +++ head-src/com/l2jfrozen/gameserver/handler/skillhandlers/Blow.java (working copy) @@ -46,14 +46,19 @@ SkillType.BLOW }; - /* - public final static byte FRONT = 50; - public final static byte SIDE = 60; - public final static byte BEHIND = 70; - */ - - @Override - public void useSkill(L2Character activeChar, L2Skill skill, L2Object[] targets) + public static int FRONT = Config.BLOW_ATTACK_FRONT; + public static int SIDE = Config.BLOW_ATTACK_SIDE; + public static int BEHIND = Config.BLOW_ATTACK_BEHIND; + + @Override + public void useSkill(L2Character activeChar, L2Skill skill, L2Object[] targets) + { + if(skill.getId() == 30) + { + FRONT = 0; + SIDE = 0; + BEHIND = Config.BLOW_ATTACK_BEHIND; + } { if (activeChar.isAlikeDead()) return; @@ -305,9 +310,10 @@ }else{ activeChar.removeSs(); - } } + + } @Override public SkillType[] getSkillIds() Index: head-src/com/l2jfrozen/gameserver/handler/skillhandlers/Pdam.java =================================================================== --- head-src/com/l2jfrozen/gameserver/handler/skillhandlers/Pdam.java (revision 948) +++ head-src/com/l2jfrozen/gameserver/handler/skillhandlers/Pdam.java (working copy) @@ -287,8 +287,22 @@ player = null; smsg = null; } - else - target.reduceCurrentHp(damage, activeChar); + else if(skill.getId() == 30) + { + double Hpdam = 0; + + if (damage >= target.getCurrentHp()) + { + target.setCurrentHp(0); + target.doDie(activeChar); + } + else + { + Hpdam = (target.getCurrentHp() - damage); + target.setCurrentHp(Hpdam); + } + } + else target.reduceCurrentHp(damage, activeChar); } else { Ready!
  18. The easiest thing in the world, anyway I may can help you. Send me your id, pass via pm.
  19. The easiest thing in the world, anyway I may can help you. Send me your id, pass via pm.
  20. Thank you! :D
  21. Thank you! :D
  22. με λίγα λόγια είναι retail feature.
  23. με λίγα λόγια είναι retail feature.
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock