What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

请问如何让任务模式脚本重复循环运行?

Coinstenk

New Member
Joined
Sep 21, 2015
Messages
8
<?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>


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

Attachments

Last edited:
可以试下在改成
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>
 
显示 Cannot start the bot because the profile cannot be loaded.
“>”是意外的标记。标记应为“=”。 第 28 行,位置 15。
貌似是 <While true > 这行出了点问题
 
Back
Top