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
AcceptConfirmation Tag
AdvanceConversation Tag
ExploreArea Tag.
Example Usage.
ForceTownRun tag
LeaveGame Tag.
LoadProfile Tag.
Example Usage.
LogMessage Tag.
Example Usage.
MoveTo Tag.
Example Usage.
SkipCutscene Tag.
Example Usage.
UseObject Tag.
Example Usage.
UsePower Tag.
Example Usage.
UseTownPortal Tag.
Example Usage.
UseWaypoint Tag.
Example Usage.
WaitTimer Tag.
Example Usage.
WaitWhile Tag.
Example Usage.
WriteReport Tag.
TalkTo Tag.
Example Usage.
ToggleTargeting Tag.
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
- "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
- "numberOfTimes" - the number of "conversation steps" to advance
PHP:
<AdvanceConversation questId="1" numberOfTimes="20" />
ExploreArea Tag.
- Explores a dungeon or static area
- "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)
- "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
PHP:
<LeaveGame reason="Run is done" />
LoadProfile Tag.
- Loads a profile
- "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
- "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
- "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!
- "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 )
- "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
- "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
- "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
- "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. )
PHP:
<WriteReport />
TalkTo Tag.
- Moves to and talks to an npc automatically skips any conversation.
- "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.
- "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: