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

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Plugin for opening items?

BanannaKing

New Member
Joined
Dec 16, 2016
Messages
37
I am wondering if there is any plugin out there that could just do something as simple as detect an item in your inventory and then type /use "item name" or, whatever other means to open the item.
I wouldn't mind changing a few lines in a currently existing plugin for a specific item, to make it open the item I want to open, if that would do it. :)

EX: I am running a Firelands trash farming profile on my Feral Druid, who I have as a skinner, and those mobs give "Strange Bloated Stomach" when you skin - and it will end up filling up my bags eventually whilst farming - and they are soulbound/non vendorable. I want to open them so they are not taking up so much space while I am grinding.

Thanks to any and all who reply with any level of useful information!
 
Put this in the profile:
HTML:
		<!-- Open Strange Bloated Stomach  -->
		<CustomBehavior File="UseItem" ItemId="67495" NumOfTimes="100" WaitTime="1500" TerminateWhen="!HasItem(67495)" />
 
Put this in the profile:
HTML:
		<!-- Open Strange Bloated Stomach  -->
		<CustomBehavior File="UseItem" ItemId="67495" NumOfTimes="100" WaitTime="1500" TerminateWhen="!HasItem(67495)" />

Thank you so much! You are awesome!
 
Put this in the profile:
HTML:
		<!-- Open Strange Bloated Stomach  -->
		<CustomBehavior File="UseItem" ItemId="67495" NumOfTimes="100" WaitTime="1500" TerminateWhen="!HasItem(67495)" />



*************************************EDIT************************************
Was messing around with different placements, and figured it out :)
*******************************************************************************


Is there any specific place I should put this? I tried just putting it in?
Tried this:
HTML:
<?xml version="1.0" encoding="UTF-8"?>
<HBProfile>
   Profile Developer: Zojak 
Farm zone: Firelands
Thanks to: EchoTiger, dellza
   <Name>Firelands Multi Profile V0.7 Hardcore</Name>
   <MinFreeBagSlots>2</MinFreeBagSlots>
   <MinDurability>.2</MinDurability>
   <MailGrey>False</MailGrey>
   <MailWhite>false</MailWhite>
   <MailGreen>False</MailGreen>
   <MailBlue>False</MailBlue>
   <MailPurple>false</MailPurple>
   <SellGrey>True</SellGrey>
   <SellWhite>True</SellWhite>
   <SellGreen>True</SellGreen>
   <SellBlue>True</SellBlue>
   <SellPurple>True</SellPurple>
   <ProtectedItems>
      <Item Name="Elementium Lockbox" Entry="68729" />
      <Item Name="Potion of Treasure Finding" Entry="58488" />
      <Item Name="Findle's Loot-A-Rang" Entry="109167" />
   </ProtectedItems>
   <!-- Open Strange Bloated Stomach  -->
   <CustomBehavior File="UseItem" ItemId="67495" NumOfTimes="100" WaitTime="1500" TerminateWhen="!HasItem(67495)" />
   <Vendors>
      <Vendor Name="Naresir Stormfury" Entry="54401" Type="Repair" X="-530.6389" Y="329.559" Z="115.4722" />
   </Vendors>

Not working, says this:
XML Error: Unknown tag "CustomBehavior" (Input: "<CustomBehavior File="UseItem" ItemId="67495" NumOfTimes="100" WaitTime="1500" TerminateWhen="!HasItem(67495)" />") in "HBProfile"! - On line 25
 
Last edited:
Hey, so i did this and have been using it for a while - but it only works once, upon the profile initially loading.
I was wondering if there is any more code I could write in to make it re-occur, or place this code somewhere such that it runs whenever something else happens, like whenever I exit/re-enter the instance, or visit a vendor, etc.
It is nice to have the profile automatically open them when i restart the profile, but my bags still end up filling up and the bot stopping after 8-10 hrs.
 
The code needs to be inside the <While> condition to run each run. I looked at Zojak's profile and you could try and put it in around line 1036. Here's where I suggest putting it:
HTML:
            <MoveTo X="-72.16676" Y="144.2178" Z="44.10285" />
            <MoveTo X="-127.8154" Y="158.1351" Z="45.76446" />
            <MoveTo X="-128.483" Y="144.5744" Z="44.90186" />
            <!-- Open Strange Bloated Stomach  -->
	    <CustomBehavior File="UseItem" ItemId="67495" NumOfTimes="100" WaitTime="1500" TerminateWhen="!HasItem(67495)" />
            <If Condition="Me.Class == WoWClass.DeathKnight &amp;&amp; SpellManager.CanCast(50977)">
               <CustomBehavior File="RunCode" Code="SpellManager.Cast(50842);" />
               <CustomBehavior File="WaitTimer" WaitTime="1500" />
               <CustomBehavior File="RunCode" Code="SpellManager.Cast(50842);" />
            </If>
 
Back
Top