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).
TELEGRAM SEO TRAINING (Bot Ranking in Search)
I teach a complete system for ranking Telegram bots at the top of search results by keywords and countries.
The method works for services, shops, crypto projects, and any type of Telegram bot.
You can also direct the traffic to your groups, channels, websites, or sales funnels.
⸻
Countries I work with
USA, Israel, Russia, India, Turkey, China, Ukraine, Uzbekistan.
If you need another country — message me, we’ll find a solution.
⸻
️ Results
First search results appear in 2–3 days.
⸻
What’s included in the training
• how the Telegram search algorithm works and key ranking factors
• keyword research for your country and niche
• bot optimization: description, settings, greeting text
• fixing and maintaining positions
• specific promotion nuances for different countries
⸻
What you will receive
• a complete system for ranking bots in search
• understanding how to work with keywords, traffic, and positions
• a skill you can use to promote your own projects or earn from clients
⸻
Who this training is for
• beginners with zero experience — I explain everything from scratch
• those who don’t have a bot — I provide a ready one for practice
• anyone who wants to learn promotion and earn from this service
⸻
Why learn from me
• doing Telegram SEO since 2021
• over 1000 successful orders
• my own panel SMMTG.PRO and private databases
• experience working with markets of Russia, Uzbekistan, Ukraine, Israel, USA, Turkey, China, India, Vietnam, Europe, and more
⸻
For pricing — message me
t.me/smmtg6
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