Bug 443: (zippyzee) I cannot examine the Gateway D...
Moderators: Community Managers, Developers
Re: Bug 443: (zippyzee) I cannot examine the Gateway D...
Ok. Sorry to be so dim about this. I keep focusing on the wrong part of this problem, getting the gateway disc confused with the mysterious device.
I had changed all the mobs in Gai's Nousa to use the same script to handle giving out the gateway disc whenever needed. When I changed the hobgoblin warrior to use that script I left out the drop, apparently, although there has been some script editing recently **cough** that introduced other errors into this script that I have already fixed, so I am not quite ready to say that it was all my fault. I'm at home so I can't see what my last clean private version had on it.
In any case, Xinux, if you don't mind please re-associate the hobgoblin warrior with his regular script (HobgoblinWarrior.lua) that will drop the correct "mysterious device" as needed, and some time I'll go back and fix all this up so the other hobgoblins can also drop it as needed. I don't think the fire imps are supposed to drop it, so I will need to split up my combined scripts between those for hobgoblins and those for fire imps.
My apologies for not digging deep enough but I did not have enough time over the last few days to be able to actually log in and do my own testing. Lesson learned. Trying to problem solve from looking only at scripts did not work out well...
I had changed all the mobs in Gai's Nousa to use the same script to handle giving out the gateway disc whenever needed. When I changed the hobgoblin warrior to use that script I left out the drop, apparently, although there has been some script editing recently **cough** that introduced other errors into this script that I have already fixed, so I am not quite ready to say that it was all my fault. I'm at home so I can't see what my last clean private version had on it.
In any case, Xinux, if you don't mind please re-associate the hobgoblin warrior with his regular script (HobgoblinWarrior.lua) that will drop the correct "mysterious device" as needed, and some time I'll go back and fix all this up so the other hobgoblins can also drop it as needed. I don't think the fire imps are supposed to drop it, so I will need to split up my combined scripts between those for hobgoblins and those for fire imps.
My apologies for not digging deep enough but I did not have enough time over the last few days to be able to actually log in and do my own testing. Lesson learned. Trying to problem solve from looking only at scripts did not work out well...
Re: Bug 443: (zippyzee) I cannot examine the Gateway D...
Ok it is dropping now and changed the script just a little bit. If for some reason a person doesn't pickup the quest The Village and they go and turn in the An Odd Treasure quest and then pickup the quest The Village they won't be able to get another Mysterious Device to meet the requirement of that quest.
By adding the check for QuestCurrent The village you completely fix that issue.
By adding the check for QuestCurrent The village you completely fix that issue.
Code: Select all
--[[
Script Name : Spawns/IsleofDawn/HobgoblinWarrior.lua
Script Purpose : Script for Hobgoblin Warrior (in Gai's Nousa)
Script Author : zippyzee
Script Date : 2016/02/16
--]]
-- Local variables go here
local an_odd_treasure = 7453
local mysterious_device = 1419351
local gateway_disc = 1419352
local gateway_termination = 7454
local the_village = 7452
-- local vanguard_quest_name = [quest_id]
function spawn(Npc)
end
function death(Npc, Player)
-- If player does not have the quest "An Odd Treasure" and doesn't have the item "Mysterious Device", add it to the loot
SendMessageToPlayer(Player, "Checking for quest An Odd Treasure")
if QuestEligible(Player, an_odd_treasure) and not HasItem(Player, mysterious_device, 1) and QuestCurrent(Player, the_village) then
SendMessageToPlayer(Player, "Adding mysterious_device to loot")
AddLoot(Npc, mysterious_device, 1)
end
-- If player is on the quest "Gateway Termination" and does not have a disc, then include in loot
if QuestCurrent(Player, gateway_termination) then
if not HasItem(Player, gateway_disc) then
AddLoot(Npc, gateway_disc)
end
end
end
Re: Bug 443: (zippyzee) I cannot examine the Gateway D...
Very good. I had not run through all the possible permutations for this quest, but it certainly has been a pain in the rear. Hopefully we will get it settled. I appreciate the help.
-
Starcrusher
- Posts: 267
- Joined: Sun Feb 22, 2015 9:23 pm
- Location: Southern Oregon
Re: Bug 443: (zippyzee) I cannot examine the Gateway D...
Yeah I am guilty of at least part of that one. It seems to be working now.
Re: Bug 443: (zippyzee) I cannot examine the Gateway D...
Tested again ... It works ! Grats everybody