Bot Exploit
Trying to create profile - Printable Version

+- Bot Exploit (http://www.botexploit.com/en/forum)
+-- Forum: Bot Exploit Forum (/Forum-Bot-Exploit-Forum)
+--- Forum: General (/Forum-General)
+--- Thread: Trying to create profile (/Thread-Trying-to-create-profile)



Trying to create profile - MrSlashzz - 05-12-2014 09:59 AM

Hi,

I'm new to all this botexploit thingies, but I really want to create my own profiles.
Now I am trying to create a simple bounty profile that clears the Khazra Den, I know there is already a profile for this but I want to understand the scripting of this XML files.

Now I want to start with cleaning the Khazra Den bounty, is it possible to check IF the bounty is in-game and if not, to leave and re-create the game?

I already tried to make the beginning, moving to the waypoint and explore Fields until "object" is found (entrance of khazra) But it says there is an error in the XML file. Can somebody take a look at what I am doing wrong?

Quote:<?xml version="1.0" encoding="UTF-8"?>
<Profile><Order>
<KillMonsters>True</KillMonsters>
<PickUpLoot>True</PickUpLoot>


<!-- Moving to Fields Of Misery -->
<if Condition="Me.IsInTown">
<UseWaypoint waypointnumber="8"/>
<WaitTimer waitTime="250"/>

<!-- Searching for Khazra -->
<If Condition="CurrentWorld == 71150">
<ExploreArea Until="ObjectFound" actorId="176003"/>
<useObject actorId="176003" IsPortal="true"/>
<ExploreArea boxSize="80" boxTolerance="0.2"/>

<!-- Back to town -->
<UseTownPortal/>
<WaitTimer waitTime="1000" attack="true"/>
<talkto actorID="114622"/>
<WaitTimer waitTime="1000" attack="false"/>
</if>
<LeaveGame/>
</Order></Profile>



RE: Trying to create profile - Titanium - 05-12-2014 10:01 AM

to make comment
Use
<!-- Comment -->
Instead of
<!-- Comment --!>


RE: Trying to create profile - MrSlashzz - 05-12-2014 10:48 AM

Thanks Titanium, I tried that but still getting "XML Error in profile. Please fix first."


RE: Trying to create profile - Titanium - 05-13-2014 10:32 AM

If you open the XML file in browser, e.g. chrome or Firefox, it'll tell you which line cause the XML error.


RE: Trying to create profile - MrSlashzz - 05-13-2014 12:03 PM

That helped, thanks Titanium !