Jump to content
  • 0

Quest Script


Anubis92

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   4
  • Joined:  05/11/17
  • Last Seen:  

Hello everyone! 

 

I've got an Problem (again...) I didn't knwo if i think wrong or Forget something...

 

I try to write own kill quests with entry in quest db

Looks like:

90006,0,1019,15,0,0,0,0,0,0,0,0,0,0,0,0,0,"All what they need"

 

Now I thought when the Player has killed all 15 Peco Pecos the quest states turns automatic on 2, but he keeps on 1. Now my Reward Manager didn't see that the quest is done with checkquest(90001,HUNTING) == 2 ?

Do I have to ask after Hunting == 1? Or is he than always thinking the quest is complete? This isn't explaining himself for me. 

 

Thanks for your help!

 

Greetings

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Content Moderator
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  639
  • Reputation:   596
  • Joined:  11/25/11
  • Last Seen:  

Quest ID is 90006 and your checking is for 90001?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   4
  • Joined:  05/11/17
  • Last Seen:  

Aww... No, Haziel! I'm sorry I was tired when I posted my question. Sure I Check in my Script for 90006 == 2. If it helps I could Post the Part of my script that runs on my testserver

 

		mes "[Assistant of Obelix]";
		mes "Do you want to get your reward for an quest of us?";
		switch(select("Yes, Sir!:No, Sir!")){
			
			case 1:
				if (checkquest(90003,HUNTING) == 2 && checkquest(90009) == 1) {
					mes "[Assistant of Obelix]";
					mes "Ah, I see you have helped our Knight to keep the Olds away from another.";
					mes "It's not an fine work, but it have to be done.";
					next;
					mes "[Assistant of Obelix]";
					mes "Here you get your Reward from me!";
					getitem 41002,2;
					completequest 90009;
					end;

 

This is the part of my quest with the checkquest. I know the ID is 90003! but it's the same quest - only for an other fraction. The Second Quest 90009 is only an check up for rewards and stand with 1 in my DB as it should. Only the Killquest didn't Change on Status 2. 

Edited by Anubis92
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...