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

Proper code for opening item, Like crates?

Ruinit

Member
Joined
Nov 1, 2010
Messages
992
Reaction score
4
Trying to edit a questing profile and for some reason it will not open the crate. Used a profile editor but still no luck, any help would be great. Here is what I am trying to complete.


PickUp QuestName="Forged of Shadow and Flame" QuestId="25575" GiverName="Jordan Olafson" GiverId="40834" />
Objective QuestName="Forged of Shadow and Flame" QuestId="25575" Type="KillMob" MobId="40858" KillCount="10" />
TurnIn QuestName="Forged of Shadow and Flame" QuestId="25575" TurnInName="Jordan Olafson" TurnInId="40834" />
 
Last edited:
click "active quests list" in the 3rd tab of HB, you'll have to fill out the quest override with the "collectfrom" to be:

PHP:
<CollectFrom>
     <Gameobject Name"Abc" Id"#" />
</CollectFrom>

if it's still having trouble finding it, add a hotspot

You can get the gameobject either from wowhead, or use CnG's Dev Tools plugin
 
click "active quests list" in the 3rd tab of HB, you'll have to fill out the quest override with the "collectfrom" to be:

PHP:
<CollectFrom>
     <Gameobject Name"Abc" Id"#" />
</CollectFrom>

if it's still having trouble finding it, add a hotspot

You can get the gameobject either from wowhead, or use CnG's Dev Tools plugin

Yea that's the other problem, I can't get the itemid on "Twilight Arms Crates" supposed to crush them not collect anything btw
 
Last edited:
Yea that's the other problem, I can't get the itemid on "Twilight Arms Crates" supposed to crush them not collect anything btw

you can get the objext id of anything in the area by setting HB in Instancebuddy mode click bot settings then on lower left click scripting tools then click objects up top that will give you all the info about an object you need.
now by opening Twilight Arms Crates you kill/crush it right? that means you would need to use a interactwith behavior if im not mistaken
 
you can get the objext id of anything in the area by setting HB in Instancebuddy mode click bot settings then on lower left click scripting tools then click objects up top that will give you all the info about an object you need.
now by opening it you kill/crush it right? that means you would need to use a interactwith behavior if im not mistaken

exactly, CB Interactwith

PHP:
		<PickUp QuestName="Re-Cursive" QuestId="11712" GiverName="Jinky Wingnut" GiverId="25747" />
			<If Condition="HasQuest(11712)" >
				<CustomBehavior File="UseItemOn" QuestId="11712" ObjectType="Npc" MobId="25814" ItemId="34973" NumOfTimes="20" WaitTime="6000" CollectionDistance="1000" X="4152.145" Y="5133.038" Z="14.36886" />
			</If>

or

PHP:
		<Pickup QuestName="Hatching a Plan" QuestId="11936" GiverName="Raelorasz" GiverId="26117" GiverType="NPC" />
			<Objective QuestName="Hatching a Plan" QuestId="11936" Type="CollectItem" CollectCount="5" ItemId="35586" /> <!-- Get 5 Frozen Axes from mobs -->
			<If Condition="HasQuest(11936)" >
				<!-- I didn't use this, I used IW instead
				<CustomBehavior File="UseItemOn" QuestId="11936" ObjectType="GameObject" MobId="188133" ItemId="35586" NumOfTimes="5" WaitTime="1000" CollectionDistance="2000" X="3800.385" Y="6941.689" Z="108.1623" />
				-->
				<CustomBehavior File="InteractWith" QuestId="11936" ObjectType="Gameobject" MobId="188133" NumOfTimes="5" CollectionDistance="1000" X="3800.385" Y="6941.689" Z="108.1623" />
			</If>
			<Objective QuestName="Keep the Secret Safe" QuestId="11914" Type="CollectItem" CollectCount="5" ItemId="35493" /> <!-- While we are here, collect 5 essences from mobs -->
		<TurnIn QuestName="Hatching a Plan" QuestId="11936" TurnInName="Raelorasz" TurnInId="26117" />
 
Last edited:
you can get the objext id of anything in the area by setting HB in Instancebuddy mode click bot settings then on lower left click scripting tools then click objects up top that will give you all the info about an object you need.
now by opening Twilight Arms Crates you kill/crush it right? that means you would need to use a interactwith behavior if im not mistaken

Yes that does work but box has no idtem id I guess. Gives me a 4 digit displayid and a entry number only, Prolly in over my head but the grinding just seems to risky right now.
 
Yes that does work but box has no idtem id I guess. Gives me a 4 digit displayid and a entry number only, Prolly in over my head but the grinding just seems to risky right now.

the Entry id would be the object id if you click on the item in the list look up top in the 2nd space it will show something like <UseObject Name="Corki's Prison" ID="182350" /> thats is ID or from list Entry
 
Yes that does work but box has no idtem id I guess. Gives me a 4 digit displayid and a entry number only, Prolly in over my head but the grinding just seems to risky right now.

The Entry is the Object id, if you click on the object in the list you will notice in the 2nd box on top it shows<useobject name="Corki's Prison" id="182350"> that both entry and ID are object id it will be like </useobject>
PHP:
<UseObject Name="Corki's Prison" ID="182350" />
 
The Entry is the Object id, if you click on the object in the list you will notice in the 2nd box on top it shows<useobject name="Corki's Prison" id="182350"> that both entry and ID are object id it will be like </useobject>
PHP:
<UseObject Name="Corki's Prison" ID="182350" />

Used this I still can't get it to work, How about making a nice 80-85 questing profile like your 1-60 :)

PHP:
<UseObject Name="Twilight Arms Crate" ID="203066" />
 
Used this I still can't get it to work, How about making a nice 80-85 questing profile like your 1-60 :)

PHP:

you would still have to use the interact custom behavior like Kickazz pointed out i was just showing you how to get the object ID =P

I have a lot of projects going on atm, im working on doing a full set of 1-85 so keep ya head up =P
</useobject>
 
Used this I still can't get it to work, How about making a nice 80-85 questing profile like your 1-60 :)

PHP:
<UseObject Name="Twilight Arms Crate" ID="203066" />

use this:

PHP:
<If Condition="HasQuest(25575)" >
				<CustomBehavior File="InteractWith" QuestId="25575" ObjectType="Gameobject" MobId="203066" NumOfTimes="20" CollectionDistance="1000" X Y Z />
				<Objective />
</If>

Make sure you fill out the X Y Z /> with a point ... You sometimes need the objective, sometimes you don't. I generally keep it there unless it gives me problems.

Yes, keep it at 20 and it will stop interacting at 10, I always set higher "just in case"
 
PHP:
<CustomBehavior File="InteractWith" QuestId="25491" ObjectType="Gameobject" MobId="202884" NumOfTimes="10" CollectionDistance="1000" />

Ok I used this but I still get error :( This quest requires you to click on soil mound on the ground and remove it's contents.

Exception thrown in CustomBehavior object for tag:
<CustomBehavior File="InteractWith" QuestId="25491" ObjectType="Gameobject" MobId="202884" NumOfTimes="10" CollectionDistance="1000" />
make sure the tag has all required attributes and try again.
Exception has been thrown by the target of an invocation.
Honorbuddy stopped
 
Back
Top