• Visit Rebornbuddy
  • Questtools 3.3.10-Rift Priority (normal/Trail/Greater) doesn't work?

    Discussion in 'Archives' started by eric0011, Apr 9, 2015.

    1. eric0011

      eric0011 New Member

      Joined:
      Jun 29, 2013
      Messages:
      57
      Likes Received:
      0
      Trophy Points:
      0
      I've updated to newest demonbuddy but found that bot cannot choose normal rift. if you choose normal as first priority, it starts the second one. if you choose trial/greater as firt priority, it works well.

      does anyone has the same situation with me?

      db error4.png View attachment 8740 2015-04-09 17.26.txt
       
    2. bombastic

      bombastic New Member

      Joined:
      Jun 18, 2012
      Messages:
      430
      Likes Received:
      3
      Trophy Points:
      0
      Yep, new DB broke it. Prolly because of this

      A workaround is to change QuestTools/ProfileTags/QTOpenRiftWrapperTag.cs:

      from
      Code:
                      foreach (var keyType in keyPriorityList)
                      {
                          if (keyType == RiftKeyUsePriority.Greater && HasGreaterRiftKeys)
                          {
                              keyFound = true;
                              Logger.Log("Using Greater Rift Keystone to open the Rift Portal");
                              StartTiered = true;
                              UseHighest = QuestToolsSettings.Instance.UseHighestKeystone;
                              UseLowest = !UseHighest;
                              break;
                          }
                          if (keyType == RiftKeyUsePriority.Trial && HasTrialRiftKeys)
                          {
                              keyFound = true;
                              Logger.Log("Using Trial Rift Keystone to open the Rift Portal");
                              StartTiered = true;
                              UseTrialStone = true;
                              break;
                          }
                          if (keyType == RiftKeyUsePriority.Normal && HasNormalRiftKeys)
                          {
                              keyFound = true;
                              Logger.Log("Using Normal Rift Keystone to open the Rift Portal");
                              StartTiered = false;
                              UseTrialStone = false;
                              break;
                          }
                          StartTiered = false;
                      }
      to
      Code:
                      foreach (var keyType in keyPriorityList)
                      {
                          if (keyType == RiftKeyUsePriority.Normal)
                          {
                              keyFound = true;
                              Logger.Log("Using Normal Rift Keystone to open the Rift Portal");
                              StartTiered = false;
                              UseTrialStone = false;
                              break;
                          }
                          if (keyType == RiftKeyUsePriority.Greater && HasGreaterRiftKeys)
                          {
                              keyFound = true;
                              Logger.Log("Using Greater Rift Keystone to open the Rift Portal");
                              StartTiered = true;
                              UseHighest = QuestToolsSettings.Instance.UseHighestKeystone;
                              UseLowest = !UseHighest;
                              break;
                          }
                          if (keyType == RiftKeyUsePriority.Trial && HasTrialRiftKeys)
                          {
                              keyFound = true;
                              Logger.Log("Using Trial Rift Keystone to open the Rift Portal");
                              StartTiered = true;
                              UseTrialStone = true;
                              break;
                          }
                          StartTiered = false;
                      }
      (HasNormalRiftKeys is always returning false)

      The only problem is if you run out of Normal Rift Keys, QuestTools won't know what to do.
       
    3. xmessa

      xmessa New Member

      Joined:
      Jul 18, 2014
      Messages:
      97
      Likes Received:
      0
      Trophy Points:
      0
      3.3.11 works well
       

    Share This Page