• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • 求助传送出错,请大大来看看

    Discussion in 'Rebornbuddy 援助区' started by knight741, Feb 6, 2016.

    1. knight741

      knight741 New Member

      Joined:
      Aug 27, 2015
      Messages:
      21
      Likes Received:
      0
      Trophy Points:
      1
      有2个问题,第一个是序列脚本中出现的,脚本可以正常使用,现实一天中大概一次或两次有该传送却不传送的情况,钓鱼和采集脚本都有这种情况出现,出现这种情况后我看了记录,传送时候的代码会变成这样,通常Aetheryte:的值都是null的,出错的时候就会有这段16进制的代码或者莫名的带个宠物的名字出来
      Code:
      [Poi.Clear] Reason: Current behavior changed to TeleportTo: ZoneId: 0, AetheryteId: 78, Name: 莫古力之家, Force: True, [COLOR="#FF0000"]Aetheryte: 发条巴哈姆特 0x14C69130[/COLOR], IsDone: False, HighPriority: False, LineNumber: 1791, InCombat: False, QuestId: 0, StepId: 0, PostCombatDelay: 0, QuestName: null, IsDoneCache: False, Behavior: TreeSharp.PrioritySelector, .
      第二个问题是ExGather采集晶簇类物品的时候使用Yield增加产量,如果时间到了GP大于500,会正确使用水晶类的加护技能(400GP的各种)提高产量,如果没到500GP的话,也会等到GP大于500,但是不会使用增产技能,可能是设置上的问题,求反馈并更新
      Code:
      [02:45:53.214 N] [ExGather v3.1.5.1601080] Estimating rotation based off GatherIncrease: 'Yield'
      [02:45:53.215 N] [ExGather v3.1.5.1601080] Rotation Estimate -> Old: Unspoiled , New: SmartYield
      [02:45:53.215 N] [ExGather v3.1.5.1601080] Waiting for GP -> Seconds: 30, Current GP: 450, WaitForGP: 500
      [02:46:21.480 D] Interacting with 未知的良材 0x1460C420
      [02:46:22.586 V] [ExGather v3.1.5.1601080] Started gathering from Unspoiled Mature Tree with 500/650 GP at 2:10 ET
      [02:46:22.587 N] [ExGather v3.1.5.1601080] Rotation Override -> Old: SmartYield , New: Elemental
      [02:46:22.921 N] Gathering ItemName:水之晶簇 Chance:100 HqChance:-1 Amount:1 RawItemId:19
      [02:46:32.041 N] Gathering ItemName:水之晶簇 Chance:100 HqChance:-1 Amount:2 RawItemId:19
      [02:46:34.435 N] Gathering ItemName:水之晶簇 Chance:100 HqChance:-1 Amount:1 RawItemId:19
      [02:46:38.587 V] [ExGather v3.1.5.1601080] Finished gathering from Unspoiled Mature Tree with 525 GP at 2:16 ET
      [02:46:38.587 N] [ExGather v3.1.5.1601080] Rotation reset -> Unspoiled
      [02:46:38.588 V] [Poi.Clear] Reason: Node is gone
       
      Last edited: Feb 6, 2016
    2. EricPhone

      EricPhone Moderator Moderator

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

      knight741 New Member

      Joined:
      Aug 27, 2015
      Messages:
      21
      Likes Received:
      0
      Trophy Points:
      1
      上传好了请e大查看
       

      Attached Files:

    4. EricPhone

      EricPhone Moderator Moderator

      Joined:
      Feb 17, 2013
      Messages:
      5,665
      Likes Received:
      3
      Trophy Points:
      38
      把你出这个日志时使用的脚本也上传上来
       
    5. knight741

      knight741 New Member

      Joined:
      Aug 27, 2015
      Messages:
      21
      Likes Received:
      0
      Trophy Points:
      1
      已经找到问题所在,RB\Quest Behaviors\TeleportTo.cs的111行(Force && Aetheryte != null) || (!Force && WorldManager.ZoneId == zoId),这段中,判断force="true"和"false"的时候如果是true会判断身旁是否有要传送到的以太之光,如果有就不强制传送,因为这个判断有bug,周围有人带某些宠物就会导致Aetheryte判断出错,然后不传送就开始飞到下个坐标点,最后卡死在角落发呆;如果是false就只会判断当前地图是否和目标地图相同,不会判断Aetheryte,所以我把脚本里的force="true"都去掉了,这样不判断Aetheryte,就不会出错,我测试两天了,没再出现过不传送直接飞的情况
       
      Last edited: Feb 9, 2016
    6. EricPhone

      EricPhone Moderator Moderator

      Joined:
      Feb 17, 2013
      Messages:
      5,665
      Likes Received:
      3
      Trophy Points:
      38
      下个版本会修复这个问题
       
    7. knight741

      knight741 New Member

      Joined:
      Aug 27, 2015
      Messages:
      21
      Likes Received:
      0
      Trophy Points:
      1
      是不是前两天的更新已经修复了这问题,我到现在还没再用过force="true"。感谢E大
       

    Share This Page