Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to write Profiels
04-19-2014, 01:41 PM (This post was last modified: 04-19-2014 01:41 PM by [email protected].)
Post: #1
How to write Profiels
Hi i wish some explonations about the Profile Editor:
So that i can create some usefull Profiles and upload them.
Its kind of a Guide which i will Update if i know more Details like my questions in the Guide, please Help to solve the questions/Problems

Move to: of cause u get the position but how far can two points be appart?
just Vision range oder need the Cordinat just to be on the current world?
sometimes it skipt waypoints arent they in order?

Use Waypoint:
there need to be an number which u Find here:
http://www.botexploit.com/en/forum/showt...hp?tid=462


Use Object:
The Object ID u find in ID Extraction -> Extract ID from Nearby Actors
Can be used for Portals for example.

Combination:
<If condition="ActorExistsAt(161277, 423.7428, 598.8231, 0.2546768, 15)

If the object is there it will be used:
161277 the Object ID
423.7428 the X coordinate carefull . and , are switched
598.8231 the Y coordinate carefull . and , are switched
0.2546768 the Y coordinate carefull . and , are switched
(The coordinates are just exampels)
15 I dont know why the 15 is there got it out of other profiles please explain it

<GameParams> </GameParams>
Join the Game shut be in the beginning of the profile

Waittimer shut always be after Townportal or Portals

Townportal and Leave game does what it says

What is Explore Area? do i dont need then waypoints and it explore the area on his own? and the next step folow if it fail or sucsses?

Resume use Town Portal Does what is says.

<If condition="here the condition"> here will be what happen then </If>

if u want leave a comment in the Profile use <!-- ur commend -->
You need to do it that way so it wont effect the Profile!
Otherwise u will get errors!

Example:
Quote:<Profile><Order>
<!-- Profile and Order need to be in the Profile to let the programm know what it can do -->

<Name>[Tipp the Name here]</Name>
<!-- Join the Game even if you are ingame just to be shure -->
<GameParams> </GameParams>

<KillMonsters>True</KillMonsters>
<PickupLoot>True</PickupLoot>

<!-- WP to The KEEP DEPTH LEVEL 3 - 30 if Im in the Town -->
<If condition="Me.IsInTown">
<UseWaypoint waypointNumber="30"/>
<WaitTimer questId="1" waitTime="250"/></If>

<!-- Weg zu Gloom - 30 WorldId 136415 shut be after using the WP-->
<If condition="CurrentWorldId == 136415">
<MoveTo x="1065,148" y="472,4492" z="0,1035012"/>
<MoveTo x="977,0397" y="597,692" z="0,1000001"/>
<MoveTo x="837,769" y="598,5544" z="5,944757"/>
<MoveTo x="676,4332" y="592,8297" z="0,1"/>
<MoveTo x="555,3512" y="600,2751" z="0,2882665"/>
<MoveTo x="466,0218" y="595,5064" z="0,1000001"/>

<!-- Portal zu Gloom -->
<If condition="ActorExistsAt(161277, 423.7428, 598.8231, 0.2546768, 15) and CurrentWorldId==136415">
<UseObject actorId="161277" />
<WaitTimer waitTime="250"/></If>
</If>

<!-- Gloom -->
<If condition="CurrentWorldId == 103209">
<MoveTo x="580,1044" y="359,6587" z="0,7869942"/>
<MoveTo x="472,2776" y="359,4485" z="0,4071507"/>
<MoveTo x="437,1" y="355,1415" z="0,1000001"/>
<MoveTo x="399,161" y="357,6373" z="0,1"/>

<!-- Ausloggen -->
<WaitTimer waitTime="60000"/>
<LeaveGame reason="Complete"></LeaveGame>
<UseTownPortal/></If>

</Order></Profile>

Other Stuff:

