• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Developer Release] Honorbuddy - Developer Preview for MoP

    Discussion in 'Archives' started by Nesox, Sep 5, 2012.

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

      Nesox Moderator Staff Member Moderator Buddy Core Dev

      Joined:
      Jan 15, 2010
      Messages:
      1,563
      Likes Received:
      48
      Trophy Points:
      48
      Utilities.AssemblyDirectory
       
    2. eli5492

      eli5492 Member

      Joined:
      Apr 23, 2011
      Messages:
      70
      Likes Received:
      1
      Trophy Points:
      8
      That refers to the AppData folder.

      Removing Talent does not update SpellManager.Spells but RawSpells does
      SpellManager.HasSpell continues to return true after I remove a talent. Works fine if I swap specs.
       
      Last edited: Sep 6, 2012
    3. tuanha

      tuanha Well-Known Member

      Joined:
      Nov 29, 2011
      Messages:
      6,998
      Likes Received:
      124
      Trophy Points:
      63
      This code used to work well
      Now it broken, you guy should change that into
      Code:
      public string PathCleanseASAP = Path.Combine(AppDomain.CurrentDomain.BaseDirectory,
                                                           string.Format(
                                                               @"CustomClasses/TuanHA Holy Paladin/THListCleanseASAP.xml"));
      AppDomain.CurrentDomain.BaseDirectory replace Logging.ApplicationPath

      Hope it help.

      BTW, someone pls call Bobby53, his LazyRaider return logging error
       
      Last edited: Sep 6, 2012
    4. weischbier

      weischbier Guest

      I love to see an example of how your unnecessary Logging change works.
      What Loglevel writes where and an example...

      To be honest that was wasted time.
       
    5. Kamilche

      Kamilche New Member

      Joined:
      Oct 2, 2010
      Messages:
      551
      Likes Received:
      30
      Trophy Points:
      0
      Yeah, I'd like to see what the replacement is for Logging as well. The Singular class can't provide an example, because now it's broken too.
       
    6. Nuok

      Nuok Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      975
      Likes Received:
      28
      Trophy Points:
      28
      Styx.Common.Logging

      Note you need to reference PresentationCore

      Code:
      using System.Windows.Media;
      using Styx.Common;
      
      Logging.Write(LogLevel.Normal, Colors.Blue, "WoW");
       
      Last edited: Sep 6, 2012
    7. Kamilche

      Kamilche New Member

      Joined:
      Oct 2, 2010
      Messages:
      551
      Likes Received:
      30
      Trophy Points:
      0
      It looks like the new logging is using System.Windows.Media.Color color, instead of System.Drawing.Color. This requires a reference to PresentationCore.dll, and the CC developer to using System.Windows.Media.Color colors instead of System.Drawing.Color colors.

      You could convert your System.Drawing.Color color to a System.Windows.Media color, as follows:

      Code:
              public static System.Windows.Media.Color ColorToWColor(System.Drawing.Color clr)
              {
                  return System.Windows.Media.Color.FromRgb(clr.R, clr.G, clr.B);
              }
      
      
       
      Last edited: Sep 6, 2012
    8. Komp

      Komp Member

      Joined:
      Feb 21, 2010
      Messages:
      45
      Likes Received:
      0
      Trophy Points:
      6
      SpellManager work not at all spells, i hope this only because dev build.
       
    9. Kamilche

      Kamilche New Member

      Joined:
      Oct 2, 2010
      Messages:
      551
      Likes Received:
      30
      Trophy Points:
      0
      I've fixed all the errors in Singular except one - SingularSettings references Styx.Common.Logging.ApplicationPath, and I can find no 'ApplicationPath' symbol in the Object Browser. Do you have a replacement line for that?
       
    10. Komp

      Komp Member

      Joined:
      Feb 21, 2010
      Messages:
      45
      Likes Received:
      0
      Trophy Points:
      6
      Utilities.AssemblyDirectory
       
    11. Kamilche

      Kamilche New Member

      Joined:
      Oct 2, 2010
      Messages:
      551
      Likes Received:
      30
      Trophy Points:
      0
      Using Utilities.AssemblyDirectory instead of Styx.Common.Logging.ApplicationPath gives the following error:

      Code:
      Error	3	The type or namespace name 'AssemblyDirectory' does not exist in the namespace 'Singular.Utilities' (are you missing an assembly reference?)	
      
      Ah, I see it is actually this:

      Code:
       Styx.Common.Utilities.AssemblyDirectory
       
      Last edited: Sep 6, 2012
    12. eli5492

      eli5492 Member

      Joined:
      Apr 23, 2011
      Messages:
      70
      Likes Received:
      1
      Trophy Points:
      8
      Level 85 Assassination Rogue
      SpellManager.RawSpells is missing the abilities:
      Code:
      "Dispatch" SpellID: 111240
      "Envenom" SpellID: 32645
      
      and contains not "learned" spells:
      Code:
      "Eviscerate" SpellID: 2098 (Replaced by Envenom)
      "Sinister Strike" SpellID: 1752(Replaced by Mutilate)
      
       
      Last edited: Sep 6, 2012
    13. Komp

      Komp Member

      Joined:
      Feb 21, 2010
      Messages:
      45
      Likes Received:
      0
      Trophy Points:
      6
      Also DK spell Heart strike at least dont work
       
      Last edited: Sep 6, 2012
    14. Kamilche

      Kamilche New Member

      Joined:
      Oct 2, 2010
      Messages:
      551
      Likes Received:
      30
      Trophy Points:
      0
      Singular determined my spec as 'lowbie', as a level 80 Destruction Warlock.' Now I don't want to click the 'Start' button, because it will do a level 1 rotation.
       
    15. Kamilche

      Kamilche New Member

      Joined:
      Oct 2, 2010
      Messages:
      551
      Likes Received:
      30
      Trophy Points:
      0
      OK, what is the replacement for 'WoWSpell.School'?
       
    16. Kamilche

      Kamilche New Member

      Joined:
      Oct 2, 2010
      Messages:
      551
      Likes Received:
      30
      Trophy Points:
      0
      Is there a replacement for 'WoWSpell.PowerType'!
       
    17. Kamilche

      Kamilche New Member

      Joined:
      Oct 2, 2010
      Messages:
      551
      Likes Received:
      30
      Trophy Points:
      0
      First bug I found, portion of log attached. It was trying to see if a raid member was being attacked.

      Code:
      [20:08:32.229 N] 01:08:32 MyBaseClass.Pulse
      [20:08:32.263 N] 01:08:32 1
      [20:08:32.295 N] 01:08:32 2
      [20:08:32.361 N] 01:08:32 3
      [20:08:32.427 N] 01:08:32 4
      [20:08:32.460 N] 01:08:32 5
      [20:08:32.557 N] 01:08:32 6
      [20:08:32.624 N] 01:08:32 7
      [20:08:32.656 N] 01:08:32 8
      [20:08:32.689 N] 01:08:32 9
      [20:08:32.722 N] 01:08:32 10
      [20:08:32.754 N] 01:08:32 11
      [20:08:32.787 N] 01:08:32 GetAdds
      [20:08:32.833 D] System.ArgumentException: Address cannot be zero.
      Parameter name: address
         at Styx.MemoryManagement.ExternalProcessReader.ReadBytes(IntPtr address, Int32 count, Boolean isRelative)
         at Styx.MemoryManagement.ExternalProcessReader.Read[T](IntPtr address, Boolean isRelative)
         at Styx.WoWInternals.WoWObjects.LocalPlayer.GetRaidMemberGuid(Int32 index)
         at Styx.WoWInternals.WoWObjects.WoWUnit.get_IsTargetingMyRaidMember()
         at FTW.FightThisWay.MyBaseClass.<GetAdds>b__4c(WoWUnit unit) in c:\Users\Cindy\Downloads\Honorbuddy 2.5.6130.393\CustomClasses\FTW\FightThisWay.cs:line 2162
         at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
         at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
         at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
         at FTW.FightThisWay.MyBaseClass.GetAdds() in c:\Users\Cindy\Downloads\Honorbuddy 2.5.6130.393\CustomClasses\FTW\FightThisWay.cs:line 2160
         at FTW.FightThisWay.MyBaseClass.Pulse() in c:\Users\Cindy\Downloads\Honorbuddy 2.5.6130.393\CustomClasses\FTW\FightThisWay.cs:line 573
         at FTW.FightThisWay.Pulse() in c:\Users\Cindy\Downloads\Honorbuddy 2.5.6130.393\CustomClasses\FTW\FightThisWay.cs:line 216
         at Styx.Pulsator.Pulse(PulseFlags flags)
         at Styx.CommonBot.TreeRoot.()
         at Styx.CommonBot.TreeRoot.()
      [20:08:32.951 N] 01:08:32 Pulse Not FirstPulse
      [20:08:32.984 N] 01:08:32 MyBaseClass.Pulse
      
       
    18. Kamilche

      Kamilche New Member

      Joined:
      Oct 2, 2010
      Messages:
      551
      Likes Received:
      30
      Trophy Points:
      0
      There is no ability to determine the amount of Burning Embers a destruction warlock has.
       
    19. Kamilche

      Kamilche New Member

      Joined:
      Oct 2, 2010
      Messages:
      551
      Likes Received:
      30
      Trophy Points:
      0
      'Incinerate' and 'Soul Link' are unknown spells for a destruction warlock.
       
    20. bobby53

      bobby53 New Member

      Joined:
      Jan 15, 2010
      Messages:
      4,040
      Likes Received:
      178
      Trophy Points:
      0
      Retested issues submitted earlier against build .393, results below:

      Additionally reporting the following:

      LocalPlayer.PartyMembers/.PartyMemberInfos/.RaidMembers/.RaidMemberInfos always empty
      This can be observed using LazyRaider in any party/raid. .Count is always zero and list is empty
       
    Thread Status:
    Not open for further replies.

    Share This Page