My initial plan was to port the Homunculus system from Live 502 to ClassicAden 502. But, when the interface for Homunculus is enabled, it has some hardcoded function that tries to load the dat files which leads to a crash since those files dont exist in ClassicAden. I was hoping to do some injection hoping, forcing the client to load the files.
Question
Heroic9614
I have code, tips that why not working?
i click tiara and nothing...
Trailer.java
package l2ro.gameserver.model.instances; import l2ro.gameserver.model.Player; import l2ro.gameserver.templates.npc.NpcTemplate; public final class CustomTrainer extends NpcInstance { private static final long serialVersionUID = 5938813598479742068L; public CustomTrainer(int objectId, NpcTemplate template) { super(objectId, template); } @Override public void onBypassFeedback(Player player, String command) { if (!canBypassCheck(player, this)) { return; } if (command.equalsIgnoreCase("learn")) { player.sendMessage("Your gender has been changed !!"); } else { super.onBypassFeedback(player, command); } } @Override public boolean isNpc() { return true; } }NPC xml
53000.htm
Edited by Heroic96145 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now