I preffer the free software Notepad++ download link here:
url=http://www.chip.de/downloads/Notepad_12996935.html
(Its helps a lot because of u see if a if condition or an </If> or so is missing and u can minimize the contiotions and so on....

AND PLEASE!

Dont be greedy if u create a nice profile Upload it in the Form so that anyone can use it.


I will soon create profiles if my questions are fast be answerd because of i want just Upload Profiles which are running smoth.

Thanks for listening and please leave questions or even better answers bellow.
Find all posts by this user
Quote this message in a reply
04-19-2014, 03:00 PM
Post: #2
RE: How to write Profiels
Move to: of cause u get the position but how far can two points be appart?
just Vision range oder need the Cordinat just to be on the current world?
sometimes it skipt waypoints arent they in order?
Titanium's answer: usually I'll leave about 30 - 60 yards apart, it'll cause problems if the waypoints are too far away.


What is Explore Area? do i dont need then waypoints and it explore the area on his own? and the next step folow if it fail or sucsses?
Titanium's answer: Some areas are dynamic, i.e. every time you resume game and go inside that area, it's different from before. In that way you cannot use "MoveTo", "ExploreArea" will explore the full area by default, or it'll explore until a specific condition. here are some examples:
<ExploreArea until="ObjectFound" actorId="176001"/>
This will explore until a specific object with object ID 176001 is found (object ID is extracted by the ID Extractor)
Find all posts by this user
Quote this message in a reply
04-20-2014, 01:57 AM
Post: #3
RE: How to write Profiels
It'll explore the full map until it found this object. It will not use the object so usually you would want to put in <UseObject actorId="XXX"/> after that line.
Find all posts by this user
Quote this message in a reply
04-21-2014, 02:32 AM
Post: #4
RE: How to write Profiels
My Answers in RED:

Which conditions are possible and what need to be between two there for and nand & or?
use "and" and "or", e.g.
<If condition="CurrentWorldId == 12345 and ActorExistsAt(176001, 123,123,234,100)">
</If>



I already know:
"CurrentWorldId == TheworldsID" (Check Map)
"ObjectFound" actorId="176001" (Find an actor)
Me.IsInTown (Are in the town)
!Me.IsInTown (Are not in the town)

condition for if a Monster is Find or killed?
We don't have this condition yet.

condition for 100 mobs are killed?
We don't have this condition yet.


condition Inventar less than 30/60?
We don't have this condition yet.


condition NPC is there or is an NPC and Object?
use "ActorExistsAt"

If I use movingpoints for 3 diffrent maps in the order of the maps in Map1, Map2, Map3 and Map 3 is be lordet will it tryp the MovingPoints of Map1 and Map2 till the reachable MovingPoints of Map3 are reachable?
Or will the Bot Stop?
It'll try to run all the moving points in order. It'll only stop after running all the moving points.



How to load a new Profil?

<LoadProfile file="OtherProfiles.xml" />
Find all posts by this user
Quote this message in a reply
04-28-2014, 05:13 PM
Post: #5
RE: How to write Profiels
is there a condition for if there is a certain adventure quest to continue if not leave game and create a new one? For example I am using the A4 Adventure Mode, Hell Rifts profile BUT I only want to be able to run IF the "Clear the Hellrift" quest exists. Also is it possible to translate the profile into English?

<?xml version="1.0" encoding="UTF-8"?>
<脚本><命令>

<Params name="TownWaypointNumber" value="39"/>


<RecordQuestIDs/>

<!-- 到地狱之门第一层 -->
<传送平台 到点号="43"/>
<DetectNewQuestIDs/>
<!--探索直至找到去第二层的入口-->
<探索全区域 方格大小="80" 方格略过="0.02" until="ObjectFound" actorId="224890"/>
<传送门 物件编号="224890"/>
<探索全区域 方格大小="80" 方格略过="0.02" 直到="任务完成"/>
<回城/>

<离开游戏/>

</命令></脚本>
Find all posts by this user
Quote this message in a reply
04-29-2014, 01:43 AM (This post was last modified: 04-29-2014 01:53 AM by Titanium.)
Post: #6
RE: How to write Profiels
I've translated the files as below. Please note that you have to download the latest version of the bot in order to run it (the "HasQuest()" condition is new.

-------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<Profile><Order>

<Params name="TownWaypointNumber" value="39"/>

<!-- 362140 is the clear hellrift bounty -->
<If condition="HasQuest(362140)">
<UseWaypoint waypointNumber="43"/>
<TrinitySetQuesting />
<ExploreArea boxSize="80" boxTolerance="0.02" until="ObjectFound" actorId="224890"/>
<UseObject actorId="224890" isPortal="true"/>
<ExploreArea boxSize="80" boxTolerance="0.02" until="BountyComplete"/>
<UseTownPortal/>

<WaitTimer waitTime="1000" attack="false"/>
<TalkTo actorId="114622"/>
<WaitTimer waitTime="1000" attack="false"/>
</If>
<LeaveGame/>

</Order></Profile>
Find all posts by this user
Quote this message in a reply
04-29-2014, 06:54 AM
Post: #7
RE: How to write Profiels
Thank you so much! Smile I really appreciate it!
Find all posts by this user
Quote this message in a reply
04-30-2014, 05:46 PM
Post: #8
RE: How to write Profiels
(04-29-2014 06:54 AM)atragedy Wrote:  Thank you so much! Smile I really appreciate it!

It was a honor
Find all posts by this user
Quote this message in a reply
05-09-2014, 03:08 AM (This post was last modified: 05-09-2014 03:09 AM by atragedy.)
Post: #9
RE: How to write Profiels
Im trying to blacklist the bot from opening cursed chests in the hellrift profile. How do I do that? I've added the character ID of the chest to a blacklist just as I've seen in other profiles but the bot will still open the chest. Is there an id to blacklist all global chests?

The reason is because the chest in the hell rifts will at times spawn 3 champions and I cannot kill them in higher torments. It ends up dying and unable to revive and will leave the game failing both the hellrift quest and the chest quest.

Or another way to solve this... is if it prioritizes the bounty quest first and once it is completed to click on the cursed chest. Can this be done with an IF statement?
Find all posts by this user
Quote this message in a reply
05-09-2014, 03:22 PM
Post: #10
RE: How to write Profiels
Here is what I have in the begging of the profile. The actorID is of the chest that I want to avoid but it still keeps hitting it.
<Profile>


<TargetBlacklists>
<TargetBlacklist actorId="365097"/>
</TargetBlacklists>


<Order>
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)