• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • 请问如何让任务模式脚本重复循环运行?

    Discussion in '中文综合讨论区' started by Coinstenk, Oct 19, 2015.

    1. Coinstenk

      Coinstenk New Member

      Joined:
      Sep 21, 2015
      Messages:
      8
      Likes Received:
      0
      Trophy Points:
      0
      <?xml version="1.0" encoding="UTF-8"?>
      <HBProfile>
      <Name>Coinstenk</Name>
      <MinDurability>0.2</MinDurability>
      <MinFreeBagSlots>1</MinFreeBagSlots>

      <SellGrey>True</SellGrey>
      <SellWhite>False</SellWhite>
      <SellGreen>True</SellGreen>
      <SellBlue>False</SellBlue>

      <MailWhite>True</MailWhite>
      <MailGreen>True</MailGreen>
      <MailBlue>True</MailBlue>
      <MailPurple>True</MailPurple>
      <Blackspots>
      </Blackspots>
      <Mailboxes>
      <Mailbox X="1651.384" Y="934.8181" Z="470.943" />
      </Mailboxes>

      <MinLevel>1</MinLevel>
      <MaxLevel>101</MaxLevel>
      <TargetMinLevel>85</TargetMinLevel>
      <TargetMaxLevel>95</TargetMaxLevel>
      <QuestOrder>
      <CustomBehavior File="UserSettings" PullDistance="100" UseMount="False" LootMobs="False" HarvestHerbs="False" HarvestMinerals="False" LootChests="True"/>
      <CustomBehavior File="InteractWith" MobId="214388"
      ObjectType="Gameobject" X="1760.925" Y="1974.153" Z="240.3489" />

      <CustomBehavior File="InteractWith" MobId="214388"
      ObjectType="Gameobject" X="1762.486" Y="1978.208" Z="240.3489" />

      <CustomBehavior File="InteractWith" MobId="214388"
      ObjectType="Gameobject" X="1763.446" Y="1962.542" Z="240.3489" />

      <CustomBehavior File="InteractWith" MobId="214388"
      ObjectType="Gameobject" X="1764.182" Y="1982.396" Z="240.3489" />

      <CustomBehavior File="InteractWith" MobId="214388"
      ObjectType="Gameobject" X="1766.825" Y="1959.125" Z="240.3489" />

      <CustomBehavior File="InteractWith" MobId="214388"
      ObjectType="Gameobject" X="1773.444" Y="1956.406" Z="240.3489" />

      <CustomBehavior File="InteractWith" MobId="214388"
      ObjectType="Gameobject" X="1778.941" Y="1955.951" Z="240.3489" />

      <CustomBehavior File="InteractWith" MobId="214388"
      ObjectType="Gameobject" X="1788.509" Y="1963.465" Z="240.3489" />

      <CustomBehavior File="InteractWith" MobId="214388"
      ObjectType="Gameobject" X="1790.134" Y="1967.688" Z="240.3489" />

      <CustomBehavior File="InteractWith" MobId="214388"
      ObjectType="Gameobject" X="1791.792" Y="1971.911" Z="240.3489" />

      </QuestOrder>
      </HBProfile>


      这是个开宝箱脚本,宝箱可以无限开,但是任务模式只运行一次就停止了,有办法让他一直循环吗?
       

      Attached Files:

      Last edited: Oct 19, 2015
    2. EricPhone

      EricPhone Moderator Moderator

      Joined:
      Feb 17, 2013
      Messages:
      5,665
      Likes Received:
      3
      Trophy Points:
      38
      可以试下在改成
      Code:
        <QuestOrder>
              <CustomBehavior File="UserSettings" PullDistance="100" UseMount="False" LootMobs="False" HarvestHerbs="False" HarvestMinerals="False" LootChests="True"/>
         <While true >
         <CustomBehavior File="InteractWith" MobId="214388" 
            ObjectType="Gameobject" X="1760.925" Y="1974.153" Z="240.3489" />
      
        <CustomBehavior File="InteractWith" MobId="214388" 
            ObjectType="Gameobject" X="1762.486" Y="1978.208" Z="240.3489" />
      
        <CustomBehavior File="InteractWith" MobId="214388" 
            ObjectType="Gameobject" X="1763.446" Y="1962.542" Z="240.3489" />
      
        <CustomBehavior File="InteractWith" MobId="214388" 
            ObjectType="Gameobject" X="1764.182" Y="1982.396" Z="240.3489" />
      
        <CustomBehavior File="InteractWith" MobId="214388" 
            ObjectType="Gameobject" X="1766.825" Y="1959.125" Z="240.3489" />
      
        <CustomBehavior File="InteractWith" MobId="214388" 
            ObjectType="Gameobject" X="1773.444" Y="1956.406" Z="240.3489" />
      
        <CustomBehavior File="InteractWith" MobId="214388" 
            ObjectType="Gameobject" X="1778.941" Y="1955.951" Z="240.3489" />
      
        <CustomBehavior File="InteractWith" MobId="214388" 
            ObjectType="Gameobject" X="1788.509" Y="1963.465" Z="240.3489" />
      
        <CustomBehavior File="InteractWith" MobId="214388" 
            ObjectType="Gameobject" X="1790.134" Y="1967.688" Z="240.3489" />
      
        <CustomBehavior File="InteractWith" MobId="214388" 
            ObjectType="Gameobject" X="1791.792" Y="1971.911" Z="240.3489" />
      	</While>
      </QuestOrder>
      
       
    3. Coinstenk

      Coinstenk New Member

      Joined:
      Sep 21, 2015
      Messages:
      8
      Likes Received:
      0
      Trophy Points:
      0
      显示 Cannot start the bot because the profile cannot be loaded.
      “>”是意外的标记。标记应为“=”。 第 28 行,位置 15。
      貌似是 <While true > 这行出了点问题
       
    4. Coinstenk

      Coinstenk New Member

      Joined:
      Sep 21, 2015
      Messages:
      8
      Likes Received:
      0
      Trophy Points:
      0
      已解决,改成 <While Condition="True"> 就可以了,感谢提醒
       

    Share This Page