• Visit Rebornbuddy
  • [FREE] Daily Studio: Legion Invasion

    Discussion in 'Neutral' started by Studio60, Aug 10, 2016.

    1. hanse1012

      hanse1012 New Member

      Joined:
      Mar 9, 2014
      Messages:
      86
      Likes Received:
      0
      Trophy Points:
      0
      It seems to work, but what is it with "Sitting out the scenario?" I did see the note about the blizzard bug, but, it has been sitting out 5 times now, is that normal?
       
    2. Folidar

      Folidar New Member

      Joined:
      Feb 25, 2015
      Messages:
      153
      Likes Received:
      0
      Trophy Points:
      0
      watching the same right now... while i can clearly see the mobs fighting below me ^^

      Edit: "and waits in the air for the scenario to complete." its on the store that way :> but i was just checking whats in HB written ^^
       
    3. Nuok

      Nuok Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      975
      Likes Received:
      28
      Trophy Points:
      28
      Restarted the client and it started working, wow is werid with lua sometime...

      did you consider using the GetInvasionInfo lua?

      you could do

      Code:
      var inv = Lua.GetReturnVal<bool>($"zone, timeLeftMinutes, rewardQuestID = GetInvasionInfo({x}); return not IsQuestFlaggedCompleted(rewardQuestID) and timeLeftMinutes > 0;", 0);
      where x is

      Code:
      3 Legion Invasion: Northern Barrens
      4 Legion Invasion: Westfall
      5 Legion Invasion: Tanaris
      6 Legion Invasion: Dun Morogh
      7 Legion Invasion: Hillsbrad
      8 Legion Invasion: Azshara
      you could replace

      Code:
              private bool InvasionInHillsbrad()        {
                return (invasionMapId == 0 && Math.Abs(0.46500000357628f - mapX) < 0.000001f && Math.Abs(0.41999998688698 - mapY) < 0.000001f);
                Logging.Write(System.Windows.Media.Colors.Chocolate, "[Profile Message]: Invasion in Hillsbrad Foothills found.");
              }
      with

      Code:
              private bool InvasionInHillsbrad()        {
                return Lua.GetReturnVal<bool>($"zone, timeLeftMinutes, rewardQuestID = GetInvasionInfo(7); return not IsQuestFlaggedCompleted(rewardQuestID) and timeLeftMinutes > 0;", 0);
                Logging.Write(System.Windows.Media.Colors.Chocolate, "[Profile Message]: Invasion in Hillsbrad Foothills found.");
              }
      and you wouldn't need to check the scenario stage as it will return true until either then event expires or you have completed the quest.
       
      Last edited: Aug 11, 2016
    4. Lastmango

      Lastmango Member Legendary

      Joined:
      Nov 25, 2014
      Messages:
      173
      Likes Received:
      5
      Trophy Points:
      18
      I've run into two instances now where it doesn't land and dismount. Once it dismounted me way up in the clouds. the other time it just hovered. What is the desired behavior here?
       
    5. Studio60

      Studio60 Well-Known Member Buddy Store Developer

      Joined:
      Sep 3, 2014
      Messages:
      3,411
      Likes Received:
      48
      Trophy Points:
      48
      It should not dismount you at all unless it stops in Orgrimmar and/or Stormwind between invasions. The behavior is to sit in the clouds and wait. It never lands during an invasion.
       
    6. Studio60

      Studio60 Well-Known Member Buddy Store Developer

      Joined:
      Sep 3, 2014
      Messages:
      3,411
      Likes Received:
      48
      Trophy Points:
      48
      I wasn't even aware of that API call. I had a few scenario snippets lying around and slapped them together. I will check that version out tomorrow. Gonna power down now after 16 hours of HB dev today. :) But thank you very much for pointing that it. Very valuable.
       
    7. Nuok

      Nuok Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      975
      Likes Received:
      28
      Trophy Points:
      28
      Some code for the console for debugging, might be helpful too :)

      Code:
      using(StyxWoW.Memory.AcquireFrame())for (var x = 3; x <= 8; x++)
      {
      var info = Lua.GetReturnValues($"return GetInvasionInfo({x})");
      if(info == null || info.Count < 3) continue;
      var questCompted = Lua.GetReturnVal<bool>($"return IsQuestFlaggedCompleted({info[2]});", 0);
      var inv = Lua.GetReturnVal<bool>($"zone, timeLeftMinutes, rewardQuestID = GetInvasionInfo({x}); return not IsQuestFlaggedCompleted(rewardQuestID) and timeLeftMinutes > 0;", 0);
      Log($"Index {x} Name: {info[0]} TimeRemaining: {info[1]}min QuestId {info[2]} QuestCompleted {questCompted} CanDoInvasion {inv}"); 
      }
       
    8. hodge74

      hodge74 Member

      Joined:
      Oct 12, 2012
      Messages:
      400
      Likes Received:
      1
      Trophy Points:
      18
      if you target certain mobs you get extra shards, dont need to dismount just tag them
       
    9. Studio60

      Studio60 Well-Known Member Buddy Store Developer

      Joined:
      Sep 3, 2014
      Messages:
      3,411
      Likes Received:
      48
      Trophy Points:
      48
      It is not going to happen in this free product. All community developers are still working on fixing stuff the prepatch broke and preparing products for the Legion launch and that includes me. I just don't have the time to invest 3-4 days into a free product that lasts 3 weeks until the event is over. If I miss my submission deadlines because I am working on a free gift to the community and have to miss out on even a few dozen sales, then I would not be a good businessman. Sorry. The source code is available though. You are free to take it and find a developer that has the time to adapt it to your wishes.
       
    10. madness

      madness New Member

      Joined:
      Oct 4, 2013
      Messages:
      11
      Likes Received:
      0
      Trophy Points:
      0
      Just tried and:
      MoveTo failed to move to the location: <1767.51, -4306.896, 6.219518>
      [Profile Message]: We are not, where we are supposed to be. Attempting to recalculate our journey.
      [Travel Studio]: We couldn't reach our goal location after 3 attempts. Aborting now for security reasons.
      Bot stopping! Reason: We couldn't reach our goal location after 3 attempts. Aborting now for security reasons.

      Edit: Started bot in Orgrimar
       
      Last edited: Aug 11, 2016
    11. Studio60

      Studio60 Well-Known Member Buddy Store Developer

      Joined:
      Sep 3, 2014
      Messages:
      3,411
      Likes Received:
      48
      Trophy Points:
      48
      A problem analysis is impossible without a full log. Please respect the thread rules and attach it (Guide: How to Attach your Log). Also just try restarting HB and WoW. It might be a one time fluke. Got dozens of people telling me today how awesome it works so a general problem is pretty unlikely. The profile is currently used by over 400 users. Also try completing the prelaunch quest. Stopping in the middle can cause some portals to phase out, breaking travel.
       
    12. madness

      madness New Member

      Joined:
      Oct 4, 2013
      Messages:
      11
      Likes Received:
      0
      Trophy Points:
      0
      Thank you so much for your quick reply, will test again and will post the full log if there is anything wrong again,
      Thank you for your great work, I did trial some of your guys Raid profiles they're awesome!
       
    13. nokdu

      nokdu New Member

      Joined:
      Aug 16, 2010
      Messages:
      208
      Likes Received:
      3
      Trophy Points:
      0
      thank you this!!
      But I have run into problems after doing a westfall invasion.. it wants to cross the ocean.. and dies.
      Am i doing something wrong?
      anyone else having this problem?
       
    14. wowme87

      wowme87 New Member

      Joined:
      Nov 7, 2014
      Messages:
      28
      Likes Received:
      0
      Trophy Points:
      1
      How do we use the Studio Companion with this? I can't find it in the plug-in at all.
       
    15. Studio60

      Studio60 Well-Known Member Buddy Store Developer

      Joined:
      Sep 3, 2014
      Messages:
      3,411
      Likes Received:
      48
      Trophy Points:
      48
      You just need to have the plugin enabled as it calculates the traveling routes. You do need to go through the standard Honorbudy "Load From BuddyStore" dialog. It is listed under "Daily Studio".
       
    16. Studio60

      Studio60 Well-Known Member Buddy Store Developer

      Joined:
      Sep 3, 2014
      Messages:
      3,411
      Likes Received:
      48
      Trophy Points:
      48
      That should not happen. Sounds like a bit of a fluke in some Navigator calculations. Could even happen through the Honorbuddy core. Try reopening HB and loading the profile through the "Load from Buddystore" dialog once more.
       
    17. nokdu

      nokdu New Member

      Joined:
      Aug 16, 2010
      Messages:
      208
      Likes Received:
      3
      Trophy Points:
      0
      One more suggestion..
      I am noticing other people.. standing almost exactly where I am.
      Is it possible to randomize the place?.. or stay further away from other.. bots?
       
    18. dens

      dens Member

      Joined:
      Mar 10, 2012
      Messages:
      63
      Likes Received:
      0
      Trophy Points:
      6
      what about make quests The Legion Returns ?
       
    19. Studio60

      Studio60 Well-Known Member Buddy Store Developer

      Joined:
      Sep 3, 2014
      Messages:
      3,411
      Likes Received:
      48
      Trophy Points:
      48
      Aion has created a product for that and it is about to hit the store. Just keep an eye out for it.
       
    20. Studio60

      Studio60 Well-Known Member Buddy Store Developer

      Joined:
      Sep 3, 2014
      Messages:
      3,411
      Likes Received:
      48
      Trophy Points:
      48
      That is part of the update that got approved a few minutes ago. If you restart HB you will get the new version.
       

    Share This Page