• Visit Rebornbuddy
  • [Profiles] Adventure Mode Bounties - Community Edition

    Discussion in 'Archives' started by sychotix, Apr 4, 2014.

    Thread Status:
    Not open for further replies.
    1. cossie_topaloglou

      cossie_topaloglou New Member

      Joined:
      Apr 30, 2013
      Messages:
      84
      Likes Received:
      0
      Trophy Points:
      0
      Hello mate, well the one I am telling you about, yeah it said that it completed all bounties on DB, and I checked on the map that it completed all bounties, but it left the game without going to town, just left game on the last map it was clearing.
      Another time also, it left game with only doing 2 bounties and the DB dialog was "leaving game, no more bounties left to do".

      Again thanks for everything! Donating is least I can do, since I cannot help u with programming : )
       
    2. nergoza

      nergoza New Member

      Joined:
      Aug 13, 2012
      Messages:
      72
      Likes Received:
      0
      Trophy Points:
      0
      Another bug:
      Exception when terminating bot thread. System.ArgumentNullException: Value cannot be null.
      Parameter name: source
      at System.Linq.Enumerable.Where[TSource](IEnumerable`1 source, Func`2 predicate)
      at Trinity.MiniMapMarker.AddMarkersToList(List`1 objectives) in c:\Users\liran\Desktop\db_new\test\Plugins\Trinity\Movement\MiniMapMarker.cs:line 115
      at Trinity.MiniMapMarker.<>c__DisplayClass2b.<DetectMiniMapMarkers>b__2a(Object ret) in c:\Users\liran\Desktop\db_new\test\Plugins\Trinity\Movement\MiniMapMarker.cs:line 141
      at Zeta.TreeSharp.Action.RunAction(Object context)
      at Zeta.TreeSharp.Action..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.TreeSharp.Sequence..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.TreeSharp.DecoratorContinue..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.TreeSharp.Sequence..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.TreeSharp.PrioritySelector..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.TreeSharp.PrioritySelector..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.Common.HookExecutor.Run(Object context)
      at Zeta.TreeSharp.Action.RunAction(Object context)
      at Zeta.TreeSharp.Action..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.TreeSharp.PrioritySelector..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.TreeSharp.PrioritySelector..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.Common.HookExecutor.Run(Object context)
      at Zeta.TreeSharp.Action.RunAction(Object context)
      at Zeta.TreeSharp.Action..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.TreeSharp.PrioritySelector..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.Bot.BotMain.()

      Exception when terminating bot thread. System.ArgumentNullException: Value cannot be null.
      Parameter name: source
      at System.Linq.Enumerable.Where[TSource](IEnumerable`1 source, Func`2 predicate)
      at Trinity.MiniMapMarker.AddMarkersToList(List`1 objectives) in c:\Users\liran\Desktop\db_new\test\Plugins\Trinity\Movement\MiniMapMarker.cs:line 115
      at Trinity.MiniMapMarker.<>c__DisplayClass2b.<DetectMiniMapMarkers>b__2a(Object ret) in c:\Users\liran\Desktop\db_new\test\Plugins\Trinity\Movement\MiniMapMarker.cs:line 141
      at Zeta.TreeSharp.Action.RunAction(Object context)
      at Zeta.TreeSharp.Action..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.TreeSharp.Sequence..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.TreeSharp.DecoratorContinue..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.TreeSharp.Sequence..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.TreeSharp.PrioritySelector..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.TreeSharp.PrioritySelector..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.Common.HookExecutor.Run(Object context)
      at Zeta.TreeSharp.Action.RunAction(Object context)
      at Zeta.TreeSharp.Action..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.TreeSharp.PrioritySelector..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.TreeSharp.PrioritySelector..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.Common.HookExecutor.Run(Object context)
      at Zeta.TreeSharp.Action.RunAction(Object context)
      at Zeta.TreeSharp.Action..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.TreeSharp.PrioritySelector..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.Bot.BotMain.()

      Exception when terminating bot thread. System.ArgumentNullException: Value cannot be null.
      Parameter name: source
      at System.Linq.Enumerable.Where[TSource](IEnumerable`1 source, Func`2 predicate)
      at Trinity.MiniMapMarker.AddMarkersToList(List`1 objectives) in c:\Users\liran\Desktop\db_new\test\Plugins\Trinity\Movement\MiniMapMarker.cs:line 115
      at Trinity.MiniMapMarker.<>c__DisplayClass2b.<DetectMiniMapMarkers>b__2a(Object ret) in c:\Users\liran\Desktop\db_new\test\Plugins\Trinity\Movement\MiniMapMarker.cs:line 141
      at Zeta.TreeSharp.Action.RunAction(Object context)
      at Zeta.TreeSharp.Action..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.TreeSharp.Sequence..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.TreeSharp.DecoratorContinue..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.TreeSharp.Sequence..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.TreeSharp.PrioritySelector..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.TreeSharp.PrioritySelector..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.Common.HookExecutor.Run(Object context)
      at Zeta.TreeSharp.Action.RunAction(Object context)
      at Zeta.TreeSharp.Action..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.TreeSharp.PrioritySelector..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.TreeSharp.PrioritySelector..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.Common.HookExecutor.Run(Object context)
      at Zeta.TreeSharp.Action.RunAction(Object context)
      at Zeta.TreeSharp.Action..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.TreeSharp.PrioritySelector..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.Bot.BotMain.()

      Happens in GARDENS OF HOPE 2ND TIER - bot just stand still
       
    3. Clairissa

      Clairissa New Member

      Joined:
      Apr 6, 2014
      Messages:
      33
      Likes Received:
      0
      Trophy Points:
      0
      Act 4 seems to work just one time, then it gives nothing but this:

      Creating new game. Params: [Act: OpenWorld, Difficulty: Expert, Quest: -1, QuestStep: -1, ResumeFromSave: False, IsPrivate: True]
      Loaded profile Act 4 - Loader
      GameChanged. Clearing actors
      [Trinity] New Game - resetting everything
      ProfileOrderManager.OnGameJoined, Reloading profile.
      [Trinity] New Game - resetting everything
      Loaded profile Act 4 - Loader
      Game joined, Resetting profile caches.
      Act 4 Bounties
      [BountyProfile] Bounties complete returned null.
      Leaving game, reason: No more bounties that we can do. Resetting game.
      Last run acquired 0 gold.
      [Trinity] New Game - resetting everything
       
    4. john88

      john88 New Member

      Joined:
      Apr 24, 2011
      Messages:
      555
      Likes Received:
      1
      Trophy Points:
      0
      My barb finishes all the bounties for act 4, goes to town, and does nothing. He won't talk to Tyrael to turn in bounties. I have to manually click on Tyrael.

      Edit: I also just saw bot leave game prematurely (only 3 bounties done).
       
      Last edited: Apr 10, 2014
    5. sychotix

      sychotix New Member

      Joined:
      Dec 13, 2013
      Messages:
      727
      Likes Received:
      5
      Trophy Points:
      0
      Hm. I am not really sure then. I had an idea if it was messing up after we went to town, but no idea right now if it doesn't even go back to town. It sounds like the tag <ActBountiesComplete act="A4"> is returning false, which it definitely shouldn't. I wonder if this is just another issue that is caused by DB's corrupt BountyInfo bug.


      Code:
      var b = ZetaDia.ActInfo.Bounties.Where(bounty => bounty.Act.ToString().Equals(Act) && bounty.Info.State == QuestState.Completed);
                  if(b.FirstOrDefault() != null) Logger.Log("Bounties Complete count:" + b.Count());
                  else Logger.Log("Bounties complete returned null.");
                  return b.FirstOrDefault() != null && b.Count() == 5;
      This is the current logic that ActBountiesComplete has. This basically says the following:
      Give me a list of all bounties in Act 4 with the state of completed
      If the list exists, print out how many were completed
      otherwise, say that it returned null.
      return true that we should talk to tyreal if we have completed exactly 5 bounties.

      The logic seems sound to me and has worked on many occasions.
       
      Last edited: Apr 10, 2014
    6. richardpancer

      richardpancer New Member

      Joined:
      Apr 2, 2014
      Messages:
      36
      Likes Received:
      0
      Trophy Points:
      0
      1 cached earned after the fix

      @sychotix:
      confirm with me that this svn auto updates (kinda like dropbox right?)
      so you'd always be with most recent committed files?
       
    7. Akigis

      Akigis New Member

      Joined:
      Aug 9, 2011
      Messages:
      15
      Likes Received:
      0
      Trophy Points:
      0
      nergoza, just use 1.8.17 Trinity
       
    8. sychotix

      sychotix New Member

      Joined:
      Dec 13, 2013
      Messages:
      727
      Likes Received:
      5
      Trophy Points:
      0
      I do not believe the SVN auto updates unless you tell it to. If you are using an SVN client, right click and click update. If you are using EZUpdater, click the config and then click update (and restart DB).

      What is this change that you speak of?

      @Akigis, yeah it seems that Trinity 1.8.18 has problems. Everyone should use trinity 1.8.17.
       
    9. taskmanager

      taskmanager New Member

      Joined:
      Mar 18, 2014
      Messages:
      400
      Likes Received:
      1
      Trophy Points:
      0
      sychotx. ever thought about making Faq =) lol
       
    10. taskmanager

      taskmanager New Member

      Joined:
      Mar 18, 2014
      Messages:
      400
      Likes Received:
      1
      Trophy Points:
      0
      and paste the link in your sig
       
    11. sychotix

      sychotix New Member

      Joined:
      Dec 13, 2013
      Messages:
      727
      Likes Received:
      5
      Trophy Points:
      0
      I've thought about it, and people will read it about as much as they read the first post before asking questions.
       
    12. Akigis

      Akigis New Member

      Joined:
      Aug 9, 2011
      Messages:
      15
      Likes Received:
      0
      Trophy Points:
      0
    13. skrhaha

      skrhaha New Member

      Joined:
      Aug 17, 2013
      Messages:
      81
      Likes Received:
      0
      Trophy Points:
      0
      and what's the fix?
       
    14. richardpancer

      richardpancer New Member

      Joined:
      Apr 2, 2014
      Messages:
      36
      Likes Received:
      0
      Trophy Points:
      0
      n/a
       
      Last edited: Apr 10, 2014
    15. Liberty

      Liberty Member

      Joined:
      Nov 28, 2012
      Messages:
      122
      Likes Received:
      0
      Trophy Points:
      16
      Last edited: Apr 10, 2014
    16. sychotix

      sychotix New Member

      Joined:
      Dec 13, 2013
      Messages:
      727
      Likes Received:
      5
      Trophy Points:
      0
      Not really the fix I was looking for =P Guess I'll have to keep trying to look into it tomorrow.
       
    17. skrhaha

      skrhaha New Member

      Joined:
      Aug 17, 2013
      Messages:
      81
      Likes Received:
      0
      Trophy Points:
      0
      For your concern, we can simply open all the cache at the start of the game, and because there's no way that bot can do a town run between the end of the last game and the start of this game, it'll never repro this issue. Glad to hear that it's possible to open the chest.

      And I don't think it's a small problem that can be ignored. It's preventing a lot of people testing & using this plugin/profile you and other writer devoted effort to.
       
    18. ghost666

      ghost666 New Member

      Joined:
      Dec 4, 2011
      Messages:
      175
      Likes Received:
      1
      Trophy Points:
      0
      Failed to load profile: Element RefreshBountyCache is not supported. Please check your XML and try again. (<RefreshBountyCache />) Line 12
      System.Exception: Element RefreshBountyCache is not supported. Please check your XML and try again. (<RefreshBountyCache />) Line 12
      at ..(PropertyInfo , XElement , Object )
      at Zeta.XmlEngine.XmlEngine.Load(Object obj, XElement element)
      at ..(XElement , Type )
      at ...(XElement )
      at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
      at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
      at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
      at ..(XElement , PropertyInfo )
      at ..(PropertyInfo , XElement , Object )
      at Zeta.XmlEngine.XmlEngine.Load(Object obj, XElement element)
      at Zeta.Bot.Profile.Profile.Load(XElement element, String path)
      at Zeta.Bot.Profile.Profile.Load(String path)
      at Zeta.Bot.ProfileManager.Load(String profilePath, Boolean rememberPath)


      any1 that could help me?
       
    19. sychotix

      sychotix New Member

      Joined:
      Dec 13, 2013
      Messages:
      727
      Likes Received:
      5
      Trophy Points:
      0
      Update your profiles. You are loading an old version. Make sure you are also using the version 0.0.13 of the plugin.

      Also, going to bed. Can't to any more testing today because blizzard has been giving me the disconnection bug for the last like 20 minutes. Fun fun.
       
    20. ghost666

      ghost666 New Member

      Joined:
      Dec 4, 2011
      Messages:
      175
      Likes Received:
      1
      Trophy Points:
      0
      I am using the 0.0.13 of the plugin.
       
    Thread Status:
    Not open for further replies.

    Share This Page