Sign in to follow this  
Followers 0
AnnieRuru

Quest
Sample Questlog script

9 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
On 2/24/2019 at 5:19 AM, AnnieRuru said:

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

screen2019Hercules031.jpg

 

@AnnieRuru your Quest information is so neat. can that be use for client 20141022 or for 2018 client only?

Check mine ..

screenLibRO002.jpg.52d7e635194cd45ba3332a94c60daa29.jpg

also where to add these?

*/
mission 1 - acolyte trouble
49900 - from tavern, talk to acolyte
49901 - from acolyte, talk to npc in izlude
49902 - from izlude, talk to acolyte
49903 - from acolyte, submit to tavern

mission 2 - gemstone stortage
49904 - from tavern, talk to gem seller
49905 - from gem seller, collect 10 yellow/blue/red gemstone
49906 - from gem seller, submit to tavern 

mission 3 - poring problem
49907 - from tavern, talk to guard
49908 - from guard, kill 10 poring
49909 - after kill poring and talked to guard, submit to tavern 

mission 4 - hand over the artifact
49910 - from tavern, talk to artifact collecter
49911 - from artifact collecter, talk to assistant within 20 seconds
49912 - from assistant, talk to artifact collecter
49913 - from artifact collecter, submit to tavern
*/

 

 

screenLibRO001.jpg

Edited by MikZ

Share this post


Link to post
Share on other sites
4 hours ago, MikZ said:

@AnnieRuru your Quest information is so neat. can that be use for client 20141022 or for 2018 client only?

the new quest log window is only for 2018-03-07b onward, so if your client is not so up to date, can use version 0.3 ...

nope, that is just some information when I brainstorming some quest idea

about Dastgir's idea that add custom quest in Any tab, I'm thinking not going for it,
because I'm thinking of integrate this with achievement system ...
using such old client version also means you can't use more modern features

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