• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Beta] Demonbuddy daily beta builds

    Discussion in 'Archives' started by Nesox, Oct 11, 2012.

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

      jiznadj New Member

      Joined:
      Nov 3, 2012
      Messages:
      412
      Likes Received:
      1
      Trophy Points:
      0
      Hey Nesox, just wondering if you have checked into the random profile tag running profiles more than once? I use starter profiles to switch up acts, but if I try to use the random feature it ends up running the same areas multiple times. This is part of my starter profile, and at the end of every individual profile in Act1 will link back to this one to switch them up. I use the trinity once tag so that this will load a maximum of four times, but DB does not seem to remember which profiles it has already run, and will pick the same one more than once.


      <TrinityUseOnce questId="1" id="1" max="4">
      <LoadProfile loadRandom="True">
      <Profiles>
      <Profile>act1_01.xml</Profile>
      <Profile>act1_02.xml</Profile>
      <Profile>act1_03.xml</Profile>
      <Profile>act1_04.xml</Profile>
      </Profiles>
      </LoadProfile>
      </TrinityUseOnce>
       
    2. Nesox

      Nesox Moderator Staff Member Moderator Buddy Core Dev

      Joined:
      Jan 15, 2010
      Messages:
      1,563
      Likes Received:
      48
      Trophy Points:
      48
      New build up!
      Changelog .75
      • "monsterPower" added in the GameParams so a profile can override the value in the settings, example: <GameParams quest="87700" step="-1" act="A1" difficulty="Inferno" resumeFromSave="False" monsterPower="5" />
      • No longer spams the OnPlayerDied and OnGameJoined events in the ProfileOrderManager.
      • Load profile tag now stores the path in GlobalSettings.
      • Reverted the changes i made to the "create town portal" behavior
       
    3. Poplkas

      Poplkas Banned

      Joined:
      Nov 7, 2012
      Messages:
      106
      Likes Received:
      0
      Trophy Points:
      0
      this will be stable release? any eta?
       
    4. Nesox

      Nesox Moderator Staff Member Moderator Buddy Core Dev

      Joined:
      Jan 15, 2010
      Messages:
      1,563
      Likes Received:
      48
      Trophy Points:
      48
      Yes, if there's no other major issues that pops up out of nowhere :)

      That's probablly the same issue as Bombastic described, it's fixed in #75
       
      Last edited: Nov 9, 2012
    5. Poplkas

      Poplkas Banned

      Joined:
      Nov 7, 2012
      Messages:
      106
      Likes Received:
      0
      Trophy Points:
      0
      why you delete my post about ? Oo
       
      Last edited by a moderator: Nov 9, 2012
    6. Nesox

      Nesox Moderator Staff Member Moderator Buddy Core Dev

      Joined:
      Jan 15, 2010
      Messages:
      1,563
      Likes Received:
      48
      Trophy Points:
      48
      It's not safe to use it, it was included by misstake
       
    7. va1ar

      va1ar New Member

      Joined:
      Nov 7, 2012
      Messages:
      3
      Likes Received:
      0
      Trophy Points:
      0
      strange thing - after updating Db , i cant see plugins any more,and downloading and making another db folder wit new plugins dont help eather.. any ideas , feels like its me only? what problem it can be?
       
    8. Poplkas

      Poplkas Banned

      Joined:
      Nov 7, 2012
      Messages:
      106
      Likes Received:
      0
      Trophy Points:
      0
      where is logs?
      idk but all is fine for me.
       
    9. jiznadj

      jiznadj New Member

      Joined:
      Nov 3, 2012
      Messages:
      412
      Likes Received:
      1
      Trophy Points:
      0
      Is the scheduler broken in this new (#75) build? Also has a suggestion for the scheduler, instead of a set number for the run count, would it be possible to do like a min/max run count? So instead of always running the same number of times, it could do like a minimum of 5 and a maximum of 15 or whatever you set it to so it would be less "botty"?
       
    10. Poplkas

      Poplkas Banned

      Joined:
      Nov 7, 2012
      Messages:
      106
      Likes Received:
      0
      Trophy Points:
      0
      less "botty" will be only when you delete the bot.
       
    11. jiznadj

      jiznadj New Member

      Joined:
      Nov 3, 2012
      Messages:
      412
      Likes Received:
      1
      Trophy Points:
      0
      Never!
       
    12. ater

      ater New Member

      Joined:
      Sep 5, 2012
      Messages:
      11
      Likes Received:
      0
      Trophy Points:
      0
      Hey Nesox, does demonbuddy ignore those hidden moths and trees in act 1 with belphegor and without plugins?
      I am using trinity and got a lot of stucks because trinity doesn't ignore them and waits for them until they show up.
       
    13. in2fun

      in2fun New Member

      Joined:
      Sep 23, 2010
      Messages:
      871
      Likes Received:
      8
      Trophy Points:
      0
      ater
      have to add the moth into ignore.
      think its 6500
      add under
      Code:
      private static readonly HashSet<int> hashActorSNOIgnoreBlacklist = new HashSet<int> { 
       
    14. ater

      ater New Member

      Joined:
      Sep 5, 2012
      Messages:
      11
      Likes Received:
      0
      Trophy Points:
      0
      Thanks that could be a solution. I found one hidden moth with SNO 99556 and i ask myself if the sno system divide between hidden moths, revealed moths and champion moths.
      ----------------------------------------------------------------------------------------------------
      Ok, it doesn't divide in hidden and unhidden or champion moth.

      Is there a possibility to blacklist only hidden creeps?
       
      Last edited: Nov 9, 2012
    15. Nesox

      Nesox Moderator Staff Member Moderator Buddy Core Dev

      Joined:
      Jan 15, 2010
      Messages:
      1,563
      Likes Received:
      48
      Trophy Points:
      48
      This is how we determine if a unit is attackable in db, trinity has it's own targeting.
      The moths etc. has the IsBurrowed/IsUntargetable propertys set to true from what i can tell.
      Feel free to use it.

      PHP:
              /// <summary> Query if 'acd' is valid a ACD. </summary>
              /// <param name="unit"> The unit. </param>
              /// <returns> true if valid acd, false if not. </returns>
              
      private bool IsAttackable(DiaUnit unit)
              {
                  
      ACD acd unit.CommonData;
                  if (
      acd == null || unit.ACDGuid == -1)
                      return 
      false;

                  
      AnimationState animationState GetAnimationStateForACD(acd);
                  if (
      animationState == AnimationState.Dead)
                      return 
      false;

                  
      bool isAttackble = !unit.IsUntargetable &&
                      !
      unit.IsSlowdownImmune &&
                      !
      unit.IsStunImmune &&
                      !
      unit.IsUninterruptible &&
                      !
      unit.IsRootImmune &&
                      !
      unit.IsBurrowed &&
                      !
      unit.IsHidden &&
                      !
      unit.IsDead;
                  
                  return 
      isAttackble;
              }
       
    16. ater

      ater New Member

      Joined:
      Sep 5, 2012
      Messages:
      11
      Likes Received:
      0
      Trophy Points:
      0
      Thanks Nesox. Trinitiy has a similar function to detect burrowed units but it seems to be broken. (Line 2756)
      I will see how i can use/implement that code.
       
    17. rrrix

      rrrix DEVELOPER Buddy Core Dev

      Joined:
      Jul 11, 2010
      Messages:
      3,449
      Likes Received:
      61
      Trophy Points:
      0
      Hi Nesox,

      I'm getting NullPointerException in trinity with Beta .75. Trinity tends to use huge multi thousand line methods, which makes debugging things impossibly time consuming.

      Is it possible when compiling plugins to make them into "debug" mode so that the StackTrace includes the line numbers where the exception occurred?

      E.g. this method is approximately 1300 lines, and I have no idea where the null object is:
      Code:
      [13:36:06.995 D] System.NullReferenceException: Object reference not set to an instance of an object.
         at GilesTrinity.GilesTrinity.GilesHandleTarget(Object ret)
      
       
    18. Nesox

      Nesox Moderator Staff Member Moderator Buddy Core Dev

      Joined:
      Jan 15, 2010
      Messages:
      1,563
      Likes Received:
      48
      Trophy Points:
      48
      Try turning on all exceptions ( ctrl + alt + e ), I assume you know how to attach vs to db etc. ?
       
    19. rrrix

      rrrix DEVELOPER Buddy Core Dev

      Joined:
      Jul 11, 2010
      Messages:
      3,449
      Likes Received:
      61
      Trophy Points:
      0
      Figured it out, had to RTFM.

      Thanks for the tip!
       
      Last edited: Nov 9, 2012
    20. pokefreak

      pokefreak Member

      Joined:
      Nov 23, 2011
      Messages:
      56
      Likes Received:
      0
      Trophy Points:
      6
      the download link is not working pls fix thx
       
    Thread Status:
    Not open for further replies.

    Share This Page