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

Buy a specific item from vendor(npc)

fancyfanta

New Member
Joined
Nov 14, 2011
Messages
82
Reaction score
0
Hi,
I searched whole forum but i couldn't find a result about my question.
I wanna make a profile; and it'll travel vendor to vendor. And buy a specific item.
Can u give me an code example for buy specific item.

tyvm
 
You should take a look at PB - it'll make this kind of tasks very easy.
 
PHP:
    <If Condition="!HasItem(22777) &amp;&amp; !IsQuestCompleted(9067) &amp;&amp; HasQuest(9067)">
        <CustomBehavior File="InteractWith" QuestId="9067" ObjectType="Npc" MobId="16444" NumOfTimes="1" BuyItemId="22777" WaitTime="1000" CollectionDistance="10" X="8731.693" Y="-6656.498" Z="70.58622" />
    </If
 
PB is ProfessionBuddy. You can find more info in Featured Plugins.
Another way to achieve it is what laria posted. This is implemented in a quest profile and using the quest bot.
I do think that PB is more friendly to new users though as you don't have to fiddle around with any code - but simply just drag actions into the profile and fill out the info.
 
PHP:
    <If Condition="!HasItem(22777) && !IsQuestCompleted(9067) && HasQuest(9067)">
        <CustomBehavior File="InteractWith" QuestId="9067" ObjectType="Npc" MobId="16444" NumOfTimes="1" BuyItemId="22777" WaitTime="1000" CollectionDistance="10" X="8731.693" Y="-6656.498" Z="70.58622" />
    </If
Hi, tyvm.
Can you give an example with whole code? If it is possible? Then I can improve it easily and share to forum.
And which bot i should choose to run it
 
This code part is from my bloodelf quest profile so it should be questbuddy ;)
 
why does nobody read the WIKI or use the search feature? seems like all newbs joining the forums and flood them with their newb questions :confused:
 
why does nobody read the WIKI or use the search feature? seems like all newbs joining the forums and flood them with their newb questions :confused:
sorry but why changing my forum's subject? im just looking for help. No for waste my time.
Did you read my first note before write that? Or just going to do lots of posts?
 
I did read your post and from what i can tell you didn't even bother searching and or reading.
 
I can agree that there are coming a higher number of posts in developer forums which doesn't belong here. But these forums are rather big, and I'd rather point newcomers in the right direction instead of flaming them for doing it wrong.
 
Back
Top