[V7.2][International][Grischu] Buffstatistics menu

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
  1. #16
    Grischu's Avatar Member
    Reputation
    10
    Join Date
    Mar 2017
    Posts
    23
    Thanks G/R
    3/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by prrovoss View Post
    looks nice so far. do you think you could add an option to not display the inCombat or rift statistics? for me personally only the rift statistics are interesting and hiding everything else would really help keeping track of them^^.
    This is done. You have a new option in Customize

    Code:
     
                    // show statistics 1= Rift, 2=Combat, 3=Both      default=3
                    Hud.GetPlugin<BuffStatistics>().ShowData = 3;

    [V7.2][International][Grischu] Buffstatistics
  2. #17
    JackCeparou's Avatar Savvy ? 🐒
    Reputation
    534
    Join Date
    Mar 2017
    Posts
    588
    Thanks G/R
    51/490
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The code is mostly correct.

    But wth use 'm_' prefix?
    In C++ in can be convenient but in C# it's considered a bad pratice.
    Hide the Rum! --> Default theme customization 101 <--

  3. #18
    prrovoss's Avatar Contributor
    Reputation
    152
    Join Date
    Jan 2013
    Posts
    420
    Thanks G/R
    23/130
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    how would you add new buffs? the ones you added seem to work but as soon as im trying to add my own, they dont show up.
    example:
    Hud.GetPlugin<BuffStatistics>().AddBuff(403464, 1, "Gogok");

    this is also not working, it says it has no buffs defined:
    Code:
                Hud.RunOnPlugin<Grischu.BuffStatistic.BuffStatistics>(plugin =>
    
                {
    
                    //plugin.Enabled = false;
    
                    plugin.AddBuff(403464, 1, "Gogok");
                    plugin.AddBuff(359583, 1, "Focus");
                    plugin.AddBuff(359583, 2, "Restraint");
                    plugin.XPos = Hud.Window.Size.Width * 0.8f;
                    plugin.YPos = Hud.Window.Size.Height * 0.5f;
                });
    if i comment out the gogok line, it adds the focus and restraint buffs. so as soon as i add gogok, the plugin dies somehow.
    Last edited by prrovoss; 04-04-2017 at 08:39 AM.

  4. #19
    JackCeparou's Avatar Savvy ? 🐒
    Reputation
    534
    Join Date
    Mar 2017
    Posts
    588
    Thanks G/R
    51/490
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by prrovoss View Post
    if i comment out the gogok line, it adds the focus and restraint buffs. so as soon as i add gogok, the plugin dies somehow.
    Put 'PreferLocalizedName' to false, his logic has a flaw :

    PHP Code:
    name Hud.Game.Me.Powers.GetBuff(id).SnoPower.NameLocalized
    'Hud.Game.Me.Powers.GetBuff(id)' is null without having the buff.
    Hide the Rum! --> Default theme customization 101 <--

  5. Thanks prrovoss (1 members gave Thanks to JackCeparou for this useful post)
  6. #20
    prrovoss's Avatar Contributor
    Reputation
    152
    Join Date
    Jan 2013
    Posts
    420
    Thanks G/R
    23/130
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    btw you should also make the columns a bit wider because thats how it looks for me:


    edit
    thats what im using now:
    private float[,] m_ColWidth = new float[,] { { 150, 0 }, { 75, 150 }, { 50, 225 }, { 75, 275 }, { 40, 360 }};


    and it looks like this:

    oh and btw, the percentages seem a bit off, >100%
    Last edited by prrovoss; 04-04-2017 at 09:41 AM.

  7. #21
    Grischu's Avatar Member
    Reputation
    10
    Join Date
    Mar 2017
    Posts
    23
    Thanks G/R
    3/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I was away for a view day, i will look into it and fix it as soon as possible.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Internal Mail Error
    By delldude1989 in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 05-05-2008, 04:35 PM
  2. International Talk Like a Pirate Day!
    By Loveshock in forum Community Chat
    Replies: 13
    Last Post: 09-20-2007, 12:11 PM
  3. International Rules to Calling Shotgun
    By matswurld in forum Community Chat
    Replies: 1
    Last Post: 05-18-2007, 08:37 PM
  4. President Bush, CAUGHT SWEARING at international meeting
    By mantalcore in forum Community Chat
    Replies: 15
    Last Post: 08-14-2006, 09:41 AM
All times are GMT -5. The time now is 03:04 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search