Classic quest bugs

For all talk about quest development - creation, testing, and quest system.
User avatar
Jay_H
Posts: 4062
Joined: Tue Aug 25, 2015 1:54 am
Contact:

Classic quest bugs

Post by Jay_H »

With Interkarma's and Hazelnut's guidance, I'm making a topic here to document bugs in Daggerfall's classic quests. My previous method was to rewrite the quest files to eliminate problematic scripts, but now we'll fix the mechanics themselves. I'm starting work on the Innkeeper and Merchant (commoner) quests now.

Bug report:

Code: Select all

	pc at _inn_ set _S.00_ saying 1013
Spoiler!
Source:

A0C00Y00

Description of problem:

Once inside the tavern, message 1013 will endlessly appear on the screen until the quest is shut down or the PC teleports out of the building.

Suggestions:

This problematic variant connects "pc at ____" and "say 1013," which by themselves do not cause this problem. The restriction DFU normally places on messages is being overridden here. So long as the PC is inside the building, the message will be played endlessly.
Interkarma's Notes:

RESOLVED
  • Now "saying nnnn" will only display once.
  • Now also supports alternate variant "pc at aPlace do aTask"
Last edited by Jay_H on Sat Jun 09, 2018 3:17 am, edited 1 time in total.

User avatar
Jay_H
Posts: 4062
Joined: Tue Aug 25, 2015 1:54 am
Contact:

Re: Classic quest bugs

Post by Jay_H »

Bug report #2:

Code: Select all

_S.02_ task:
	toting letter6 and _qgiver_ clicked 
	toting letter4a and _qgiver_ clicked 
	toting letter3a and _qgiver_ clicked 
	toting letter5 and _qgiver_ clicked 
Spoiler!
Source:

A0C00Y00

Description of problem:

This uses the same toggle action we previously saw with the haveitem action. In its current form, only toting letter5 and _qgiver_ clicked functions.

Suggestions:

No suggestions. In its current state the quest is unworkable, as the companion victory condition, "dropped _falseletter#_," uses numbers at variance with this action. No matter what combination the PC is given, the quest is impossible. What's worse here is that there isn't even an easy way to rewrite it to only use one branch of the quest per instance.
Interkarma's Notes:

NOT REPRODUCED
  • TotingItemAndClickedNpc already breaks check once parent task triggered. There should be no issues with multiple instances of this trigger condition under a single parent task. This is not a continuous toggle like HaveItem.
  • Successfully tested with A0C00Y00 and task S.02 is triggered as scripted when player clicks on quest giver with any of the chosen letter variants.
  • Note1: This test is inclusive of Bug #3 fixes. It's most probable cause was actually inability to drop item to satisfy S.03.
  • Note2: Picking up the treasure "the courier's belongings" will also make quest impossible to complete. Quest giver will not deliver reward if the belongings are disturbed, as scripted.
  • Note3: A0C00Y00 is a problematic quest for other reasons as well. It's almost impossible to pick up the letter without touching the belongings (which fails the quest) and there's no feedback for this action even if the user intended it.
Last edited by Jay_H on Sat Jun 09, 2018 3:17 am, edited 1 time in total.

User avatar
Jay_H
Posts: 4062
Joined: Tue Aug 25, 2015 1:54 am
Contact:

Re: Classic quest bugs

Post by Jay_H »

Bug report #3:

Code: Select all

_S.02_ task:
	dropped _falseletter3_ at _inn_ saying 1015
	dropped _falseletter1_ at _inn_ saying 1015
	dropped _falseletter4_ at _inn_ saying 1015
	dropped _falseletter2_ at _inn_ saying 1015
Spoiler!
Source:

A0C00Y00

Description of problem:

As with bug #2, this uses a toggle action that prevents any of the four actions from working except for the last one.

Suggestions:

No suggestions. All statements made for #2 apply here.
Interkarma's Notes:

RESOLVED
  • DroppedItemAtPlace now stops processing once parent task triggers. This prevents issue encountered when multiple "dropped item" conditions are used underneath same parent task.
  • Reworked how drop logic is handled so item is able to be successfully dropped when in correct quest location.
Last edited by Jay_H on Sat Jun 09, 2018 3:04 am, edited 1 time in total.

User avatar
Jay_H
Posts: 4062
Joined: Tue Aug 25, 2015 1:54 am
Contact:

Re: Classic quest bugs

Post by Jay_H »

Bug report #4:

Code: Select all

_S.02_ task:
	dropped _falseletter3_ at _inn_ saying 1015
	dropped _falseletter1_ at _inn_ saying 1015
	dropped _falseletter4_ at _inn_ saying 1015
	dropped _falseletter2_ at _inn_ saying 1015
Spoiler!
Source:

A0C00Y00

Description of problem:

Message 1015 does not appear.

Suggestions:

The _S.02_ task does light up so DFU does recognize it's being activated, but 1015 does not appear.
Interkarma's Notes:

RESOLVED
  • Added support for "saying nnnn". Will only be shown once.
Last edited by Jay_H on Sat Jun 09, 2018 3:01 am, edited 1 time in total.

User avatar
Jay_H
Posts: 4062
Joined: Tue Aug 25, 2015 1:54 am
Contact:

Re: Classic quest bugs

Post by Jay_H »

Bug report #5:

Code: Select all

_S.06_ task:
	take talisman from pc saying 1019 
Spoiler!
Source:

A0C00Y11

Description of problem:

Message 1019 does not appear.

Suggestions:

The talisman disappears so DFU does recognize _S.06_ is being activated, but 1019 does not appear.
Interkarma's Notes:

RESOLVED
  • Added support for "saying nnnn". Will only be shown once.
Last edited by Jay_H on Sat Jun 09, 2018 2:53 am, edited 2 times in total.

User avatar
Jay_H
Posts: 4062
Joined: Tue Aug 25, 2015 1:54 am
Contact:

Re: Classic quest bugs

Post by Jay_H »

Bug report #6:

Code: Select all

_S.05_ task:
	end quest saying 1027
Spoiler!
Source:

A0C00Y10

Description of problem:

Message 1027 does not appear.

Suggestions:

Very similar to other bugs previously seen.
Interkarma's Notes:

RESOLVED
  • Added support for "saying nnnn". Will only be shown once.
Last edited by Jay_H on Sat Jun 09, 2018 2:58 am, edited 1 time in total.

User avatar
Jay_H
Posts: 4062
Joined: Tue Aug 25, 2015 1:54 am
Contact:

Re: Classic quest bugs

Post by Jay_H »

Bug report #7:

Code: Select all

	make pc ill with Wizard_Fever 
Source:

A0C00Y11

Description of problem:

The PC is not stricken with the illness.

Suggestions:

This quest action is not yet implemented.

Interkarma's Notes:

RESOLVED
  • Implemented "make pc ill with aDisease" and related Quests-Diseases data table.

User avatar
Jay_H
Posts: 4062
Joined: Tue Aug 25, 2015 1:54 am
Contact:

Re: Classic quest bugs

Post by Jay_H »

Bug report #8:

Code: Select all

	cure Wizard_Fever 
Source:

A0C00Y11

Description of problem:

The PC is not cured of the illness.

Suggestions:

This quest action is not yet implemented.

Interkarma's Notes:

RESOLVED
  • Implemented "cure aDisease" quest action.

User avatar
Jay_H
Posts: 4062
Joined: Tue Aug 25, 2015 1:54 am
Contact:

Re: Classic quest bugs

Post by Jay_H »

Bug report #9:

Code: Select all

	get item _book_ saying 1011
Source:

A0C00Y14

Description of problem:

Message 1011 does not appear.

Suggestions:

Same problem as seen previously.

Interkarma's Notes:

RESOLVED
  • Added support for "saying nnnn". Will only be shown once.
Last edited by Jay_H on Sat Jun 09, 2018 2:55 am, edited 1 time in total.

User avatar
Jay_H
Posts: 4062
Joined: Tue Aug 25, 2015 1:54 am
Contact:

Re: Classic quest bugs

Post by Jay_H »

Bug report #10:

Code: Select all

	give item _book_ to _thief_ 
Source:

A0C00Y14

Description of problem:

Item should be taken from PC and given to enemy, but it remains in player inventory.

Suggestions:

Daggerfall intends this to be taken from the PC, like the "take _____ from pc" action. This quest currently just creates a duplicate item in the enemy's inventory.

Interkarma's Notes:

RESOLVED
  • "give item" will now remove said item player's inventory if they have it..

Locked