• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • E大你好,我需要一个脚本开发的帮助文档

    Discussion in '中文综合讨论区' started by fionvicky, Jan 15, 2017.

    1. fionvicky

      fionvicky New Member

      Joined:
      May 30, 2014
      Messages:
      7
      Likes Received:
      0
      Trophy Points:
      0
      E大你好,我想自己写一些任务脚本,我需要各种命令及语句的帮助文档,找了下开发板块的文档没有找到,您能帮我找一下吗?
       
    2. EricPhone

      EricPhone Moderator Moderator

      Joined:
      Feb 17, 2013
      Messages:
      5,665
      Likes Received:
      3
      Trophy Points:
      38
    3. fionvicky

      fionvicky New Member

      Joined:
      May 30, 2014
      Messages:
      7
      Likes Received:
      0
      Trophy Points:
      0
      感谢e大,我现在写了一个脚本,但是运行有问题,请问您有无即时通讯工具,我想向您请教一下。十分感谢。
       
    4. EricPhone

      EricPhone Moderator Moderator

      Joined:
      Feb 17, 2013
      Messages:
      5,665
      Likes Received:
      3
      Trophy Points:
      38
      有问题你可以在论坛里提问,或者在开发者区里发帖求助
       
    5. fionvicky

      fionvicky New Member

      Joined:
      May 30, 2014
      Messages:
      7
      Likes Received:
      0
      Trophy Points:
      0
      好的,感谢,那我简单说下我的情况。我想写一个脚本,用任务模式或者钓鱼模式,在指定地点钓鱼,当背包满了以后,召唤达拉然大象的修理,卖掉背包里的东西,我脚本写了一半,每次用钓鱼模式执行,包满了就没有动作了。我发到下面,请您帮我看一下。

      <?xml version="1.0" encoding="UTF-8"?>
      <HBProfile>
      <Name>风暴峡湾稀有鱼</Name>

      <MinDurability>0.4</MinDurability>
      <MinFreeBagSlots>5</MinFreeBagSlots>
      <SellGrey>True</SellGrey>
      <SellWhite>true</SellWhite>
      <SellGreen>False</SellGreen>
      <SellBlue>False</SellBlue>

      <Blackspots>
      </Blackspots>


      <ProtectedItems>
      <Item Name = "炉石" Entry = "6948"/>
      <Item Name = "要塞炉石" Entry = "110560"/>
      <Item Name = "达拉然炉石" Entry = "45912"/>
      <Item Name = "驼鹿角鱼钩" Entry = "133713"/>
      <Item Name = "古代维库指环" Entry = "133715"/>
      <Item Name = "浸水的龙鳞" Entry = "133716"/>
      <Item Name = "奥术鱼饵" Entry = "139175"/>
      <Item Name = "雷铸爪勾枪" Entry = "138111"/>
      </ProtectedItems>

      <Vendors>
      <Vendor Entry="32639" Name="Gnimo" X="2799.459" Y="2546.379" Z="142.6669" Nav="Fly" Type="Repair"/>
      </Vendors>
      <Mailboxes>
      </Mailboxes>

      <Hotspots>
      <Hotspot X="2799.459" Y="2546.379" Z="142.6669" />
      </Hotspots>

      <QuestOrder>
      <RunTo X="2799.459" Y="2546.379" Z="142.6669" />
      <While Condition="(Me.GetSkill(Styx.SkillLine.Fishing).CurrentValue &gt;= 1)">
      </While>


      <If Condition="(Me.LowestDurabilityPercent &lt;= 0.3) || (Me.FreeBagSlots &lt;= 3)">
      <CustomBehavior File="RunCode" Code="Logging.Write(System.Windows.Media.Colors.Yellow, &quot;【提醒】耐久不足或背包空间: 耐久度: &quot; + Me.LowestDurabilityPercent);" />

      <If Condition="SpellManager.CanCast(61425) || SpellManager.CanCast(61447) || SpellManager.CanCast(122708)" >
      <CustomBehavior File="Message" Text="【提醒】尝试使用大象或牦牛修理。" LogColor="Lime" />
      <CustomBehavior File="ForceSetVendor" DoRepair="True" DoSell="True" />
      <CustomBehavior File="WaitTimer" WaitTime="2000" />
      <CustomBehavior File="ForcedDismount" />

      </If>
      </If>
      <GrindUntil Nav="Run" Condition="Me.Level >= 111.0" />
      </QuestOrder>
      </HBProfile>
       
    6. EricPhone

      EricPhone Moderator Moderator

      Joined:
      Feb 17, 2013
      Messages:
      5,665
      Likes Received:
      3
      Trophy Points:
      38
    7. fionvicky

      fionvicky New Member

      Joined:
      May 30, 2014
      Messages:
      7
      Likes Received:
      0
      Trophy Points:
      0
      E大你好,根据这个脚本我写出来了,确实能用,但是还是无法实现背包满了之后召唤大象卖东西,如何在钓鱼
      <CustomBehavior File="FlyTo" DestName="FishingShack" X="2799.459" Y="2546.379" Z="142.6669" />
      <CustomBehavior File="MrFishit"
      X="2799.459" Y="2546.379" Z="142.6669"
      CollectItemId="133907"
      MoveToPool="true"
      UseFishingGear="true"
      Vendors="true"
      Me.FreeBagSlots = "2"


      />
      这段代码之间加入一个背包空间判定啊?
       
    8. EricPhone

      EricPhone Moderator Moderator

      Joined:
      Feb 17, 2013
      Messages:
      5,665
      Likes Received:
      3
      Trophy Points:
      38
    9. fionvicky

      fionvicky New Member

      Joined:
      May 30, 2014
      Messages:
      7
      Likes Received:
      0
      Trophy Points:
      0
    10. fionvicky

      fionvicky New Member

      Joined:
      May 30, 2014
      Messages:
      7
      Likes Received:
      0
      Trophy Points:
      0
    11. EricPhone

      EricPhone Moderator Moderator

      Joined:
      Feb 17, 2013
      Messages:
      5,665
      Likes Received:
      3
      Trophy Points:
      38
      你用的什么模式运行的脚本?
      目前没有你说的这样的免费插件
       

    Share This Page