in the new map is a daily quest calles "Adlerjagd" in german. I dont know the name of the quest for english clients, maybe "Eagle hunt" or something like this. The quest is to kill an eagle witch drops a feather. If you accept daily and public quests it drops two feathers, so you can do the dailies in half the time. But the bot is not able to accept both quests. I used the following test:
Code: Select all
<!-- # 1 --><waypoint x="21154" z="38279"><![CDATA[
print ('0: public: '..getQuestStatus (427029)..' - daily: '..getQuestStatus (427019))
if getQuestStatus (427019)=='not accepted' then
player:target_NPC (123313)
AcceptQuestByName (427019)
end
print ('1: public: '..getQuestStatus (427029)..' - daily: '..getQuestStatus (427019))
if getQuestStatus (427029)=='not accepted' then
player:target_NPC (123313)
AcceptQuestByName (427029)
end
print ('2: public: '..getQuestStatus (427029)..' - daily: '..getQuestStatus (427019))
]]></waypoint>
------
0: public: not accepted - daily: not accepted
Wir versuchen den NPC 123313 zu finden:
Der NPC 'Kaimo Bleigh' wurde erfolgreich ausgewählt. Wir öffnen das Dialogfenster.
Quest accepted: Adlerjagd
1: public: not accepted - daily: incomplete
Wir versuchen den NPC 123313 zu finden:
Der NPC 'Kaimo Bleigh' wurde erfolgreich ausgewählt. Wir öffnen das Dialogfenster.
Quest already accepted: Adlerjagd
2: public: not accepted - daily: incomplete
using another way it gives another wrong result:
Code: Select all
<!-- # 1 --><waypoint x="21154" z="38279"><![CDATA[
local questName = GetIdName (427029)
print ('0: public: '..getQuestStatus (questName,'public')..' - daily: '..getQuestStatus (questName,'daily'))
if getQuestStatus (questName,'public')=='not accepted' then
player:target_NPC (123313)
AcceptQuestByName (questName,'public')
end
print ('1: public: '..getQuestStatus (questName,'public')..' daily: '..getQuestStatus (questName,'daily'))
if getQuestStatus (questName,'daily')=='not accepted' then
player:target_NPC (123313)
AcceptQuestByName (questName,'daily')
end
print ('2: public: '..getQuestStatus (questName,'public')..' daily: '..getQuestStatus (questName,'daily'))
------
0: public: not accepted - daily: not accepted
Wir versuchen den NPC 123313 zu finden:
Der NPC 'Kaimo Bleigh' wurde erfolgreich ausgewählt. Wir öffnen das Dialogfenster.
Quest accepted: Adlerjagd
1: public: incomplete - daily: incomplete
2: public: incomplete - daily: incomplete
--> both quests show "incomplete", but only the public quest is accepted
The only workaround at this time is to use AcceptAllQuests (). This is ok at the moment, because the npc only has this two quests. But with other npcs with more quests this is not really a good solution. I didnt find the point where to search for the bug. If I understand it right its seems to be a problem directly in the igf-scripts. Any ideas?
greetings
Celesteria