-
Posts
78 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by Xenokage
-
Share [C6]Patch By Eddy v4.5.7 NEW ! 2019-01-29
Xenokage replied to eddyteh's topic in Client Development Discussion
nice -
Cool !!
-
can lock
- 3 replies
-
- code
- protection
-
(and 2 more)
Tagged with:
-
Help gameserver error on killing pk
Xenokage replied to Xenokage's question in Request Server Development Help [L2J]
your a SAINT :D thank you ! -
Help gameserver error on killing pk
Xenokage replied to Xenokage's question in Request Server Development Help [L2J]
i havent even touched karma thats what i was curius i even replaced pcinstance into retail ... -
Help gameserver error on killing pk
Xenokage replied to Xenokage's question in Request Server Development Help [L2J]
LOG : Aug 26, 2018 8:27:32 PM net.sf.l2j.gameserver.network.clientpackets.L2GameClientPacket run SEVERE: Client: [Character: fanis - Account: fanis1996 - IP: X.XX.XXX.XX] - Failed reading: [C] SendBypassBuildCmd ; java.lang.ArrayIndexOutOfBoundsException: 90 java.lang.ArrayIndexOutOfBoundsException: 90 at net.sf.l2j.gameserver.skills.Formulas.calculateKarmaLost(Formulas.java:1541) at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.updateKarmaLoss(L2PcInstance.java:4105) at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.deathPenalty(L2PcInstance.java:4299) at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.doDie(L2PcInstance.java:3990) at net.sf.l2j.gameserver.model.actor.status.PcStatus.reduceHp(PcStatus.java:221) at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.reduceCurrentHp(L2PcInstance.java:8805) at net.sf.l2j.gameserver.model.actor.L2Character.reduceCurrentHp(L2Character.java:5323) at net.sf.l2j.gameserver.handler.admincommandhandlers.AdminAdmin.kill(AdminAdmin.java:290) at net.sf.l2j.gameserver.handler.admincommandhandlers.AdminAdmin.useAdminCommand(AdminAdmin.java:94) at net.sf.l2j.gameserver.network.clientpackets.SendBypassBuildCmd.runImpl(SendBypassBuildCmd.java:68) at net.sf.l2j.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:64) at net.sf.l2j.gameserver.network.L2GameClient.run(L2GameClient.java:759) at net.sf.l2j.commons.concurrent.ThreadPool$TaskWrapper.run(ThreadPool.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) -
Help gameserver error on killing pk
Xenokage posted a question in Request Server Development Help [L2J]
well i did killed a pk player using //kill and i was getting these errors on mty bat gameserver Client: [Character: fanis - Account: fanis1996 - IP: X.XX.XXX.XX] - Failed readi ng: [C] SendBypassBuildCmd ; java.lang.ArrayIndexOutOfBoundsException: 83 83 i also getting error when i was kilin with any othr skill getting another error + the skill id any idea ? he also had this out of nowhere ... Living player [fanis] called RequestRestartPoint packet. -
cool
-
Request Code gm Edit Droplist ingame REQ
Xenokage posted a question in Request Server Development Help [L2J]
do we have any code for editing droplist *add/remove* items in monsters * Ingame * , without going all the way inside the xmls n' doin it ingame ? -
Help ArmorSets 16 question code
Xenokage replied to Xenokage's question in Request Server Development Help [L2J]
thank you for a proper answer can lock -
Help ArmorSets 16 question code
Xenokage replied to Xenokage's question in Request Server Development Help [L2J]
prickhead -
Help ArmorSets 16 question code
Xenokage replied to Xenokage's question in Request Server Development Help [L2J]
because i want to continue this one and run it once for all , so are you willing to give me an answer ? you wont die if you just check it for less than a min lul -
/* * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */ package net.sf.l2j.gameserver.model.item; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.model.item.instance.ItemInstance; import net.sf.l2j.gameserver.model.itemcontainer.Inventory; /** * @author Luno */ public final class ArmorSet { private final int[] _set; private final int _skillId; private final int _shield; private final int _shieldSkillId; private final int _enchant6Skill; -> private final int _enchant16Skill; -> public ArmorSet(int[] set, int skillId, int shield, int shieldSkillId, int enchant6Skill, int enchant16Skill) { _set = set; _skillId = skillId; _shield = shield; _shieldSkillId = shieldSkillId; _enchant6Skill = enchant6Skill; -> _enchant16Skill = enchant16Skill; } /** * Checks if player have equipped all items from set (not checking shield) * @param player whose inventory is being checked * @return True if player equips whole set */ public boolean containAll(L2PcInstance player) { final Inventory inv = player.getInventory(); int legs = 0; int head = 0; int gloves = 0; int feet = 0; final ItemInstance legsItem = inv.getPaperdollItem(Inventory.PAPERDOLL_LEGS); if (legsItem != null) legs = legsItem.getItemId(); if (_set[1] != 0 && _set[1] != legs) return false; final ItemInstance headItem = inv.getPaperdollItem(Inventory.PAPERDOLL_HEAD); if (headItem != null) head = headItem.getItemId(); if (_set[2] != 0 && _set[2] != head) return false; final ItemInstance glovesItem = inv.getPaperdollItem(Inventory.PAPERDOLL_GLOVES); if (glovesItem != null) gloves = glovesItem.getItemId(); if (_set[3] != 0 && _set[3] != gloves) return false; final ItemInstance feetItem = inv.getPaperdollItem(Inventory.PAPERDOLL_FEET); if (feetItem != null) feet = feetItem.getItemId(); if (_set[4] != 0 && _set[4] != feet) return false; return true; } public boolean containItem(int slot, int itemId) { switch (slot) { case Inventory.PAPERDOLL_CHEST: return _set[0] == itemId; case Inventory.PAPERDOLL_LEGS: return _set[1] == itemId; case Inventory.PAPERDOLL_HEAD: return _set[2] == itemId; case Inventory.PAPERDOLL_GLOVES: return _set[3] == itemId; case Inventory.PAPERDOLL_FEET: return _set[4] == itemId; default: return false; } } public int getSkillId() { return _skillId; } public boolean containShield(L2PcInstance player) { final ItemInstance shieldItem = player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_LHAND); if (shieldItem != null && shieldItem.getItemId() == _shield) return true; return false; } public boolean containShield(int shieldId) { if (_shield == 0) return false; return _shield == shieldId; } public int getShieldSkillId() { return _shieldSkillId; } public int getEnchant6skillId() { return _enchant6Skill; } -> public int getEnchant16skillId() { return _enchant16Skill; } /** * Checks if all parts of set are enchanted to +6 or more * @param player * @return */ public boolean isEnchanted6(L2PcInstance player) { final Inventory inv = player.getInventory(); final ItemInstance chestItem = inv.getPaperdollItem(Inventory.PAPERDOLL_CHEST); if (chestItem.getEnchantLevel() < 6) return false; int legs = 0; int head = 0; int gloves = 0; int feet = 0; final ItemInstance legsItem = inv.getPaperdollItem(Inventory.PAPERDOLL_LEGS); if (legsItem != null && legsItem.getEnchantLevel() > 5) legs = legsItem.getItemId(); if (_set[1] != 0 && _set[1] != legs) return false; final ItemInstance headItem = inv.getPaperdollItem(Inventory.PAPERDOLL_HEAD); if (headItem != null && headItem.getEnchantLevel() > 5) head = headItem.getItemId(); if (_set[2] != 0 && _set[2] != head) return false; final ItemInstance glovesItem = inv.getPaperdollItem(Inventory.PAPERDOLL_GLOVES); if (glovesItem != null && glovesItem.getEnchantLevel() > 5) gloves = glovesItem.getItemId(); if (_set[3] != 0 && _set[3] != gloves) return false; final ItemInstance feetItem = inv.getPaperdollItem(Inventory.PAPERDOLL_FEET); if (feetItem != null && feetItem.getEnchantLevel() > 5) feet = feetItem.getItemId(); if (_set[4] != 0 && _set[4] != feet) return false; return true; } -> public boolean isEnchanted16(L2PcInstance player) { final Inventory inv = player.getInventory(); final ItemInstance chestItem = inv.getPaperdollItem(Inventory.PAPERDOLL_CHEST); if (chestItem.getEnchantLevel() < 16) return false; int legs = 0; int head = 0; int gloves = 0; int feet = 0; final ItemInstance legsItem = inv.getPaperdollItem(Inventory.PAPERDOLL_LEGS); if (legsItem != null && legsItem.getEnchantLevel() > 15) legs = legsItem.getItemId(); if (_set[1] != 0 && _set[1] != legs) return false; final ItemInstance headItem = inv.getPaperdollItem(Inventory.PAPERDOLL_HEAD); if (headItem != null && headItem.getEnchantLevel() > 15) head = headItem.getItemId(); if (_set[2] != 0 && _set[2] != head) return false; final ItemInstance glovesItem = inv.getPaperdollItem(Inventory.PAPERDOLL_GLOVES); if (glovesItem != null && glovesItem.getEnchantLevel() > 15) gloves = glovesItem.getItemId(); if (_set[3] != 0 && _set[3] != gloves) return false; final ItemInstance feetItem = inv.getPaperdollItem(Inventory.PAPERDOLL_FEET); if (feetItem != null && feetItem.getEnchantLevel() > 15) feet = feetItem.getItemId(); if (_set[4] != 0 && _set[4] != feet) return false; return true; } /** * @return chest, legs, gloves, feet, head */ public int[] getSetItemsId() { return _set; } /** * @return shield id */ public int getShield() { return _shield; } } a quick answer i did copy paste the enchantset of 6 into +16 i wanna do the same for 20 and 25 , though i want an answer if its correct on eclipse i didnt had errors but still havent tested :) the marks * -> * is what i inserted
-
help on import javolution.text.TypeFormat; l2jacis
Xenokage replied to Xenokage's question in Request Server Development Help [L2J]
think i got it .. Integer ? if im right please lock -
i noticed on l2jacis is not being used javolution also fastmap changed to hashmap , what about the typeformat ? import javolution.text.TypeFormat; <-- BLESS_WEAPON_ENCHANT_LEVEL.put(TypeFormat.parseInt(writeData[0]), TypeFormat.parseInt(writeData[1])); wich iis the new '' typeformat import' and what i'll change for this option i wish to use ! thank you
-
help ?
- 3 replies
-
- code
- protection
-
(and 2 more)
Tagged with:
-
any1 willing to adapt this one for acis ? :D
-
Dunno if that one is shared its for acis 370 i found that on a br ? website its antifeed pvp protection unfortunately it works exept this part +# If character died faster than timeout - pvp/pk points for killer will not increase+# and clan reputation will not be transferred+AntiFeedInterval = 120 any thoughts ? *code inside Spoiler*
- 3 replies
-
- code
- protection
-
(and 2 more)
Tagged with:
-
Code L2jacis pvp auto enchant
Xenokage replied to ThelwHelpRePaidia's topic in Server Shares & Files [L2J]
any way to make this code stop enchanting when item gets to +20 or smth ? cause like this it enchant more than ' max enchant ' -
Discussion What if?
Xenokage replied to SillverShadow's topic in Server Development Discussion [L2J]
probablly they would fight to death -
alright ! thanks for ur tips
-
any recommendation on where i can get to import it ? i did a small search but i had no luck t,t
-
Im Looking for a Anti Farm PVP Protection with ip/hwid option , im using l2jacis 370
-
link dead
