Think i found an error in 761
Posted: Sun Aug 18, 2013 10:32 am
frome functions.lua
after compeleting a daily quest i get
error("Invalid argument used with getQuestStatus(): Expected
type 'number' or 'string'")
Code: Select all
function getQuestStatus(_questnameorid)
-- Used when you need to make 3 way decision, get quest,
complete quest or gather quest items.
if (bot.IgfAddon == false) then
error(language[1004], 0) -- Ingamefunctions
addon (igf) is not installed
end
if type(tonumber(_questnameorid)) == "number" then
return RoMScript("igf_questStatus
(".._questnameorid..")")
elseif type(_questnameorid) == "string" then
return RoMScript("igf_questStatus
(\""..NormaliseString(_questnameorid).."\")")
end
error("Invalid argument used with getQuestStatus(): Expected
type 'number' or 'string'")
end
error("Invalid argument used with getQuestStatus(): Expected
type 'number' or 'string'")