Jump to content

^Wyatt

Members
  • Posts

    1,418
  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Everything posted by ^Wyatt

  1. Price always depends on the quantity of work. Also depends if are you asking for code prices or monthly payments...?
  2. http://maxcheaters.com/forum/index.php?topic=250165.0 [Request] Dev Help [L2J] En
  3. Wrong section. Do you mean that if you go to the specified quest folder don't you find anything?
  4. Yes lock it pls, no isn't customer.
  5. markevans7 http://l2jhidden.com/test/images/2012/09/05/DiKkJ.jpg[/img]
  6. It means that you're using a shared version that got lots of bugs caused by the guy that uploaded it. Shared pack is not for any live server, have thousand of bugs. Buy one license and it will work fine :)
  7. Something like that. Index: java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java =================================================================== --- java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java (revision 374) +++ java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java (working copy) @@ -1094,7 +1094,7 @@ { try { - if (System.currentTimeMillis() > getPvpFlagLasts()) + if (System.currentTimeMillis() > getPvpFlagLasts() && !isInsideZone(L2Character.ZONE_CUSTOM)) { stopPvPFlag(); }
  8. I think I know why. Try to follow the method setpvpflaglasttime or whatever is called (can't see right now) and where it sets the pvp flag to 0, add a checker, !if player.isInsideZone(L2Character.zone..) If you don't succeed I'll help u in 1h, not at home right now.
  9. And removing the checker if pvpflag == 0 from the onEnter method?
  10. replace what we put inside onExit with this ((L2PcInstance) character).setPvpFlagLasts(System.currentTimeMillis() + 30000); And test.
  11. Can't find the error... =s Code seems to be ok.
  12. But that appears when? You remove the effect with admin and then you unequip your items? and error appears? didn't understand...
  13. http://maxcheaters.com/forum/index.php?topic=250136.0 solved
  14. Show me your inventory.java... and also the error on console
  15. && !((L2PcInstance) this).isInsideZone(L2Character.ZONE_SIEGE) && !((L2PcInstance) target).isInsideZone(L2Character.ZONE_SIEGE) Hope you'll give me a biscuit xD
  16. I think that he means a buffer which casts you the skill when you press the button.
  17. Explain it better... Tell us your chronicle and pack...
  18. I think you have added something wrong... probably what goes inside Inventory.java, make sure u add it fine. Try with this patch... ### Eclipse Workspace Patch 1.0 #P L2jFrozen_GameServer Index: head-src/com/l2jfrozen/gameserver/model/L2ArmorSet.java =================================================================== --- head-src/com/l2jfrozen/gameserver/model/L2ArmorSet.java (revision 948) +++ head-src/com/l2jfrozen/gameserver/model/L2ArmorSet.java (working copy) @@ -212,4 +212,32 @@ return true; } + + public boolean isEnchanted(int enchantLevel, L2PcInstance player) + { + // Player don't have full set + if (!containAll(player)) + return false; + + Inventory inv = player.getInventory(); + + L2ItemInstance chestItem = inv.getPaperdollItem(Inventory.PAPERDOLL_CHEST); + L2ItemInstance legsItem = inv.getPaperdollItem(Inventory.PAPERDOLL_LEGS); + L2ItemInstance headItem = inv.getPaperdollItem(Inventory.PAPERDOLL_HEAD); + L2ItemInstance glovesItem = inv.getPaperdollItem(Inventory.PAPERDOLL_GLOVES); + L2ItemInstance feetItem = inv.getPaperdollItem(Inventory.PAPERDOLL_FEET); + + if (chestItem == null || chestItem.getEnchantLevel() < enchantLevel) + return false; + if (_legs != 0 && (legsItem == null || legsItem.getEnchantLevel() < enchantLevel)) + return false; + if (_gloves != 0 && (glovesItem == null || glovesItem.getEnchantLevel() < enchantLevel)) + return false; + if (_head != 0 && (headItem == null || headItem.getEnchantLevel() < enchantLevel)) + return false; + if (_feet != 0 && (feetItem == null || feetItem.getEnchantLevel() < enchantLevel)) + return false; + + return true; + } } Index: head-src/com/l2jfrozen/gameserver/model/Inventory.java =================================================================== --- head-src/com/l2jfrozen/gameserver/model/Inventory.java (revision 948) +++ head-src/com/l2jfrozen/gameserver/model/Inventory.java (working copy) @@ -457,6 +457,7 @@ { _log.warning("Inventory.ArmorSetListener: Incorrect skill: " + armorSet.getSkillId() + "."); } + player.checkForABNORMAL_EFFECT_FLAME(); if(armorSet.containShield(player)) // has shield from set { @@ -495,6 +496,7 @@ skille = null; } + player.checkForABNORMAL_EFFECT_FLAME(); } skill = null; Index: head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java =================================================================== --- head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java (revision 948) +++ head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java (working copy) @@ -59,12 +59,14 @@ import com.l2jfrozen.gameserver.datatables.GmListTable; import com.l2jfrozen.gameserver.datatables.HeroSkillTable; import com.l2jfrozen.gameserver.datatables.NobleSkillTable; import com.l2jfrozen.gameserver.datatables.SkillTable; import com.l2jfrozen.gameserver.datatables.csv.FishTable; import com.l2jfrozen.gameserver.datatables.csv.HennaTable; import com.l2jfrozen.gameserver.datatables.csv.MapRegionTable; import com.l2jfrozen.gameserver.datatables.csv.RecipeTable; import com.l2jfrozen.gameserver.datatables.sql.AccessLevels; +import com.l2jfrozen.gameserver.datatables.sql.ArmorSetsTable; import com.l2jfrozen.gameserver.datatables.sql.CharTemplateTable; import com.l2jfrozen.gameserver.datatables.sql.ClanTable; import com.l2jfrozen.gameserver.datatables.sql.ItemTable; @@ -290,6 +292,8 @@ /** The _last teleport action. */ private long _lastTeleportAction = 0; + private int abnormal = ABNORMAL_EFFECT_FLAME; //added Armor effect by Annu and mvaios + /** * Gets the actual status. * @@ -10389,6 +10395,46 @@ con = null; } } + + public void checkForABNORMAL_EFFECT_FLAME() + { + + boolean ABNORMAL_EFFECT_FLAME = false; + try + { + if ( + ArmorSetsTable.getInstance().getSet(6379).isEnchanted(6, this) + || ArmorSetsTable.getInstance().getSet(6373).isEnchanted(6, this) + || ArmorSetsTable.getInstance().getSet(6383).isEnchanted(6, this) + || ArmorSetsTable.getInstance().getSet(9420).isEnchanted(6, this) + || ArmorSetsTable.getInstance().getSet(9426).isEnchanted(6, this) + || ArmorSetsTable.getInstance().getSet(9427).isEnchanted(6, this) + || ArmorSetsTable.getInstance().getSet(10126).isEnchanted(6, this) + || ArmorSetsTable.getInstance().getSet(10127).isEnchanted(6, this) + || ArmorSetsTable.getInstance().getSet(9433).isEnchanted(6, this) + || ArmorSetsTable.getInstance().getSet(9434).isEnchanted(6, this) + || ArmorSetsTable.getInstance().getSet(9435).isEnchanted(6, this) + || ArmorSetsTable.getInstance().getSet(9436).isEnchanted(6, this) + ) + { + ABNORMAL_EFFECT_FLAME = true; + } + } + catch (Exception e) + { + _log.log(Level.WARNING,"Armor exception message: " + e.getMessage(),e); + + } + + if (ABNORMAL_EFFECT_FLAME) + { + startAbnormalEffect(abnormal); + } + else + { + stopAbnormalEffect(abnormal); + } + } /** * Restore recipe book data for this L2PcInstance.
  19. well I meant eclipse, right click on your project. team-create patch.
  20. make a patch of what have you added and post it here... to see what's wrong
  21. ArmorSetsTable.getInstance().getSet(6379).isEnchanted6(this)//Draconic. || ArmorSetsTable.getInstance().getSet(6373).isEnchanted6(this)//Imperial || ArmorSetsTable.getInstance().getSet(6383).isEnchanted6(this)//Major Arcana ) You only have to put the chest Id.
  22. Yes. || ArmorSetsTable.getInstance().getSet(6382).isEnchanted6(this) Add a line and the number inside getSet(4324234234234) must be the id of the chest/fullbody item of the armor u want.
  23. Can it be called spam? O.o
  24. added. edit: next time post a little explanation of what u want... I thought you needed a fast fix with something... and u tell me about starting a c6 project and half donations for me half for you bla bla... t.t sorry.
×
×
  • 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