Sign in to follow this  
Followers 0
AnnieRuru

Quest
Sample Questlog script

7 posts in this topic

Download: 1.0
sample script

 

these are 5 sample quests using quest log system

this was actually made as a sample script inside a script support section in eathena forum
original topic from eathena
thanks to paradog eathena admin that makes eathena forum down, almost gonna remake everything from scratch
luckily I got a few segment here and there in my old hard-disk so doesn't take too much time to write this sample

Quest #1
typical talk to npc A, then npc B ... etc
demonstrate how to use *checkquest

Quest #2
collect item quest
just checkitem with it
I still don't know how to use the client to trace is the item collecting has completed or not

Quest #3
kill monster quest
demonstrate how to use *checkquest( x, HUNTING )

Quest #4
typical talk to npc A, then npc B ... BUT with a time limit
demonstrate how to use *checkquest( x, PLAYTIME )

Quest#5
if player having this quest, player can *getitem by killing this monster
see https://github.com/HerculesWS/Hercules/blob/stable/db/quest_db.conf#L45-L50

screen2019Hercules031.jpg

 

and I want to remind this is just a sample script
usually make for source modification on quest log system (now is 3rd time I think ?)

 

 

0.1 - script

0.2 - script

0.3 - script
- update to new format, and new script commands

1.0 - script
- update to new format

 


Download: 1.0
script

2 sample script for daily system

1. Daily item giver ...
although I think this should done with attendance system ...

2. Daily hunting ...
self explain ...

screen2019Hercules032.jpg

 

Spoiler

1.0 - script

 

Edited by AnnieRuru

Share this post


Link to post
Share on other sites

thanks for the reminder

 

http://upaste.me/161989

 

is the *questinfo command only show with checkquest(x) == -1 intended ?

https://github.com/HerculesWS/Hercules/blob/master/src/map/clif.c#L9609

because when player on the quest, I want to show where the npc is with the mini-map dot

but the *questinfo only display the mini-dot when checkquest(x) == -1(not started), not 1(active)

Share this post


Link to post
Share on other sites

Hi Ms. @AnnieRuru I really like the idea. i know this is just a sample but mind if i ask if possible or is it possible; how

  • to make this DAILY chain quest.
  • to make this every 00:00 server time this quest reset back to zero 0. Player should finish the quest before 00:00
  • and if player finishes the quest before 00:00 then player took a quest again will remind that need to wait for --:-- hours until quest reset at 00:00.
  • Regardless if player only reach mission 2, quest will reset back to 0 once 00:00.
  • to Place item reward or exp reward per npc mission accomplish (guess this can added in after "dispbottom "mission 1 pass";")
  • quest depend per base level "1-20","21-40","41-60","61-80","81-99".

    Thanks!
Edited by MikZ

Share this post


Link to post
Share on other sites

Mass update to version 1
compatible with Hercules 2019-02-24 and client 2018-06-20Re

screen2019Hercules031.jpg

https://github.com/AnnieRuru/Release/blob/master/scripts/Quest %26 Shops/quest log/quest_log_1.0.txt


@MikZ, the thing you describe there is official
https://github.com/HerculesWS/Hercules/pull/1593#issuecomment-284083798

so just in case you don't understand, I make another sample then
https://github.com/AnnieRuru/Release/blob/master/scripts/Quest %26 Shops/quest log/daily_quest_log_1.0.txt

Edited by AnnieRuru

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0