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

All available profile tags

Nesox

Well-Known Member
Joined
Jan 15, 2010
Messages
1,563
Reaction score
48
List of all available profile tags.

Every single tag has these attributes: "questId" "stepId" when writing a profile for a specific quest use these, you can find the quest/stepId in the "Info Dumping" page.
Note: There is ABSOLUTELY no reason to add <If condition="IsActiveQuest(123) / IsActiveQuestStep(1)" > around a tag that already has the questId/stepId filled in.

Common Tag Attributes - ALL tags have these base attributes, not all are required

  • "questId" - required - the Quest ID of the current quest, or, "1" for any quest - available from Info Dumping tab.
  • "stepId" - optional - the Step Id of the current Quest Step - available from Info Dumping tab.
  • "statusText" - optional - sets the status text bar at the bottom of the Demonbuddy main window
  • "ignoreReset" - optional - advanced - forces the tag to stay "done" even when the profile requests a tag resets (e.g. during a <While /> tag)



AcceptConfirmation Tag


  • Clicks 'OK' on confirmation dialog boxes
Attributes
  • "pauseTime" - the duration in milliseconds to wait for the dialog to appear prior to clicking OK
PHP:
<AcceptConfirmation questId="1" pauseTime="1000" />

AdvanceConversation Tag


  • Advances a Player/NPC conversation during questing
Attributes
  • "numberOfTimes" - the number of "conversation steps" to advance
PHP:
<AdvanceConversation questId="1" numberOfTimes="20" />

ExploreArea Tag.


  • Explores a dungeon or static area
Attributes
  • "until" - Decides when we are done when the tag, acceptable values: [required]
    FullyExplored - Keep exploring until the whole area is explored.
    ExitFound - Keep exploring until the exit is found.
    ObjectFound - KeepExploring until a certain object is found

  • "exitNameHash" - the name hash of the exit if until is used with ExitFound, can be found in the info dumping tab in the log after pressing Dump Mapmarkers. [optional]
  • "boxSize" - The size of the boxes the tsp uses when planning routes, can be visualized in the the mapviewer
  • "boxTolerance" - Tolerance for how many walkable cells a node needs to be added to the nodelist used by the tsp.
  • "actorId" - Id of the object to find, can be used in conjunction with the ObjectFound option together with the until attribute. [optional]

Example Usage.
PHP:
<ExploreArea  questId="72095" stepId="11" boxTolerance="0.30" boxSize="15" until="ExitFound" exitNameHash="-816183389" statusText="Searching for deckard cain!" />

ForceTownRun tag

  • Forces a town run (regardless of bag-full status)
Attributes
  • "reason" - the reason we're running a town run (will show up in logs)
PHP:
<ForceTownRun questId="1" reason="Hungry" />

LeaveGame Tag.
  • Leaves the game
Example Usage.
PHP:
<LeaveGame reason="Run is done" />


LoadProfile Tag.
  • Loads a profile
Attributes
  • "profile" - Name of the profile to load, "file" can also be used [optional]

  • "loadRandom" - True/False, if set to True it will load a random profile from a list, see example below. [optional]

Example Usage.
PHP:
Loading a specific profile
 <LoadProfile profile="A1_ShatteredCrown.xml" />

Loading a random profile:
<LoadProfile loadRandom="True">
  <Profiles>
    <Profile>Profile1.xml</Profile>
    <Profile>Profile2.xml</Profile>
    <Profile>Profile3.xml</Profile>
    <Profile>Profile4.xml</Profile>
  </Profiles>
</LoadProfile>


LogMessage Tag.
  • Print a log message
Attributes

  • "message" - Messaage to be written to the log, "output" can also be used. [required]

  • logLevel - LogLevel, this is the same as the LogLevel option in the settings tab, Diagnostic, Normal etc. [optional]


Example Usage.
PHP:
<LogMessage output="I'm a little teacup!" logLevel="Verbose" />
<LogMessage message="short and stout!" />
<LogMessage output="here is my handle!" logLevel="Diagnostic" />


MoveTo Tag.
  • Moves your character to a point in game
Attributes
  • "x" - X coordinate
  • "y" - Y coordinate
  • "z" - Z coordinate
  • "pathPrecision" - Distance from you to the destination before the tag reports as done
  • "straightLinePathing" - True if the bot should attempt to just click the position without any patfining, eg; just click it.
  • "unsafeRandomDistance" - Get a random distance 0-360 degrees within the "max random distance" specified.
  • "name" Name of the destination used by the navigator.

Example Usage.
PHP:
<MoveTo questId="1" x="117.8131" y="103.533" z="0.1000004" />


SkipCutscene Tag.
  • Skips a cut-scene

Example Usage.
PHP:
<SkipCutscene questId="1" />


UseObject Tag.
  • Interacts with an ingame object, can be used for taking portals, clicking anything that needs some clicking!
Attributes
  • "x" - X coordinate of the object you want to use
  • "y" - Y coordinate of the object you want to use
  • "z" - Z coordinate of the object you want to use
  • "interactRange" - Range at which you can click this object.
  • "isPortal" - Set this to "True" for portals, "False" otherwise.
  • "destinationWorldId" - Only valid for when isPortal is "True" the destination world id that the portal leads to, can be found in the Info Dumping tab.

Example Usage.
PHP:
<UseObject questId="1" x="2058.653" y="2476.354" z="26.32902" actorId="176007" isPortal="True" destinationWorldId="106746" />


UsePower Tag.
  • Uses a power ( cast a spell )
Attributes
  • "x" - X coordinate where the spell should be cast, if not a self cast or AoE spell.
  • "y" - Y coordinate where the spell should be cast, if not a self cast or AoE spell.
  • "z" - Z coordinate where the spell should be cast, if not a self cast or AoE spell.
  • "powerId" - Id of the power to use ( will be provided in another thread )

Example Usage.
PHP:
<UsePower questId="1" powerId="95572" />


UseTownPortal Tag.
  • Casts a town portal

Example Usage.
PHP:
<UseTownPortal questId="1" />


UseWaypoint Tag.
  • Uses a waypoint
Attributes
  • "x" - X coordinate of the waypoint.
  • "y" - Y coordinate of the waypoint.
  • "z" - Z coordinate of the waypoint.
  • "waypointNumber" - Number of the destination waypoint. This can be retrieved by using a waypoint then pressing "Dump RActors" check the log for "Waypoint Number: XX" this is the number you are looking for.

Example Usage.
PHP:
<UseWaypoint questId="1" x="2981.229" y="2834.629" z="24.90366" actorId="223757 " waypointNumber="4" />



WaitTimer Tag.
  • Makes the bot wait for X milliseconds
Attributes
  • "waitTime" - Amount of time you want the bot to wait. [required]

Example Usage.
PHP:
<WaitTimer questId="1" waitTime="500" />



WaitWhile Tag.
  • Makes the bot wait while a certain condition is being fulfilled
Attributes
  • "condition" - The condition to use [required]

Example Usage.
PHP:
<WaitWhile questId="1" condition="not Me.IsInTown />



WriteReport Tag.
  • Writes a report on how many rares, legendary, magic, gold, etc. items you have. ( only useful for our third party analysis tool wich will be avaible later. )
Example Usage.
PHP:
<WriteReport />



TalkTo Tag.
  • Moves to and talks to an npc automatically skips any conversation.
Attributes
  • "x" - X coordinate of the waypoint.
  • "y" - Y coordinate of the waypoint.
  • "z" - Z coordinate of the waypoint.
  • "actorId" - Id of the actor you want to talk to. [required]


Example Usage.
PHP:
<TalkTo questId="72095" stepId="45" x="73.74377" y="68.02705" z="0.1" actorId="203030" />

ToggleTargeting Tag.

  • Toggles looting and/or combat on or off. Also sets looting and combat range.
Attributes

  • "combat" - True or False: enable/disable combat
  • "looting" - True or False: enable/disable looting
  • "killRadius" - set the range for combat
  • "lootRadius" - set the range for looting


PHP:
      <ToggleTargeting questId="1" combat="False" looting="True" killRadius="90" lootRadius="90" />
 
Last edited by a moderator:
nice nice! I've waited for this! There's currently nothing to support randomized levels - am I correct? Also, could UseObject be used to destroy barricades? Or is it "just" a wrapper of the interact action through the api, cuz I've tried that with a plugin and that didn't work. UsePower could maybe be helpful though, but what happens if that power isn't currently in the actionbar?
 
nice nice! I've waited for this! There's currently nothing to support randomized levels - am I correct? Also, could UseObject be used to destroy barricades? Or is it "just" a wrapper of the interact action through the api, cuz I've tried that with a plugin and that didn't work. UsePower could maybe be helpful though, but what happens if that power isn't currently in the actionbar?

We added destroying barricades yesterday, if it's not working it's a bug please provide a log.
Log should say something like "Kicking in barricade BARRICADE NAME"
 
We added destroying barricades yesterday, if it's not working it's a bug please provide a log.
Log should say something like "Kicking in barricade BARRICADE NAME"
It doesn't, and I've made a thread about it, and I've made a post in the release thread, even with a video to show it.
I can turn on diagnostical logging and provide it to you if you want?

EDIT: Here's my thread: http://www.thebuddyforum.com/demonbuddy-forum/54220-how-get-past-barricades.html#post549645 (includes log)

And here's my posts in main thread (after you pushed your barricade smashing update)
1: http://www.thebuddyforum.com/demonb...-demonbuddy-release-thread-34.html#post550167
2: http://www.thebuddyforum.com/demonb...-demonbuddy-release-thread-37.html#post551989
3: http://www.thebuddyforum.com/demonb...-demonbuddy-release-thread-38.html#post552380
4: http://www.thebuddyforum.com/demonb...-demonbuddy-release-thread-38.html#post552408 (with video)
5: http://www.thebuddyforum.com/demonb...-demonbuddy-release-thread-39.html#post553060

And others reported it aswell:
1: http://www.thebuddyforum.com/demonb...-demonbuddy-release-thread-38.html#post552418
The other mentions of it are in my thread linked above, or in my profile thread (which I don't expect you to read so I'm not gonna bother linking those)
 
Last edited:
Alright - edited my post above with links to where I mentioned the bug with barricades :)

Oh - and feel free to delete my posts here when you're done with them, as they're kinda off-topic
 
So how about condition="me.IsInTown" and the likewise operations can u elaborate on those?
 
This is awesome - THANK YOU! The precision tag has been exactly what I have been looking for - this combined when with the bot executing MoveTo Tags faster will make for buttery smooth profiles.
 
we need a Force combat tag, for quest events where you can not actually interact with the NPC's For example NPC's that are friendly then turn hostile, bot ignore's them and goes onto the next tag in the profile. Also need a Skip conversation tag for Events with no interaction. And Nesox can you PM me your email or delete some of your PM's need to chat about a problem that's kind of difficult to explain i guess?
 
talkto is working? i left out the moveto tag and it seems bugged?
 
So how about condition="me.IsInTown" and the likewise operations can u elaborate on those?

For Conditions, Me is a DiaActivePlayer
DiaActivePlayer has these functions and variables:

Code:
HotbarPowerIds: List< SNOPower >
KnownSkills: List< ActiveSkillEntry >
KnownTraits: List< TraitEntry >

GetAllBuffs(): IEnumerable< Buff >
GetAllDebuffs(): IEnumerable< Buff >

IsInTown: bool
HasBuff( int id ): bool
HasDebuff( int id ): bool
UsePower( SNOPower power, Vector3 pos, int worldId=-1, int powerType, int targetACDGuid=-1): bool

NumBackpackSlots: int
NumSharedStashSlots: int

SetActiveSkill( SNOPower power1, SNOPower power2, SNOPower power3 ): void
SetTraits( SNOPower power1, SNOPower power2, SNOPower power3 ): void
UseTownPortal(): void

Before I post more info...
Am I allowed to post these info? If not please delete.
I did not see any guidelines on what I can and cannot post.
If this is allowed to post, I'll post the SNOPower Enumeration if requested.
 
We need the ability to switch some settings such as Loot Radius and Kill Radius on the profile, maybe an option to choose to destroy objects or not could also be helpful.
 
What about SkipCutscene tag? Do we need to insert wait timer before and after?
 
we need a Force combat tag, for quest events where you can not actually interact with the NPC's For example NPC's that are friendly then turn hostile, bot ignore's them and goes onto the next tag in the profile. Also need a Skip conversation tag for Events with no interaction. And Nesox can you PM me your email or delete some of your PM's need to chat about a problem that's kind of difficult to explain i guess?

Any work around on this ?
 
Thank you for posting the commands.

I'm wondering is there a way to have DemonBuddy load a different Profile at the end of another.

For example on my current Profile I'm writing at the end I have;
Code:
 <UseWaypoint questId="1" x="1161.856" y="687.0329" z="0.1" levelArea="1999503360" actorId="6442 " waypointNumber="0" />
	<LeaveGame reason="Task Completed" />

But to include after something to the effect of loading a different Profile after this one is finished?

I hope it makes sense.
 
If Else sentences please...
And Exists not Exists...

I would like to add this to Sarkoth profile. After IfExists condition is checked for Cellar.
If it doesn't exits i want it to move to a safe place before using town portal.

I've tried with:
PHP:
<If condition="ActorNotExistsAt(176007, 2059.629, 2478.667, 27.02374, 15)">
and
PHP:
<Else > move to bla bla bla </Else>

Noone working for me :/
 
Last edited:
Back
Top