<?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> 这是个开宝箱脚本,宝箱可以无限开,但是任务模式只运行一次就停止了,有办法让他一直循环吗?
可以试下在改成 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 > 这行出了点问题