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

How to.... in XML

odarn

New Member
Joined
Jun 20, 2013
Messages
378
Reaction score
2
I would really appreciate it if somebody showed me how to write these pieces of xml code. Thank you. (I might have more coming up though, so be warned!)
1) how to get rid of items if the bags are full during a quest quest, and i don't want the toon to go find a vendor?
2) how to stop the bot if i hit a key?
3) How to fly to... Stormwind or elsewehere?
 
i remember seeing a section of 'useful stuf' in kicks mega pack. look around in there for the fly to stuff

also, are you writing for a grind profile, quest order, plugin, professionbuddy profile? i think it makes a difference. also, go to the developer section of the forums, there are some nice starter guides there.
 
I would really appreciate it if somebody showed me how to write these pieces of xml code. Thank you. (I might have more coming up though, so be warned!)
1) how to get rid of items if the bags are full during a quest quest, and i don't want the toon to go find a vendor?
2) how to stop the bot if i hit a key?
3) How to fly to... Stormwind or elsewehere?

Hi, Odarn,

1. <CustomBehavior File="DeleteItems" Ids="12345,23456,34567" />

2. [Plugin] HB Toggle - plugin that toggles HB on/off at the press of a keybind

3. <CustomBehavior File="FlyTo" DestName="Stormwind" X="123.45" Y="234.56" Z="345.67" />

cheers,
chinajade
 
@Chinajade
Great! Many thanks! The number of threads in the dev forum is huge! Not easy for a newbie to find the right info.
And while you are still feeling talkative (writative?), how do I find out what I have in my bags?
 
Great! Many thanks! The number of threads in the dev forum is huge! Not easy for a newbie to find the right info.
And while you are still feeling talkative (writative?), how do I find out what I have in my bags?

Hi again, Odarn,

Me.CarriedItems is a list of WoWItem. From this, you can build LINQ expressions. For instance, to get your hearthstone:

var hearthstone = Me.CarriedItems.FirstOrDefault(i => i.Entry == 6948);

cheers,
chinajade
 
Hi again, Odarn,

Me.CarriedItems is a list of WoWItem. From this, you can build LINQ expressions. For instance, to get your hearthstone:

var hearthstone = Me.CarriedItems.FirstOrDefault(i => i.Entry == 6948);

cheers,
chinajade
euh, thanks? Can i get back to you on on the linqo thing after i have graduated?
 
GLad i found this thread. I'm planning to do some learning over the weekend. I want to write a few profiles, and haven't a clue where to start. The most I know how to do so far is take an existing profile that's Cata and change the MaxLevel to 91 ;)
 
I want to write a few profiles, and haven't a clue where to start. The most I know how to do so far is take an existing profile that's Cata and change the MaxLevel to 91 ;)

Hi, HBNewbb,

Learning from the works of others is a very solid technique. To get you started, you may find this helpful:

Specific questions should be posed in the Developer forum. The contributors there are not going to teach you basics like C#, or XML. But, they are usually glad to answer questions for people that have made an ardent effort to learn.

cheers & good luck with your endeavor,
chinajade
 
FlyTo is for using a flying mount, I would like to taxi from Kharanos to eastvale logging camp, how do i do that? Giving a pickup command for a quest in Goldshire does not seem to help. Different zones?
 
Back
Top