Jump to content
  • 0

Cancel Eden quest 131~140 waiting time & delete info in Quest menu


pupa09

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  18
  • Reputation:   0
  • Joined:  01/16/12
  • Last Seen:  

I try cancel the Eden quest 131~140 waiting time.
I try make the time short in quest.db, but there still got the info in my quest menu logs there after the time reach, due to they use for detection quest timing and I found out without it also can start the quest as first time player.
Sample :
the eden quest 131 140.txt

case 2:
						if (checkquest(13164,PLAYTIME) == 0)
							mes "I am making a story... Two means less than three~ I started to make a story but I can not finish. Will you help me?";
						else if (checkquest(13163,HUNTING) == 1) {
							cutin "胶墨扼官墨靛",3;  //scaraba_card
							mes "That horn thing bothers me a little bit. What is the difference between one and two horns? Just appearance?";
							next;
							mes "[Ragi]";
							mes "Maybe it is unnecessary. But curiosity is important for story tellers. Hahaha.";
							cutin "ragi01",0;
						}
						else if (checkquest(13163,HUNTING) == 2) {
							mes "You came back safely! How is it? Horn Scaraba seemed to be a fun story. You really did a good job.";
							callsub S_Quest,13163,13164,1100000,200000;
						}
						else {
							cutin "胶墨扼官墨靛",3;  //scaraba_card
							mes "We talk about Horn Scaraba? There is one more we should mention.. That is Horn Scaraba!";
							next;
							mes "[Ragi]";
							mes "I do no know why. I just heard from people. I need to make a song so please take a look at their world!";
							next;
							cutin "ragi01",0;
							if (select( "Take the request", "Quit." ) == 1) {
								mes "[Ragi]";
								mes "You can find them near somewhere in the east at Scaraba Hall.";
								callsub S_Quest,13164,13163;
							}
						}

S_Quest:
    if (isbegin_quest(getarg(0)))
        erasequest getarg(0);
    setquest getarg(1);
    if (getarg(2,0))
        getexp getarg(2),getarg(3);
    return;
S_Erasequest:
    .@total = getargcount();
    for ( .@i = 0; .@i < .@total; .@i += 3 ) {
        .@quest_id = getarg(.@i);
        switch( checkquest(.@quest_id,HUNTING) ) {
        case -1:
            if (checkquest(.@quest_id+1) > -1)
                erasequest (.@quest_id+1);
            continue;
        case 0:
        case 1:
            mes "[Ragi]";
            switch( getarg(.@i+1) ) {
            case 1:
                mes "The rest of the story of "+ getarg(.@i+2) +" is Okay, I will ask to someone else.";
                break;
            case 2:
            case 3:
                mes "I will ask to other adventurers about the story of "+ getarg(.@i+2) +".";
                break;
            }
            break;
        case 2:
            mes "[Ragi]";
            switch( getarg(.@i+1) ) {
            case 1:
                mes "Did you hear the story of "+ getarg(.@i+2) +"? Thanks you. I promise to make a good song.";
                getexp 1100000,300000;
                break;
            case 2:
                mes "Is Morocc's story good enough for songs? You did a good job.";
                getexp 1100000,200000;
                break;
            case 3:
                mes "How was your adventure? Was it fun? Please let me hear your adventure story someday.";
                getexp 1100000,200000;
                break;
            }
        }
        erasequest .@quest_id;
        next;
    }
    return;
}

the quest.db

13163,0,2084,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Horn Scaraba Story"
13164,3600,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Horn Scaraba Story - Wait"

13163 is the quest id, 13164 is the quest id for time countdown.
I have change the  13164 to 0  in script there or the close the 13164 quest id can fix the problem but server there will debug everytime I do this mission.
Anything I can do for stop the 13164 quest id or delete the quest log in quest menu after reach time ?

Thank you
 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  18
  • Reputation:   0
  • Joined:  01/16/12
  • Last Seen:  

Already fix by own
Thank you.

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
Answer this question...

×   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...