Jump to content
  • 0

Quest errors?


Seravy

Question


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.02
  • Content Count:  176
  • Reputation:   60
  • Joined:  01/11/19
  • Last Seen:  

I tried adding a custom quest. This is my questid2display.txt file :

30180#Proof of Adventurer#SG_FEEL#QUE_NOIMAGE#
You have to prove you're an adventurer worthy of receiving a mount. Hunt 7 Poison Spores, a Soldier Skeleton, and a Myst case.#
Hunt 7 Poison Spores, a Soldier Skeleton, and a Myst case.#

30181#Proof of Adventurer 2#SG_FEEL#QUE_NOIMAGE#
You have to prove you're an adventurer worthy of receiving a mount. Defeat 1 Bigfoot and 1 Dragon Fly.#
Hunt 1 Bigfoot, 1 Dragon Fly.#

and this is the quest db :

30180,0,1028,1,1077,7,1249,1,0,0,0,0,0,0,0,0,0,"Proof of Aventurer 1"
30181,0,1060,1,1091,1,0,0,0,0,0,0,0,0,0,0,0,"Proof of Aventurer 2"

When the character who received these quests logs in the client throws a bunch of quest errors (value is nil for stuff like reward or whatever), so I feel like maybe something is missing and there are more files that need changed to add the quest properly?

As is, aside from the errors, the quest shows up as "unknown quest" with no description. Isn't that what the questid2display.txt should specify for the client?

btw the entiries were generated using the SDE tool if that matters.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1678
  • Reputation:   704
  • Joined:  12/21/14
  • Last Seen:  

if you ate using 2018 clients , you should add the quest in OngoingQuestInfoList.lub file not questid2display.txt

  • Upvote 1
  • MVP 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.02
  • Content Count:  176
  • Reputation:   60
  • Joined:  01/11/19
  • Last Seen:  

5 hours ago, sader1992 said:

if you ate using 2018 clients , you should add the quest in OngoingQuestInfoList.lub file not questid2display.txt

I'm using 2018-06-20. I don't have a file with that name (or lua or txt) in my data folder nor any file starting with the word "ongoing". GRF editor isn't showing one in any of the GRF files either.

Nevermind, it's in the system folder. Thanks for the help, it worked!

3 hours ago, AndyTheGoblin said:

Yeah I never touched questid2display even on my 2015 client 

nvm thats something else

Unless this is a weird forum bug, first time I see someone using my avatar on a forum. Which reminds me I never bothered to set it on this site...

This might get confusing lol...  maybe I should use the picture I uploaded there instead? https://anidb.net/perl-bin/animedb.pl?show=character&charid=9879

Edited by Seravy
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.02
  • Content Count:  176
  • Reputation:   60
  • Joined:  01/11/19
  • Last Seen:  

Great, thanks!

Just in case someone wants it, might as well drop the npc script for the quest here  (the quest database and client entries are in the first post) :

prontera,146,167,6	script	Rich Girl::richgirlreins	612,{
if (checkquest(30180)==-1) {
mes "[Rich Girl]";
mes "Oh, you're walking on your FEET????!!!";
mes "What a commoner... how dare you talk to me like that?";
next;
mes "[Rich Girl]";
mes "An advanturer you say?";
mes "All the more reason you should be riding a mount! Not only is it more noble, but faster too!";
mes "The ability to escape quickly might save your life you know?";
next;
mes "[Rich Girl]";
mes "I can let you have one... oh, don't worry, our stables have hundreds of these, I don't mind.";
mes "Your life is more important!";
next;
mes "[Rich Girl]";
mes "Not so fast!";
mes "You have to first prove you are what you claim. This should be easy for a REAL adventurer!";
mes "Go and kill a Soldier Skeleton, 7 Poison Spores, a Myst Case, a Bigfoot, and... let me think...";
next;
mes "[Rich Girl]";
mes "Yes, the last one should be a bit harder...";
mes "How does dragon slaying sound? Hey, stop shaking, I don't mean that sort of dragon...";
mes "I'm doing this to save your life you know? I wouldn't send you after something that dangerous!";
mes "So, go and kill a Dragon Fly for me, and return after you killed everything!";
setquest 30180;
setquest 30181;
close;} else {
if ((checkquest(30180,HUNTING)==2) && (checkquest(30181,HUNTING)==2)) {
mes "[Rich Girl]";
mes "Amazing, you're a real adventurer indeed!";
mes "As promised, this mount is now yours. Take care, and beware of dragons!";
completequest(30180);
completequest(30181);
getexp 4000,0;
getitem 12622,1;
close;
} else {
mes "[Rich Girl]";
mes "I was looking forward to hearding about your adventures...";
close;
}
}
}

 

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