• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Plugin] Act 2 Bandits and Misc Quests

    Discussion in 'Archives' started by darkbluefirefly, Oct 6, 2014.

    1. hansmeier

      hansmeier Member

      Joined:
      Jul 12, 2014
      Messages:
      158
      Likes Received:
      0
      Trophy Points:
      16
    2. darkbluefirefly

      darkbluefirefly Community Developer

      Joined:
      Nov 8, 2013
      Messages:
      1,927
      Likes Received:
      18
      Trophy Points:
      38
      That's weird, what version are you using of the plugin??
      it should look like this structure.
      Questplugin.json
      Code:
      {
        "AllQuestAndStates": [
          "0",
          "1",
          "2",
          "3",
          "4",
          "5",
          "6",
          "7",
          "8",
          "9",
          "10",
          "11",
          "12",
          "13",
          "14",
          "15",
          "16",
          "17"
        ],
        "AllQuestAndStates1": [
          "Breaking Some Eggs",
          "The Siren's Cadence",
          "The Way Forward",
          "Intruders in Black",
          "Sharp and Cruel",
          "The Root of the Problem",
          "Deal with the Bandits",
          "The Bandit Lord Kraityn",
          "The Bandit Lord Alira",
          "The Bandit Lord Oak",
          "Shadow of the Vaal",
          "Lost in Love",
          "Lost in Love",
          "The Gemling Queen",
          "The Ribbon Spool",
          "Fiery Dust",
          "Piety's Pets",
          "Sceptre of God"
        ],
        "AllQuestAndStates2": [
          "a1q4",
          "a1q3",
          "a2q11",
          "a2q6",
          "a2q4",
          "a2q9",
          "a2q7",
          "a2q1",
          "a2q2",
          "a2q3",
          "a2q8",
          "a3q1",
          "a3q2",
          "a3q3",
          "a3q4",
          "a3q5",
          "a3q9",
          "a3q10"
        ],
        "AllQuestAndStates3": [
          "1",
          "-1",
          "-1",
          "-1",
          "-1",
          "-1",
          "-1",
          "-1",
          "-1",
          "-1",
          "-1",
          "-1",
          "-1",
          "-1",
          "-1",
          "-1",
          "-1",
          "-1"
        ],
        "AllQuestAndStates4": [
          "The Submerged Passage is now open. Speak to Tarkleigh for your reward.",
          "We have not done the \"The Siren's Cadence\" quest in this area yet -1 State",
          "We have not done the \"The Way Forward\" quest in this area yet -1 State",
          "We have not done the \"Intruders in Black\" quest in this area yet -1 State",
          "We have not done the \"Sharp and Cruel\" quest in this area yet -1 State",
          "We have not done the \"The Root of the Problem\" quest in this area yet -1 State",
          "We have not done the \"Deal with the Bandits\" quest in this area yet -1 State",
          "We have not done the \"The Bandit Lord Kraityn\" quest in this area yet -1 State",
          "We have not done the \"The Bandit Lord Alira\" quest in this area yet -1 State",
          "We have not done the \"The Bandit Lord Oak\" quest in this area yet -1 State",
          "We have not done the \"Shadow of the Vaal\" quest in this area yet -1 State",
          "We have not done the \"Lost in Love\" quest in this area yet -1 State",
          "We have not done the \"Lost in Love\" quest in this area yet -1 State",
          "We have not done the \"The Gemling Queen\" quest in this area yet -1 State",
          "We have not done the \"The Ribbon Spool\" quest in this area yet -1 State",
          "We have not done the \"Fiery Dust\" quest in this area yet -1 State",
          "We have not done the \"Piety's Pets\" quest in this area yet -1 State",
          "We have not done the \"Sceptre of God\" quest in this area yet -1 State"
        ],
        "TowerKey": false,
        "UndyingBlockage": false,
        "GetSewerKeys": false,
        "ProgressAct1": true,
        "ProgressAct2": true,
        "ProgressAct3": true,
        "KillAll": false,
        "Alira": false,
        "Oak": true,
        "Kraityn": false,
        "Difficulty": "Current Difficulty : Normal - Character Level is : 6",
        "CurrentGrindZone": "Current Grind Zone : The Cavern of Anger ",
        "CurrentZone": "Current Zone : The Ledge "
      }
       
    3. hansmeier

      hansmeier Member

      Joined:
      Jul 12, 2014
      Messages:
      158
      Likes Received:
      0
      Trophy Points:
      16
      3.3 afaik.
      took it from here: F:\Documents\ExilebuddyBETA\Settings\WoEBoRRamp
       
    4. darkbluefirefly

      darkbluefirefly Community Developer

      Joined:
      Nov 8, 2013
      Messages:
      1,927
      Likes Received:
      18
      Trophy Points:
      38
      Hey dude, gimme sec, will upload new version. Can you delete the old QuestPlugin.json when I upload 3.5.
      Might be latter, at the moment, I have to fix something and change the way updates to quests are done, by not relying on TICK.
       
      Last edited: Oct 26, 2014
    5. hansmeier

      hansmeier Member

      Joined:
      Jul 12, 2014
      Messages:
      158
      Likes Received:
      0
      Trophy Points:
      16
      could it be cause "the way forward" isnt marked as done yet?
       
    6. darkbluefirefly

      darkbluefirefly Community Developer

      Joined:
      Nov 8, 2013
      Messages:
      1,927
      Likes Received:
      18
      Trophy Points:
      38
      Shouldn't be that's the Thaumetic Seal Quest, it should auto do it, because in my tests, It always goes to Alira last and around 50% exploration will have found and done the Thaumetic seal. Let me check.
      Anyways your Questplugin.json doesn't have the info I need, it looks like an old version. So can you delete it, and run the bot again, click refresh when in town, then copy the content of Questplugin.json and paste it here? Thanks.
      Anyone else having issues like hansmeier is?
       
    7. hansmeier

      hansmeier Member

      Joined:
      Jul 12, 2014
      Messages:
      158
      Likes Received:
      0
      Trophy Points:
      16
      Code:
      {
        "AllQuestAndStates": [
          "0",
          "1",
          "2",
          "3",
          "4",
          "5",
          "6",
          "7",
          "8",
          "9",
          "10",
          "11",
          "12",
          "13",
          "14",
          "15",
          "16",
          "17"
        ],
        "AllQuestAndStates1": [
          "Breaking Some Eggs",
          "The Siren's Cadence",
          "The Way Forward",
          "Intruders in Black",
          "Sharp and Cruel",
          "The Root of the Problem",
          "Deal with the Bandits",
          "The Bandit Lord Kraityn",
          "The Bandit Lord Alira",
          "The Bandit Lord Oak",
          "Shadow of the Vaal",
          "Lost in Love",
          "Lost in Love",
          "The Gemling Queen",
          "The Ribbon Spool",
          "Fiery Dust",
          "Piety's Pets",
          "Sceptre of God"
        ],
        "AllQuestAndStates2": [
          "a1q4",
          "a1q3",
          "a2q11",
          "a2q6",
          "a2q4",
          "a2q9",
          "a2q7",
          "a2q1",
          "a2q2",
          "a2q3",
          "a2q8",
          "a3q1",
          "a3q2",
          "a3q3",
          "a3q4",
          "a3q5",
          "a3q9",
          "a3q10"
        ],
        "AllQuestAndStates3": [
          "0",
          "0",
          "-1",
          "0",
          "0",
          "0",
          "1",
          "-1",
          "-1",
          "1",
          "15",
          "-1",
          "-1",
          "-1",
          "-1",
          "-1",
          "-1",
          "-1"
        ],
        "AllQuestAndStates4": [
          "Quest Complete - You have opened the Submerged Passage and have received a reward from Tarkleigh.",
          "Quest Complete - You have slain Merveil. You are able to travel to Act Two now.",
          "We have not done the \"The Way Forward\" quest in this area yet -1 State",
          "Quest Complete - You have rescued Helena from the Chamber of Sins and have been rewarded by Greust.",
          "Quest Complete - You have found Maligaro's Spike and have been rewarded by Silk.",
          "Quest Complete - You have reached the other side of the Vaal Ruins and found the Wetlands.",
          "Quest Abandoned - You have aided a Bandit Lord.",
          "We have not done the \"The Bandit Lord Kraityn\" quest in this area yet -1 State",
          "We have not done the \"The Bandit Lord Alira\" quest in this area yet -1 State",
          "Quest Complete - You have slain Alira and Kraityn. Oak has rewarded you with a permanent %d to %s.",
          "Eramir believes the creature of shadow may be residing atop an ancient Vaal pyramid north of Oak's camp. Find it.",
          "We have not done the \"Lost in Love\" quest in this area yet -1 State",
          "We have not done the \"Lost in Love\" quest in this area yet -1 State",
          "We have not done the \"The Gemling Queen\" quest in this area yet -1 State",
          "We have not done the \"The Ribbon Spool\" quest in this area yet -1 State",
          "We have not done the \"Fiery Dust\" quest in this area yet -1 State",
          "We have not done the \"Piety's Pets\" quest in this area yet -1 State",
          "We have not done the \"Sceptre of God\" quest in this area yet -1 State"
        ],
        "TowerKey": false,
        "UndyingBlockage": false,
        "GetSewerKeys": false,
        "ProgressAct1": true,
        "ProgressAct2": true,
        "ProgressAct3": true,
        "KillAll": false,
        "Alira": false,
        "Oak": true,
        "Kraityn": false,
        "Difficulty": "Current Difficulty : Merciless - Character Level is : 69",
        "CurrentGrindZone": "Current Grind Zone : The Chamber of Sins Level 3 ",
        "CurrentZone": "Current Zone : The Forest Encampment "
      }
      (Sorry for the delays btw :l Have to work at weekends ... )
       
    8. darkbluefirefly

      darkbluefirefly Community Developer

      Joined:
      Nov 8, 2013
      Messages:
      1,927
      Likes Received:
      18
      Trophy Points:
      38
      You need to register and have one post to see spoilers! Thanks dude, I found it
      find
      Code:
      Log.InfoFormat("[HandleAct2Progress] We Got Apex, Doing required tasks");
      Under that there should be a commented out code

      Code:
                              RemoveExistingTasksAct2();
                              /*
                              if (_progressAct2)
                              {
                                  BasicGrindBotSettings.Instance.GrindZoneName = "The Ancient Pyramid";
                              }
      Change it to
      Code:
                              
                              if (_progressAct2)
                              {
                                  BasicGrindBotSettings.Instance.GrindZoneName = "The Ancient Pyramid";
                              }
                              RemoveExistingTasksAct2();
                              /*
      
      It should look like this
      Code:
                          if (_objectApex)
                          {
                              Log.InfoFormat("[HandleAct2Progress] We Got Apex, Doing required tasks");
      
                              
                              
                              if (_progressAct2)
                              {
                                  BasicGrindBotSettings.Instance.GrindZoneName = "The Ancient Pyramid";
                              }
                              RemoveExistingTasksAct2();
                              /*
                              if (!TaskManager.Remove("HandleOakHelp"))
                              {
                                  Log.ErrorFormat("[HandleAct2Progress] Remove HandleOakHelp failed.");
                              }
                              if (!TaskManager.Remove("HandleOakKill"))
                              {
                                  Log.ErrorFormat("[HandleAct2Progress] Remove HandleOakKill failed.");
                              }
      
                              if (!TaskManager.Remove("HandleAliraKill"))
                              {
                                  Log.ErrorFormat("[HandleAct2Progress] Remove HandleAliraKill failed.");
                              }
                              if (!TaskManager.Remove("HandleAliraHelp"))
                              {
                                  Log.ErrorFormat("[HandleAct2Progress] Remove HandleAliraHelp failed.");
                              }
      
                              if (!TaskManager.Remove("HandleKraitynKill"))
                              {
                                  Log.ErrorFormat("[HandleAct2Progress] Remove HandleKraitynKill failed.");
                              }
                              if (!TaskManager.Remove("HandleKraitynHelp"))
                              {
                                  Log.ErrorFormat("[HandleAct2Progress] Remove HandleKraitynHelp failed.");
                              }*/
                              RemoveMe();
                              return false;
                          }
      Sorry about that, I had some testing late night and forgot to put that back in. That will fix it until I push another update.
       
    9. hansmeier

      hansmeier Member

      Joined:
      Jul 12, 2014
      Messages:
      158
      Likes Received:
      0
      Trophy Points:
      16
      thx a bunch dude
       
    10. darkbluefirefly

      darkbluefirefly Community Developer

      Joined:
      Nov 8, 2013
      Messages:
      1,927
      Likes Received:
      18
      Trophy Points:
      38
      Your Welcome.
       
    11. darkbluefirefly

      darkbluefirefly Community Developer

      Joined:
      Nov 8, 2013
      Messages:
      1,927
      Likes Received:
      18
      Trophy Points:
      38
      Updated to 3.8, Should be no more issues. =).
       
    12. thenotorious

      thenotorious Member

      Joined:
      Aug 23, 2014
      Messages:
      85
      Likes Received:
      0
      Trophy Points:
      6
      thanks for the great work
       
    13. darkbluefirefly

      darkbluefirefly Community Developer

      Joined:
      Nov 8, 2013
      Messages:
      1,927
      Likes Received:
      18
      Trophy Points:
      38
      Your welcome, let me know if any issue arises.
       
    14. Jalockin

      Jalockin Member

      Joined:
      Aug 29, 2012
      Messages:
      441
      Likes Received:
      0
      Trophy Points:
      16
      this is amazing dark.... now all we need is some auto equipping ;)
       
    15. darkbluefirefly

      darkbluefirefly Community Developer

      Joined:
      Nov 8, 2013
      Messages:
      1,927
      Likes Received:
      18
      Trophy Points:
      38
      Ty, I'm tracking down a null reference error somewhere, which after fixing it. I consider it done atm. I have all quests done already as well, so the bot can do 100% quest completion. It won't be released yet until some other things like masters, mapping, crafting, tradebot, and a lot of other things I have planned. Just tied up atm getting new accs up after I screwed up with something that got most of my bots flagged.
       
    16. roneo1

      roneo1 Member

      Joined:
      Mar 21, 2014
      Messages:
      480
      Likes Received:
      20
      Trophy Points:
      18
      what did you screw up?
       
    17. darkbluefirefly

      darkbluefirefly Community Developer

      Joined:
      Nov 8, 2013
      Messages:
      1,927
      Likes Received:
      18
      Trophy Points:
      38
      Dunno, that's what i'm trying to fix lol, you will get Null reference error sometimes, it's rare but it is there.

      Edit, oh that screw up.
      Um while testing I had it loop in town, and it basically was looping walking back and fourth to the same NPC over and over.. and over. for about five hours.
       
    18. roneo1

      roneo1 Member

      Joined:
      Mar 21, 2014
      Messages:
      480
      Likes Received:
      20
      Trophy Points:
      18
      That sucks, sorry for the mishap ;s
       
    19. Arestides

      Arestides New Member

      Joined:
      Jun 13, 2012
      Messages:
      27
      Likes Received:
      0
      Trophy Points:
      1


      So if the null error is in Merveil ( where i keep getting this over and over ) It could be due to the fact after i kill her, Metadata/QuestObjects/MerveilExitTransition is not created yet, until i move ( manually if the bot sticks ) towards the door, which then allow's it to be seen... seems like you need to force a move to the door area after looting merveil maybe?
       
    20. darkbluefirefly

      darkbluefirefly Community Developer

      Joined:
      Nov 8, 2013
      Messages:
      1,927
      Likes Received:
      18
      Trophy Points:
      38
      No it's not, Um how PoE works is, the objects are all there to use, see object browser in Buddy. It should always wait and then take transition, I believe it is a 7 second delay, nerveless it loops until transition is highlight is enabled. You shouldn't have to do anything manual any more, and if you are running lower fps, it will take longer to process that the transition is interact able. The null error is in Tick(), where i'm trying to get access to an object, and the object is either;
      1- Not existent and I did not do a check for
      Code:
      if (object != Null)
      , prior to updating either the GUI or the Array.
      2- Not logged in game
      3- Area transition where there is no check if Area transition is loading, yet I'm trying to grab data.

      Most of the issue happens under low FPS, with natural FPS, it works smoothly.


      Edit, did a quick check
      Are you getting this message every 1-2 seconds?
      Code:
      [HandleMerveilArea] Now resetting the explorer.
      And I also did a double check, the object is there regardless if Mervail is dead or alive. It's a transition, therefore I have the code like

      Code:
      if (merv.IsDead)
                          {
                              var southForestExit = LokiPoe.ObjectManager.GetObjectByMetadata("Metadata/QuestObjects/MerveilExitTransition");
                              if (southForestExit != null)
                              {
                                  Log.InfoFormat("[HandleMerveilArea] MerveilExitTransition = !null && : {0}.", southForestExit.Position);
                                  //if (southForestExit.IsTargetable)
                                  //{
                                  if (_caveExitPos == Vector2i.Zero)
                                  {
                                     _caveExitPos = ExilePather.WalkablePositionFor(southForestExit, 10);
      
                                      Log.InfoFormat("[HandleMerveilArea] _caveExitPos: {0}.", _caveExitPos);
                                      if (!await Coroutines.MoveToLocation(_caveExitPos, 20, 30000))
                                      {
                                          Log.ErrorFormat("[HandleMerveilArea] MoveToLocation failed.");
                                          return true;
                                      }
      Which means, if Mervail's second form is dead, then check for the MerveilExitTransition Object ( which always exists) just not highlight able or intractable. Then I do a check to make sure the vector to get there is zero(null in vector) before trying to get there, as I'll be overwriting that vector. After that I create a walkable location towards the exit, with an area of 10 units around it otherwise things will mess up, some transitions/objects require this. Then I have the MoveToLocation return true as long as it's moving towards the location within 20 units(might change it to 15).
      Can you post me your log?
      Edit 2
      Hum.. I just saw the problem even when the exit is right next to the player, it doesn't take if the quest is already done. Also an issue with dominus when finished as well. FPS was capped at 30, i'll have to do a few runs with this to see the issue.
       
      Last edited: Oct 31, 2014

    Share This Page