- 0
Help [Help] Daily/Weekly quest
-
Posts
-
Short version: took Vanganth's classic Interlude pack as the starting point and rebuilt the rest on top of the Classic Secret of Empire client (protocol 166). Stuff that got reworked, but not limited to: The AI is the one I'm proudest of. ~600 individual NPC behavior scripts, all parsed and verified against retail. Aggro range, follow logic, target switching, idle pattern, social actions. All behaving the way they do on the official server, not the way "close enough" L2J packs usually do. ~2,5k skills loaded, full enchant tree, soul crystal absorption rules. Every formula in Formulas.java and StatFunctions.java got rewritten to match retail. Geodata is not excluded. NPCs/spawns, 6k+ templates, 28k+ spawns, all raid bosses, all the standard event content (Olympiad, Seven Signs with Festival of Darkness, Castle Sieges, Clan Hall stuff, Fortress sieges, Dimensional Rift, Four Sepulchers, Cardiff Invasion). all quest scripts. The engine itself runs both Interlude (protocol 740–770) and Secret of Empire (166) off the same codebase, opcode-mapped. The thing I want to be clear about: this is as close to PTS as L2J realistically gets. Most, not all, L2J packs out there have approximated formulas, stub AI, patchy geodata, hardcoded raid scripts. We didn't take that route. When can you actually play it: Server most likely opens next year. If I get more dev time over the coming months a beta by end of this year is realistic, possibly earlier. No promises, depends on how much time I can put in. The server is already playable since the most important work is done. So if you'd like to collaborate, you'll be able to test it fairly soon. The server files are really good. You might even want to use them for your own server if we decide to go that route. Server tiers being considered: Low-rate retail - the flagship, most likely first server. Strict PTS. Mid-to-high rate, minimal customs - almost certainly happening as a second server. More accessible but the engine integrity stays. Old L2Finest pride-style (high-rate, heavy customs, the original flavor some of you remember) - very low chance and definitely not soon. It's on the list but well behind the first two. That's where we are. More updates as open beta gets closer.
-
Maybe some NPC is causing the problem for you, if you don't have a custom map, keep a backup of the database and remove the npc 1-1 to see where the problem is coming from. A custom npc is probably the problem. I had this problem before and searched a lot to find it.
-
🔥 L2 REDMOON – INTERLUDE 🔥 🆕 Newly opened – Full players joining! 🌐 Discord: https://discord.gg/5PvP5BrGg 💬 Website: https://L2Redmoon.com ⚔️ Progressive Server • Classic • No Pay To Win 📊 Stage System (Progressive): 🔹 Stage 1: Lv 1–42 | XP x3 | 2 weeks 🔹 Stage 2: Lv 43–60 | XP x4 | 2 weeks 🔹 Stage 3: Lv 61–75 | XP x5 | 10 days 🔹 Endgame: Lv 75–80 | XP x10 💰 General Rates: 💰 Adena x8 💎 Spoil x3 📦 Drop x3 📜 Quest x3 🚫 NO PAY TO WIN ⭐ Premium +30% (Optional) 🛡️ Safe +3 ⚔️ Max +16 🏆 Auto reward max for clans 🔥 ENDGAME – Final competitive phase @everyone
-
-
Topics

Question
gripao
Hello!!
I'm trying to make a quest to kill X mobs and give you a reward. I already have it ready, or so I think.
Now I would like to add the function of making it daily or weekly. I've tried to control this in the same java file of the quest, but I haven't been able to...
I was thinking of putting a marker on the quest so that it is "daily" or "weekly" and ¿generating another java program? that is in charge of restarting all the quests with the daily marker at 9 in the morning every day and on Wednesdays at 9 every Wednesday.
Since I'm new to java programming (I had already programmed in bash) and developing l2j I don't know where I should create that program. Could it be in the java folder with a name like "org.l2jmobius.xxx.xxx"?
I don't know how to approach it because I don't understand the logic of the files and that how runs every day to reset quest with marker.
Could anyone help me understand this and explain how I should do it? I'm not asking for ready-made code, I can do that myself, but how to deal with it
I also don't know if this method is better or in the java file itself (but I haven't managed to do it this way).
See you guys and thanks for all.
2 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