• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Idea] Colored HB text logs.

    Discussion in 'Archives' started by Daydreamer, Apr 19, 2010.

    1. Daydreamer

      Daydreamer New Member

      Joined:
      Mar 6, 2010
      Messages:
      506
      Likes Received:
      6
      Trophy Points:
      0
      Hey guys, was thinking that it would be much more manageable and cool to read the Honorbuddy textlog if it was colored.

      Example.

      Attacking Library Guardian at 12 yards
      Lightning Bolt
      Flame Shock: Instant Cast.
      Flame Shock
      Lava Burst
      Lightning Bolt

      Library Guardian dies
      [Whisper] [Name]: Hi, you in for raiding Ulduar tonight?

      Also it would be really nice to see whispers in the log. And /says?

      Daydreamer..gif

      Daydreamer :)

       
    2. Dalees

      Dalees New Member

      Joined:
      Feb 17, 2010
      Messages:
      566
      Likes Received:
      2
      Trophy Points:
      0
      Sounds nice and handy.
      Would be grate to see that in a feature release
       
    3. ski

      ski Well-Known Member

      Joined:
      Feb 12, 2010
      Messages:
      3,720
      Likes Received:
      48
      Trophy Points:
      48
      The problem here is that all of those log entries are written in by the CC, so they are at the discretion of the CC creator. What would need to be added is the ability for the CC to write log entries in different colors.

      :D
       
    4. Daydreamer

      Daydreamer New Member

      Joined:
      Mar 6, 2010
      Messages:
      506
      Likes Received:
      6
      Trophy Points:
      0
      But if we got enough people to vote for it, they might change it? :)
       
    5. CodenameG

      CodenameG New Member

      Joined:
      Jan 15, 2010
      Messages:
      38,369
      Likes Received:
      231
      Trophy Points:
      0
      easy enough to add color tags, but they wouldnt be on everything, and in Hb currently it would probally look something like this.
      [12:00:17 AM:531] Took 1672 ms to cast:Vampiric Touch
      [12:00:17 AM:906] [color = red] Casting Shadow Word: Pain [/color]
      [12:00:17 AM:906] CastSpellById: 10893
      [12:00:18 AM:156] [color = red]Shadow Word: Pain: Instant Cast. [/color]
      [12:00:19 AM:906] [color = red]Casting Devouring Plague [/color]
      [12:00:19 AM:921] CastSpellById: 19278
      [12:00:20 AM:171] [color = red]Devouring Plague: Instant Cast. [/color]
      [12:00:20 AM:265] casting Mind Flay
      [12:00:20 AM:281] CastSpellById: 17313
      [12:00:20 AM:546] [color = red]Mind Flay: Instant Cast. [/color]
      [12:00:21 AM:218] CastSpellById: 5019
      [12:00:21 AM:421] Took 219 ms to cast:Shoot
      [12:00:21 AM:515] [color = red]Using Wand [/color]
      [12:00:21 AM:578] [color = red]Casting Vampiric Touch [/color]


      instead of....

      [12:00:17 AM:531] Took 1672 ms to cast:Vampiric Touch
      [12:00:17 AM:906] Casting Shadow Word: Pain
      [12:00:17 AM:906] CastSpellById: 10893
      [12:00:18 AM:156] Shadow Word: Pain: Instant Cast.
      [12:00:19 AM:906] Casting Devouring Plague
      [12:00:19 AM:921] CastSpellById: 19278
      [12:00:20 AM:171] Devouring Plague: Instant Cast.
      [12:00:20 AM:265] casting Mind Flay
      [12:00:20 AM:281] CastSpellById: 17313
      [12:00:20 AM:546] Mind Flay: Instant Cast.
      [12:00:21 AM:218] CastSpellById: 5019
      [12:00:21 AM:421] Took 219 ms to cast:Shoot
      [12:00:21 AM:515] Using Wand
      [12:00:21 AM:578] Casting Vampiric Touch
       
    6. Daydreamer

      Daydreamer New Member

      Joined:
      Mar 6, 2010
      Messages:
      506
      Likes Received:
      6
      Trophy Points:
      0
      bump =o
       
    7. tehehe83

      tehehe83 New Member

      Joined:
      May 8, 2010
      Messages:
      98
      Likes Received:
      1
      Trophy Points:
      0
      Great idea:)
       
    8. z0mg

      z0mg New Member

      Joined:
      Jan 15, 2010
      Messages:
      77
      Likes Received:
      0
      Trophy Points:
      0
      [​IMG]

      ;)
       
    9. Daydreamer

      Daydreamer New Member

      Joined:
      Mar 6, 2010
      Messages:
      506
      Likes Received:
      6
      Trophy Points:
      0
      This is just what we need! Dev's should get busy! :)
       
    10. CodenameG

      CodenameG New Member

      Joined:
      Jan 15, 2010
      Messages:
      38,369
      Likes Received:
      231
      Trophy Points:
      0
      if someone has the code, drop me a PM, and ill try to add it in when im doing the Config Form Setting fix.
      nvm, think i got it.
       
      Last edited: May 27, 2010
    11. CodenameG

      CodenameG New Member

      Joined:
      Jan 15, 2010
      Messages:
      38,369
      Likes Received:
      231
      Trophy Points:
      0
      alright here it is....
      Coming soon to a CC Near You.
      Tombstone Colored Log.JPG
       
    12. CodenameG

      CodenameG New Member

      Joined:
      Jan 15, 2010
      Messages:
      38,369
      Likes Received:
      231
      Trophy Points:
      0
      alright, im not really more motivated to go anymore colored then this, at least not on this CC.
      Tombstone Colored Log2.JPG
       
      Daydreamer likes this.
    13. Impurity

      Impurity New Member

      Joined:
      Jan 30, 2010
      Messages:
      47
      Likes Received:
      0
      Trophy Points:
      0
      /sexy timez?
       
    14. thedrunk

      thedrunk New Member

      Joined:
      Apr 1, 2010
      Messages:
      207
      Likes Received:
      8
      Trophy Points:
      0
      Daydreamer likes this.
    15. CodenameG

      CodenameG New Member

      Joined:
      Jan 15, 2010
      Messages:
      38,369
      Likes Received:
      231
      Trophy Points:
      0
      this is how i did it, just modifyed my slog, and added more for each color then changed them when they apprered.
      Code:
             private void Rlog(string format, params object[] args)
              {
                  Logging.Write(System.Drawing.Color.Red, format, args);
                  //Logging.Write(Color ,format, args);
              }
              private void Glog(string format, params object[] args)
              {
                  Logging.Write(System.Drawing.Color.Green, format, args);
                  //Logging.Write(Color ,format, args);
              }
              private void Blog(string format, params object[] args)
              {
                  Logging.Write(System.Drawing.Color.Blue, format, args);
                  //Logging.Write(Color ,format, args);
              }
              private void slog(string format, params object[] args)
              {
                  Logging.Write(System.Drawing.Color.DarkBlue, format, args);
                  //Logging.Write(Color ,format, args);
              }
      
       
    16. Apoc

      Apoc Moderator Staff Member Moderator

      Joined:
      Jan 16, 2010
      Messages:
      2,790
      Likes Received:
      94
      Trophy Points:
      48
      You guys make things so difficult. :p

      Actually, it does. But it requires .NET 4.0 being installed to do it. (And the HB/GB guys would need to make a minor code change to their compile stuff to use the 4.0 tools to compile instead of the 3.5 ones.)

      And no; I'm not saying you need to switch to .NET 4.0. I have 3.5 projects using default params, etc. It's just some new IL that the newer C# compiler adds to allow for the default params. (And selective param defs)

      Edit; not that default params would help in the above case anyway. (Pretty much everything in Color is created at runtime. So it won't be valid for default params.)
       
      Last edited: May 27, 2010
      Daydreamer likes this.
    17. z0mg

      z0mg New Member

      Joined:
      Jan 15, 2010
      Messages:
      77
      Likes Received:
      0
      Trophy Points:
      0
      using System.Drawing + Color.<colorname> would be the shortest, but it doesn't really matter.

      Anyway, grats on the colors... :)
       
    18. Daydreamer

      Daydreamer New Member

      Joined:
      Mar 6, 2010
      Messages:
      506
      Likes Received:
      6
      Trophy Points:
      0
      Thank you guys so much!
      Fun to play arround with :)

      +Rep!
       
    19. ski

      ski Well-Known Member

      Joined:
      Feb 12, 2010
      Messages:
      3,720
      Likes Received:
      48
      Trophy Points:
      48
      [​IMG]

      COLORZ
       
    20. Daydreamer

      Daydreamer New Member

      Joined:
      Mar 6, 2010
      Messages:
      506
      Likes Received:
      6
      Trophy Points:
      0
      Every CC should support colours :D so pretty lol
       

    Share This Page