You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
I present to your attention two options for the Hellbound location map
details in the archive
if you have larger effect files, you do not need to replace them
download
updates can be made behind the scenes, so if you catch a crit, post on the forum or download the archive, it may have already been fixed
additionally you can download
all la2 music from the latest version of the game 2025 download
the entire La2 ambisound from the latest version of the game 2025 download
Question
heladito
hi guys, i still trying to adapt the skin system + 2 click items.
I have some errors in the skin1.java and i just dont know how to fix it.
My skin1.java
package com.l2jfrozen.gameserver.handler.itemhandlers; import com.l2jfrozen.Config; import com.l2jfrozen.gameserver.handler.IItemHandler; import com.l2jfrozen.gameserver.model.actor.instance.L2ItemInstance; import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance; import com.l2jfrozen.gameserver.model.actor.instance.L2PlayableInstance; import com.l2jfrozen.gameserver.network.clientpackets.RequestBypassToServer; public class skin1 implements IItemHandler { @Override public void useItem(L2PlayableInstance playable, L2ItemInstance item) { if(Config.ALLOW_DRESS_ME_SYSTEM) { if(!(playable instanceof L2PcInstance)) return; L2PcInstance activeChar = (L2PcInstance)playable; RequestBypassToServer.setPart(activeChar, "chest", Config.SKIN_NAME1); RequestBypassToServer.setPart(activeChar, "legs", Config.SKIN_NAME1); RequestBypassToServer.setPart(activeChar, "gloves", Config.SKIN_NAME1); RequestBypassToServer.setPart(activeChar, "boots", Config.SKIN_NAME1); if (activeChar.isDressMeEnabled()) { activeChar.setDressMeEnabled(false); activeChar.broadcastUserInfo(); activeChar.sendMessage("You have disabled skin."); } else { activeChar.setDressMeEnabled(true); activeChar.broadcastUserInfo(); activeChar.sendMessage("You have activated " + Config.SKIN_NAME1 + " skin."); } } else playable.sendMessage("Sorry, admin has disabled skins."); } @Override public int[] getItemIds() { return ITEM_IDS; } private static final int ITEM_IDS[] = { Config.SKIN_ITEM_1 }; }
and the errors

2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.