Jump to content

Quests, Games: Chain Quest


Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

File Name: Chain Quest

File Submitter: Emistry

File Submitted: 29 Jul 2012

File Category: Games, Events, Quests

Content Author: Emistry

This Script allow users to setup a Chained Quest in a simplest way.

The NPC will reward the player 1 item that specified in the script for every part of the Quests he/she finished.

Limit Of Quest Required Items can add to max of 60+ .

Configuration :

Case <Number>: ChainedQuest( <RewardID>,<Amount>, <Zeny>, <RequiredItem>,<Amount>,......,<RequiredItem>,<Amount> );

Case <X> where X refer to part of the Quest.

https://rathena.org/board/index.php?/files/file/2495-%7B?%7D/

Visit Emistry Topic for more Scripts...

Link to comment
Share on other sites

  • 4 years later...

  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  52
  • Reputation:   2
  • Joined:  11/13/16
  • Last Seen:  

I'll try it out sir. thank you!

Link to comment
Share on other sites

  • 2 years later...

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   2
  • Joined:  03/21/17
  • Last Seen:  

@Emistry

sir how to add 24 hours delay for each chained quest1,(u have completed today quest please come back tomorrow) so they can continue quest 2

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  30
  • Reputation:   0
  • Joined:  03/05/19
  • Last Seen:  

Put this at the top of script
 

    if(#Quest_CD> gettimetick(2)) {
		msg "Come Back Later";
        end;
        }



put this after player get item
 

    set #Quest_CD,gettimetick(2) + 3600; // set your cooldown


 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   2
  • Joined:  03/21/17
  • Last Seen:  

22 hours ago, vulcan1991 said:

Put this at the top of script
 


    if(#Quest_CD> gettimetick(2)) {
		msg "Come Back Later";
        end;
        }



put this after player get item
 


    set #Quest_CD,gettimetick(2) + 3600; // set your cooldown


 

This sir this quest will be character based rite not account based rite ?

Thank you

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.01
  • Content Count:  59
  • Reputation:   5
  • Joined:  07/02/18
  • Last Seen:  

It will automatically notify the number of monsters we kill, right?

 

Link to comment
Share on other sites

  • 4 months later...

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   2
  • Joined:  03/21/17
  • Last Seen:  

by default its character based how to make it account based

Link to comment
Share on other sites

  • 5 weeks later...

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  05/24/20
  • Last Seen:  

my quests keeping on part 2, what should i do?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

On 5/2/2020 at 6:03 PM, NakedWolf said:

by default its character based how to make it account based

getd( "Quest"+strnpcinfo(2)

find all of it, and change to

getd( "#Quest"+strnpcinfo(2)

 

On 6/2/2020 at 4:54 AM, Sill said:

my quests keeping on part 2, what should i do?

Work just fine using the default script in my test server.

https://i.imgur.com/NKVDfuZ.png

Link to comment
Share on other sites

  • 10 months later...

  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   6
  • Joined:  04/04/12
  • Last Seen:  

Hi @Emistry Sorry to be a bother to you. I just came back from a long hiatus of scripting(8 years) and don't remember much. Would you mind assisting me in adding Gepard UniqueID to this and have it reset OnClock0000? I've been messing around but to no avail.

Edited by DR4LUC0N
Link to comment
Share on other sites

  • 1 year later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  12/18/20
  • Last Seen:  

Hi @Emistry is it possible to add a list of items? For example:

valk armor >requirements1>req2>req3...

Valk shield >req1>req2>req3....

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...