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).
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
I do what I like because I don't need to push myself to do things for L2 as a means of income. You, on the other hand, are here trying to scam people for $20k files...
But, since you're so talented and competent, I suppose you must be thriving on the fruits of your talents as an L2Off dev, no?
Oh wait
Guess not
If you have error
[ERR] 1067 - Invalid default value for 'createDate'
`createDate` date DEFAULT NULL '00-00-0000',
need use
`createDate` date DEFAULT NULL,
What game client do you need here?
I can't even log in!
# Auto account creation
# ----------------------------
# Auto account creation
# Default: True
AutoCreateAccounts = True
What did I do wrong?
ServerAddr=127.0.0.1
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
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.