-
Posts
1,418 -
Joined
-
Last visited
-
Days Won
2 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by ^Wyatt
-
Price always depends on the quantity of work. Also depends if are you asking for code prices or monthly payments...?
-
http://maxcheaters.com/forum/index.php?topic=250165.0 [Request] Dev Help [L2J] En
-
How to enable python logging __init__.py.error.log in config ?
^Wyatt replied to havoc's question in Request Server Development Help [L2J]
Wrong section. Do you mean that if you go to the specified quest folder don't you find anything? -
Yes lock it pls, no isn't customer.
-
markevans7 http://l2jhidden.com/test/images/2012/09/05/DiKkJ.jpg[/img]
-
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 :)
-
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(); }
-
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.
-
And removing the checker if pvpflag == 0 from the onEnter method?
-
replace what we put inside onExit with this ((L2PcInstance) character).setPvpFlagLasts(System.currentTimeMillis() + 30000); And test.
-
[HELP] This code can adapt in interlude ??
^Wyatt replied to GsL's question in Request Server Development Help [L2J]
Can't find the error... =s Code seems to be ok. -
[HELP] This code can adapt in interlude ??
^Wyatt replied to GsL's question in Request Server Development Help [L2J]
But that appears when? You remove the effect with admin and then you unequip your items? and error appears? didn't understand... -
http://maxcheaters.com/forum/index.php?topic=250136.0 solved
-
[HELP] This code can adapt in interlude ??
^Wyatt replied to GsL's question in Request Server Development Help [L2J]
Show me your inventory.java... and also the error on console -
&& !((L2PcInstance) this).isInsideZone(L2Character.ZONE_SIEGE) && !((L2PcInstance) target).isInsideZone(L2Character.ZONE_SIEGE) Hope you'll give me a biscuit xD
-
Buffer animation High Five
^Wyatt replied to JZZ's question in Request Server Development Help [L2J]
I think that he means a buffer which casts you the skill when you press the button. -
Explain it better... Tell us your chronicle and pack...
-
[HELP] This code can adapt in interlude ??
^Wyatt replied to GsL's question in Request Server Development Help [L2J]
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. -
[HELP] This code can adapt in interlude ??
^Wyatt replied to GsL's question in Request Server Development Help [L2J]
well I meant eclipse, right click on your project. team-create patch. -
[HELP] This code can adapt in interlude ??
^Wyatt replied to GsL's question in Request Server Development Help [L2J]
make a patch of what have you added and post it here... to see what's wrong -
[HELP] This code can adapt in interlude ??
^Wyatt replied to GsL's question in Request Server Development Help [L2J]
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. -
[HELP] This code can adapt in interlude ??
^Wyatt replied to GsL's question in Request Server Development Help [L2J]
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. -
Can it be called spam? O.o
-
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.
