• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [help]Quest:Digging For Dolls,xml why can't always run?

    Discussion in 'Rebornbuddy Support' started by nenge, Mar 8, 2016.

    1. nenge

      nenge New Member

      Joined:
      Mar 8, 2016
      Messages:
      3
      Likes Received:
      0
      Trophy Points:
      0
      quest link http://ja.xivdb.com/quest/66036/

      who can hlep me?
      1.run few sec will auto close
      2.can not check and auto complete quest.

      Code:
      <?xml version="1.0" encoding="utf-8"?>
      <Profile>
      	<Name>季节任务寻宝</Name>
      	<BehaviorDirectory>../Quest Behaviors</BehaviorDirectory>
      	<KillRadius>50</KillRadius>
      	<Order>
      	<While Condition="True">
      			<If Condition="not HasQuest(66036) or (ItemCount(10089)>0 and HasQuest(66036))">
      			<If Condition="not IsOnMap(130)">
      				<TeleportTo Name="Ul'dah - Steps of Nald" AetheryteId="9" />
      			</If>
      			<ExMoveTo Name="Ul'dah - Steps of Nald" XYZ="34.6822,4,-140.5884"/>
      			<If Condition="ItemCount(10089)>0 and HasQuest(66036)">
      			<HandOver  ItemId="10089" StepId="4" InteractDistance="3.0" QuestId="66036" NpcId="1011781"  XYZ="34.6822,4,-140.5884" />
      			<If Condition="GetQuestStep(66036) == 255">
      				<TurnInPlus ItemId="10089" StepId="255" InteractDistance="3.0" QuestId="66036" NpcId="1011781"  XYZ="34.6822,4,-140.5884" />
      			</If>
                		<LogMessage Message="OK"/>
                  </If>
      			<If Condition="IsQuestAcceptQualified(66036)">
      	        	<PickupQuest NpcId="1011781" QuestId="66036"  XYZ="34.6822,4,-140.5884" />
                  </If>
      			</If>
      	</While>
      	</Order>
      </Profile>
      
      LOG
      Code:
      [14:27:16.526 N] Bot Thread Started.
      [14:27:19.277 N] Connection to 23.88.178.194:31215 established.
      [14:27:19.277 N] Clearing all hooks.
      [14:27:19.277 D] Added new hook [TreeStart] d7d8cdad-bd90-422e-afa4-f36e62c96dbb
      [14:27:19.277 D] Added new hook [PoiAction] cf16ff75-b69f-41f4-89a1-16d97280cb87
      [14:27:19.277 D] Added new hook [PreCombatLogic] b9a5556c-b059-4af0-9327-438e79fbd940
      [14:27:19.277 N] [Zekken] Avoidance hooked.
      [14:27:19.277 D] Replaced hook [PreCombatBuff] d3e18dc6-d0e6-4495-a624-87ed976c2264
      [14:27:19.277 D] Replaced hook [Heal] 51ec1612-d052-4fd9-846b-503c33b919dc
      [14:27:19.277 D] Replaced hook [Pull] 411f16a3-46c8-4e36-bd0d-70e126285c64
      [14:27:19.277 D] Replaced hook [CombatBuff] f3ee934a-9ae3-451c-98a6-5c4eea86972c
      [14:27:19.277 D] Replaced hook [Combat] 5f997540-a8b7-4398-a22d-3a3415ac0b51
      [14:27:19.277 D] Replaced hook [Rest] ef1940ce-c0eb-47f0-897c-ab12f6ee212f
      [14:27:19.277 D] Added new hook [RoutineCombat] dba0212b-df90-4d1f-9bba-94c1b76584e9
      [14:27:19.277 D] Added new hook [HotspotPoi] a37abdeb-6714-4a95-b452-89481eb4746b
      [14:27:19.277 D] Added new hook [SetDeathPoi] 6712e781-ee32-46e1-9afe-cc29af9625f0
      [14:27:19.277 D] Added new hook [SetCombatPoi] 46c61461-41a3-4b38-a4b1-acb2170d6e26
      [14:27:19.277 D] Added new hook [SetHotspotPoi] 23cab8ca-2a70-4327-ad41-6f56c1cb6cb8
      [14:27:19.277 D] Added new hook [SelectPoiType] 865e4df1-de38-4fb1-ad67-db3d03dfe42a
      [14:27:19.277 D] Replaced hook [SelectPoiType] d53b5772-2692-4c03-8361-c4145b0fbf16
      [14:27:19.277 D] Inserted new hook [TreeStart @0] 617293ff-8036-4882-834e-f8948b0fd573
      [14:27:19.277 N] [Agil] Please enter your key on Agil's settings.
      [14:27:19.277 D] Inserted new hook [TreeStart @0] 50f0cd9d-a719-4154-9158-ab1a7cfe81b9
      [14:27:19.277 N] [Agil] Hooked.
      [14:27:19.288 N] Profile completed
      [14:27:19.288 N] Stopping the bot. Reason:Profile Completed
      [14:27:19.290 V] [FlightNav] Replacing Navigator with Flight Navigator.
      [14:27:19.290 N] [EnableFlight] Started Flight Navigator.
      [14:27:19.290 D] CurrentBot.Stop()
      [14:27:19.290 D] TreeHooks.Instance.ClearAll()
      [14:27:19.290 N] Clearing all hooks.
      [14:27:19.290 D] Added new hook [TreeStart] d7d8cdad-bd90-422e-afa4-f36e62c96dbb
      [14:27:19.290 D] Added new hook [PoiAction] cf16ff75-b69f-41f4-89a1-16d97280cb87
      [14:27:19.290 D] Added new hook [PreCombatLogic] 41819306-44e6-431d-9727-1987358230a7
      [14:27:19.290 N] [Zekken] Avoidance hooked.
      [14:27:19.290 D] Replaced hook [PreCombatBuff] a71adf07-12c8-4d91-a189-1534db6c966c
      [14:27:19.290 D] Replaced hook [Heal] 9de98b63-983e-476b-aaa6-9b65410d4217
      [14:27:19.290 D] Replaced hook [Pull] da3461dc-5633-4525-bc54-cd0bced5c0d3
      [14:27:19.290 D] Replaced hook [CombatBuff] 09293b43-37da-40b6-98f8-a5d50903718b
      [14:27:19.290 D] Replaced hook [Combat] 505cd160-040d-4c4d-b628-521a01675285
      [14:27:19.290 D] Replaced hook [Rest] a2730f0c-7c6a-4833-ada0-d434483ac820
      [14:27:19.290 D] Navigator.Clear()
      [14:27:19.348 V] [Poi.Clear] Reason: Bot stopped
      [14:27:19.348 D] OnStop event
      [14:27:19.348 D] OnStop Event Invoking
      [14:27:19.349 D] ProfileOrderManager.OnBotStop. Resetting caches.
      [14:27:19.349 N] [EnableFlight] Stopped Flight Navigator.
      [14:27:19.349 V] [FlightNav] Putting original Navigator back!
      [14:27:19.349 N] [EnableFlight] Disposing the GaiaNavigator
      [14:27:19.349 N] Connection closed! xxx.xxx.xxx.xxx:xxx
      [14:27:19.349 N] Bot Thread Ended.
      
       
    2. y2krazy

      y2krazy Community Developer

      Joined:
      Jun 21, 2011
      Messages:
      2,803
      Likes Received:
      70
      Trophy Points:
      48
      Try this:

      Code:
      <?xml version="1.0" encoding="utf-8"?>
      <Profile>
      	<Name>季节任务寻宝</Name>
      	<BehaviorDirectory>../Quest Behaviors</BehaviorDirectory>
      	<KillRadius>50</KillRadius>
      	<Order>
      	<While Condition="True">
      		<If Condition="not HasQuest(66036) or (ItemCount(10089)>0 and HasQuest(66036))">
      			<If Condition="not IsOnMap(130)">
      				<TeleportTo Name="Ul'dah - Steps of Nald" AetheryteId="9" />
      			</If>
      			<ExMoveTo Name="Ul'dah - Steps of Nald" XYZ="34.6822,4,-140.5884"/>
      			<If Condition="not HasQuest(66036)">
      	        		<PickupQuest NpcId="1011781" QuestId="66036"  XYZ="34.6822,4,-140.5884" />
      			</If>
      			<If Condition="ItemCount(10089)>0 and HasQuest(66036)">
      				<If Condition="GetQuestStep(66036) == 4">
      					<HandOver  ItemId="10089" StepId="4" InteractDistance="3.0" QuestId="66036" NpcId="1011781"  XYZ="34.6822,4,-140.5884" />
      				</If>
      				<If Condition="GetQuestStep(66036) == 255">
      					<TurnInPlus ItemId="10089" StepId="255" InteractDistance="3.0" QuestId="66036" NpcId="1011781"  XYZ="34.6822,4,-140.5884" />
      				</If>
                			<LogMessage Message="OK"/>
      			</If>
      		</If>
      	</While>
      	</Order>
      </Profile>
      
      What happens if you're on Steps 1-3? Also, I can't recall if ">" works (e.g., ItemCount(10089)>0), so you may need to try "ItemCount(10089) &gt; 0".

      I have a functional profiles for seasonal quests on my SVN (linked in my signature below), in the event you'd like to look at my profiles for guidance. I do not have one for Little Ladies' Day (2015) specifically, though.
       
    3. nenge

      nenge New Member

      Joined:
      Mar 8, 2016
      Messages:
      3
      Likes Received:
      0
      Trophy Points:
      0
      thanks.I write this xml to my friend,but I don't know any API.
      such as how to read map info,complete the mession
       

    Share This Page