QUEST-Tutorial: Scribing Scrolls (fixed)

Post in this forum if you found any bugs with game content.

Moderator: Team Members

Forum rules
READ THE STICKY ON PROPER BUG SUBMISSION FORMAT BEFORE POSTING.
Post Reply
User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

QUEST-Tutorial: Scribing Scrolls (fixed)

Post by Ememjr » Sat Aug 19, 2017 6:01 am

The quest completion book not showing over NPC head when complete

this has been fixed on emu and perseverance
1. the AddQuestStepChat in Makecider function had a ,100 in it( removed it


Original script

Code: Select all

--[[
	Script Name		:	Quests/FrostfangSea/tutorial_learning_to_cook.lua
	Script Purpose	:	Tutorial: Learning to Cook
	Script Author	:	theFoof
	Script Date		:	2013.10.19
	Script Notes	:	

	Zone			:	Frostfang Sea
	Quest Giver		:	Glin Hammerhelm
	Preceded by		:	Tutorial: Countering Problems
	Followed by		:	Tutorial: The Art of Weapons
--]]

function Init(Quest)
	SetQuestFeatherColor(Quest, 2)
	AddQuestStepCraft(Quest, 1, "I need to create some jum jum cider using the recipe the tutor gave me.", 1, 100, "I must follow the tutor's instructions to review the crafting process.", 310, 36399)
	AddQuestStepCompleteAction(Quest, 1, "MadeCider")
end

function Accepted(Quest, QuestGiver, Player)
end

function Deleted(Quest, QuestGiver, Player)
end

function Declined(Quest, QuestGiver, Player)
end

function MadeCider(Quest, QuestGiver, Player)
	UpdateQuestTaskGroupDescription(Quest, 1, "I have created some jum jum cider.")
	SetCompleteFlag(Quest)
	AddQuestStepChat(Quest, 2, "I should return to the tutor with the jum jum cider.", 1, 100, "I should return to the tutor with my work.", 0, GetSpawnID(QuestGiver))
	AddQuestStepCompleteAction(Quest, 2, "CompleteQuest")
end

function CompleteQuest(Quest, QuestGiver, Player)
	GiveQuestReward(Quest, Player)
end

function Reload(Quest, QuestGiver, Player, Step)
	if Step == 1 then
		MadeCider(Quest, QuestGiver, Player)
	end
end
Fixed Script

Code: Select all

--[[
	Script Name		:	Quests/FrostfangSea/tutorial_learning_to_cook.lua
	Script Purpose	:	Tutorial: Learning to Cook
	Script Author	:	theFoof
	Script Date		:	2013.10.19
	Script Notes	:	

	Zone			:	Frostfang Sea
	Quest Giver		:	Glin Hammerhelm
	Preceded by		:	Tutorial: Countering Problems
	Followed by		:	Tutorial: The Art of Weapons
--]]

function Init(Quest)
	SetQuestFeatherColor(Quest, 2)
	AddQuestStepCraft(Quest, 1, "I need to create some jum jum cider using the recipe the tutor gave me.", 1, 100, "I must follow the tutor's instructions to review the crafting process.", 310, 36399)
	AddQuestStepCompleteAction(Quest, 1, "MadeCider")
end

function Accepted(Quest, QuestGiver, Player)
end

function Deleted(Quest, QuestGiver, Player)
end

function Declined(Quest, QuestGiver, Player)
end

function MadeCider(Quest, QuestGiver, Player)
	UpdateQuestTaskGroupDescription(Quest, 1, "I have created some jum jum cider.")
	SetCompleteFlag(Quest)
	AddQuestStepChat(Quest, 2, "I should return to the tutor with the jum jum cider.", 1, "I should return to the tutor with my work.", 0, GetSpawnID(QuestGiver))
	AddQuestStepCompleteAction(Quest, 2, "CompleteQuest")
end

function CompleteQuest(Quest, QuestGiver, Player)
	GiveQuestReward(Quest, Player)
end

function Reload(Quest, QuestGiver, Player, Step)
	if Step == 1 then
		MadeCider(Quest, QuestGiver, Player)
	end
end

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: QUEST-Tutorial: Scribing Scrolls (fixed)

Post by Jabantiz » Sat Aug 19, 2017 12:49 pm

Stuff like this you should be able to fix yourself on the web editor.

User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

Re: QUEST-Tutorial: Scribing Scrolls (fixed)

Post by Ememjr » Sat Aug 19, 2017 1:38 pm

but figured i would post for those others runnign there servers so they could fix theres if needed,
if you dont want this type of thing posted let me know

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: QUEST-Tutorial: Scribing Scrolls (fixed)

Post by Jabantiz » Sat Aug 19, 2017 5:05 pm

Posting for other is fine, in fact I completely missed the "fixed on emu" part so sorry about that.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests