What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Quest not working because of ID

panYama

Community Developer
Joined
Jan 15, 2010
Messages
2,629
Reaction score
49
what can you do with quests that spit out:

Could not create a performable quest objective for objective with ID 24972!

The quest wants to kill mob ID 24991 or something, but It needs to kill 24972.
Is there a way to override HB to kill the mobs still that I want it to?
 
urrrr.... don't you set that in the Quest Definition part of the profile? That's where you define what should be done for the quest. In this case something like:

Objective Type="KillMob" MobId="##" Name="diedie" KillCount="##"
<objective type="KillMob" mobid="24972" name="diedie" killcount="##"></objective>
 
Croga, please stop posting in my threads, I'm not a new developer/coder of profiles. What you just posted are basics. So I kindly ask you to not respond to my topics anymore.
 
Looking in more detail to the mob and quests you're talking about:

MobID 24981 is the mob it turns into after you've killed 24972 and converted it with item 34368. I think you'll need to set it to kill 24972 then use an item on it's corpse.
 
in dutch: zucht... in english: pffff you make me tired.
You apparently don't seem to get the issue.


What it needs to kill:
<vendor Z="2.740118" Y="-6849.763" X="13031.74" Type="Repair" Entry="24972" Name="Erratic Sentry"><vendor Z="2.740118" Y="-6849.763" X="13031.74" Type="Repair" Entry="24972" Name="Erratic Sentry"><objective Type="KillMob" KillCount="5" MobId="24991" QuestId="11525" QuestName="Further Conversions"><objective Type="KillMob" KillCount="5" MobId="24991" QuestId="11525" QuestName="Further Conversions">
HTML:
 <Vendor Name="Erratic Sentry" Entry="24972" Type="Repair" X="13031.74" Y="-6849.763" Z="2.740118" />
</vendor></vendor>
What HB tries to kill:
<objective Type="KillMob" KillCount="5" MobId="24991" QuestId="11525" QuestName="Further Conversions"><objective Type="KillMob" KillCount="5" MobId="24991" QuestId="11525" QuestName="Further Conversions">
HTML:
 <Objective QuestName="Further Conversions" QuestId="11525" Type="KillMob" MobId="24991" KillCount="5" />

The mob he tries to kill is a version you get everytime you use a item after his death.

even with a quest override it doesn't want to kill the erratic since HB spits out an error and doesn't want to start.
 
Yes I know and yes that is what it needs to do but hence my question how can I solve the: Could not create a performable quest objective for objective with ID 24972!
Error it spits out and stops the bot to work, because it simply doesn't want to start doing the quest even tough it has been assigned to do so.


 
Actually.... The "Erratic Sentry", 24972, is what it *needs* to kill, it should definately not be named a Vendor.
The "Converted Sentry", 24981, is what it turns into.

If the quest override doesn't work I'm afraid there's nothing we humble profilists can do about it, it's a core issue.

I'm trying to find a similar quest where the objective is to turn something into something else using an item but can't currently think of anything :(
 
ofcourse I didn't put it in as vendor, but it well hopefully its not a HB issue or atleast overrideable.
 
I've tried a couple of things myself now. I can't reproduce the bot trying to kill 24991 or 24981. I did reproduce the error message....
HTML:
    <Quest Id="11525" Name="Further Conversions">
        <Objective Type="KillMob" MobId="24972" KillCount="5">
            <Hotspots>
                <Hotspot X="12954.78" Y="-6846.688" Z="9.880967" />
            </Hotspots>
        </Objective>
    </Quest>
    
    <QuestOrder>
        <Objective QuestName="Further Conversions" QuestId="11525" Type="KillMob" MobId="24972" KillCount="5" />
    </QuestOrder>
results in:

Could not find objective with ID 24972 in quest Further Conversions
Could not create a performable quest objective for objective with ID 24972!

I don't see anything wrong with my code so I am afraid it's an internal issue.
Please, someone prove me wrong (on the last part preferably. On the first part if need be ;))
 
you can't override the objective tag

you'll have to use a behavior to do whatever you need to do

Collectthings / killuntilcomplete for kill quests
useitemon / combatuseitemon for those types of quests

look at my BlankQO in my SVN (useful stuff folder) for what I use to dev with
 
Last edited:
hi panyama

i think this does not require a kill behavior, it requires the UseItemOn behavior

PHP:
<CustomBehavior File="UseItemOn" QuestId="11525" MobId="24972" ItemId="34368" NumOfTimes="5" WaitTime="6000" Range="5" MobHpPercentLeft="0" CollectionDistance="400" X="XCOORD" Y="YCOORD" Z="ZCOORD" />

The important thing in this case should be MobHpPercentLeft
Maybe the Waittime can be reduced to 1500 or something else
In the posted code u only have to replace the Coords with a Coord near the mobs, it searches its target by itself, they only have to be in range (collectiondistance can be lowered i think)

Dunno if this works, but it should do exactly what u need.
Maybe u have to raise MobHpPercentLeft to 1
If this is not working try this
PHP:
<CustomBehavior File="UseItemOn" QuestId="11525" MobId="24972" ItemId="34368" NumOfTimes="5" WaitTime="6000" Range="5" MobState="Dead" CollectionDistance="400" X="XCOORD" Y="YCOORD" Z="ZCOORD" />

In this case MobHpPercentLeft is replaced by MobState (Dead), this should fit ur needs too

pls let me know if i'm right or wrong :) maybe i need it later
 
Croga, please stop posting in my threads, I'm not a new developer/coder of profiles. What you just posted are basics. So I kindly ask you to not respond to my topics anymore.

Not to sound cocky, but I'm a quite well known profile maker on the forums just have been absent for 5 months so forgot a few things here and there and haven't seen a few new attributes.
Back in the days they where topnotch, so looking at others yeah nice idea but preferably do it my own way so I learn to perfect them and not release a half assed profile.

Did I miss something? Anyways...

PHP:
<CustomBehavior File="CollectThings" CollectUntil="QuestComplete" QuestId="11525" MobId="24972">
                        <Hotspot goes here>
                        <Hotspot goes here>
                        <Hotspot goes here>
                        <Hotspot goes here>
</CustomBehavior>

Win, problem solved. That's for kill quests.

In your situation though. Look at the post above.
 
Last edited:
ill go back and code it in and see if it works.
 
none of the above things work, or only half do the job by going to the mob not killing it and trying to use the item which can't be used because there not dead.
Isn't there a way to just say kill this guy x y z, with radius 100 yards, times: 1 and then after that use the itemon Behavior?
 
none of the above things work, or only half do the job by going to the mob not killing it and trying to use the item which can't be used because there not dead.
Isn't there a way to just say kill this guy x y z, with radius 100 yards, times: 1 and then after that use the itemon Behavior?

PHP:
<While Condition="HasQuest(11525) &amp;&amp; !IsQuestCompleted(11525)">

<CustomBehavior File="InteractWith" MobId="24972" NumOfTimes="1" WaitTime="1000" X="XCOORD" Y="YCOORD" Z="ZCOORD" />

<CustomBehavior File="UseItemOn" MobId="24972" ItemId="34368" NumOfTimes="1" WaitTime="6000" Range="2" MobState="Dead" CollectionDistance="400" X="XCOORD" Y="YCOORD" Z="ZCOORD" />
</While>

Try that.

(Make sure all the Ids etc are right)
 
Last edited:
I'll go there and test it then, see if it works.
 
PHP:
<While Condition="HasQuest(11525) &amp;&amp; !IsQuestCompleted(11525)">

<CustomBehavior File="InteractWith" MobId="24972" NumOfTimes="1" WaitTime="1000" X="XCOORD" Y="YCOORD" Z="ZCOORD" />

<CustomBehavior File="UseItemOn" MobId="24972" ItemId="34368" NumOfTimes="1" WaitTime="6000" Range="2" MobState="Dead" CollectionDistance="400" X="XCOORD" Y="YCOORD" Z="ZCOORD" />
</While>

Try that.

(Make sure all the Ids etc are right)

works, thanks, problem solved.
 
Back
Top