So I adapted a code from l2jbrasil into my pack, however since it was old as shit I decided to remake it.
So i did
in config.java
+ public static boolean ENABLE_LEVEL_REWARD;
+ public static int LEVEL_REWARD_ITEM;
+ public static int LEVEL_REWARD_COUNT;
+ public static int LEVEL_TO_REWARD;
+
+ // Level Reward System
+ if (Config.ENABLE_LEVEL_REWARD && getLevel() == Config.LEVEL_TO_REWARD)
+ {
+ // Item Level Reward System
+ addItem("Level Reward", Config.LEVEL_REWARD_ITEM, Config.LEVEL_REWARD_COUNT, this, true);
+ sendMessage("Make sure you reach your level first. " +Config.LEVEL_TO_REWARD+ " .");
+ NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
+ html.setFile(new StringBuilder("data/html/mods/LevelReward/level.htm").toString());
+ html.replace("%objectId%", String.valueOf(getObjectId()));
+ sendPacket(html);
+ }
Its just a simple code in order to reward players once they reach level 80.
I have added everything into l2jhellas.ini, and I have made the html file in the correct order
when I start the server I get informed that the level rewarder is enabled in the console. But when my player reachers level 80 he gets no reward. What am I missing here?
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/hood-services
https://campsite.bio/utchihaamkt
hello
I need help with how to make the Mod Champion " Modified champion monster system. When dying, the champion monster gains experience. As it revives, it becomes increasingly stronger, until it reaches level 20 and then the boss is summoned!"
I don't care what these random rats are typing to me. I will ruin their business for scamming other people's work. I'm very good at it, no matter what protection or obfuscation they add to their files. I will break them and share everything for free with the community that's what they deserve.
Question
Extreamer
So I adapted a code from l2jbrasil into my pack, however since it was old as shit I decided to remake it.
So i did
in config.java
then in L2PCinstance.java
Its just a simple code in order to reward players once they reach level 80.
I have added everything into l2jhellas.ini, and I have made the html file in the correct order
when I start the server I get informed that the level rewarder is enabled in the console. But when my player reachers level 80 he gets no reward. What am I missing here?
Edited by ExtreameRLink to comment
Share on other sites
16 answers to this question
Recommended Posts