[v7.6] [INTERNATIONAL] [Arkahr] ConventionOfElementsBar menu

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 22 of 22
  1. #16
    RNN's Avatar Legendary
    Reputation
    801
    Join Date
    Sep 2018
    Posts
    1,043
    Thanks G/R
    102/764
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    You must delete line 29:
    using Turbo.Plugins.Arkahr;

    Also the 30 is like this:
    Hud.RunOnPlugin<Arkahr.ConventionOfElementsBar>(plugin=> {

    I recommend you use notepad ++ to edit the .cs files

    If instead of
    plugin.setBar(600, 520, 100, 20);
    do you write
    plugin.setBar(Hud.Window.Size.Width * 0.476f, Hud.Window.Size.Height * 0.54f, Hud.Window.Size.Width * 0.0467f, Hud.Window.Size.Width * 0.011f);
    the bar will appear below the character

    and if you write
    plugin.setBar(Hud.Window.Size.Width * 0.52f, Hud.Window.Size.Height * 0.46f, Hud.Window.Size.Width * 0.0125f, Hud.Window.Size.Width * 0.016f);
    Simulate a vertical bar

    Last edited by RNN; 04-19-2019 at 01:39 PM.

    [v7.6] [INTERNATIONAL] [Arkahr] ConventionOfElementsBar
  2. Thanks hurrikane (1 members gave Thanks to RNN for this useful post)
  3. #17
    hurrikane's Avatar Member
    Reputation
    1
    Join Date
    Aug 2008
    Posts
    78
    Thanks G/R
    29/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    okay thank you very much i changed it but ofc i get exception again I deleted Line 29 and change Line 30

    Btw that code i only copied from page 1 of this thread i have no idea what i did there

    2019.04.19 21:13:41.947 19.3.26.0 error while initializing plugins
    2019.04.19 21:13:41.950 19.3.26.0 C:\Users\Shadow\Desktop\Diablo 3\Plugins\User\PluginEnablerOrDisablerPlugin.cs(30,24) : error CS0234: The type or namespace name 'ConventionOfElementsBarS' does not exist in the namespace 'Turbo.Plugins.Arkahr' (are you missing an assembly reference?)

    thanks in advance

    Maybe my mistake is the "S" behind ConventionOfElementsBar if i understand the exception correct but i better wait for your answer
    Last edited by hurrikane; 04-19-2019 at 02:19 PM.

  4. #18
    hurrikane's Avatar Member
    Reputation
    1
    Join Date
    Aug 2008
    Posts
    78
    Thanks G/R
    29/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    okay i removed the "S" from ConventionOfElementsBar but the timer is gone from the coe rotation?

    thanks in advance
    Last edited by hurrikane; 04-19-2019 at 02:36 PM.

  5. #19
    RNN's Avatar Legendary
    Reputation
    801
    Join Date
    Sep 2018
    Posts
    1,043
    Thanks G/R
    102/764
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    change false to true in

    plugin.ShowTimeLeftNumbers = false; //by default = true

  6. Thanks hurrikane (1 members gave Thanks to RNN for this useful post)
  7. #20
    hurrikane's Avatar Member
    Reputation
    1
    Join Date
    Aug 2008
    Posts
    78
    Thanks G/R
    29/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    works perfect thank you as always have a nice evening/day wherever you live

  8. #21
    Becks93's Avatar Member
    Reputation
    2
    Join Date
    Mar 2015
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is possibile have the full raw code with the bar under the character for people not expert in costumization?

  9. #22
    Becks93's Avatar Member
    Reputation
    2
    Join Date
    Mar 2015
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i have this exception

    hi all i m using this code in turbohud/plugins/user/pluginenablerordisablerpluging.cs

    // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    // *.txt files are not loaded automatically by TurboHUD
    // you have to change this file's extension to .cs to enable it
    // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    using Turbo.Plugins.Default;

    namespace Turbo.Plugins.User
    {

    public class PluginEnablerOrDisablerPlugin : BasePlugin, ICustomizer
    {

    public PluginEnablerOrDisablerPlugin()
    {
    Enabled = true;
    }

    public override void Load(IController hud)
    {
    base.Load(hud);
    }

    // "Customize" methods are automatically executed after every plugin is loaded.
    // So these methods can use Hud.GetPlugin<class> to access the plugin instances' public properties (like decorators, Enabled flag, parameters, etc)
    // Make sure you test the return value against null!
    public void Customize()
    {
    Hud.RunOnPlugin<ConventionOfElementsBar>(plugin=> {
    plugin.setBar(Hud.Window.Size.Width * 0.476f,
    Hud.Window.Size.Height * 0.54f, Hud.Window.Size.Width * 0.0467f,
    Hud.Window.Size.Width * 0.011f); //sets user prefered bar position and dimensions to setBar(x, y, width, height)
    plugin.ShowTimeLeftNumbers = false; //by default = true
    plugin.Opacity = 0.7f; //by default = 1.0f
    //plugin.TimeLeftFont = Hud.Render.CreateFont("tahoma", 8, 255, 255, 255, 255, false, false, 255, 0, 0, 0, true);
    //plugin.BackgroundBrush = Hud.Render.CreateBrush(255, 0, 0, 0, 0);
    //plugin.CooldownBrush = Hud.Render.CreateBrush(255, 127, 127, 127, 0);
    //plugin.ElementBrush.Arcane = Hud.Render.CreateBrush(255, 159, 58, 232, 0);
    //plugin.ElementBrush.Cold = Hud.Render.CreateBrush(255, 97, 193, 244, 0);
    //plugin.ElementBrush.Fire = Hud.Render.CreateBrush(255, 182, 49, 49, 0);
    //plugin.ElementBrush.Holy = Hud.Render.CreateBrush(255, 255, 208, 68, 0);
    //plugin.ElementBrush.Lightning = Hud.Render.CreateBrush(255, 4, 32, 135, 0);
    //plugin.ElementBrush.Physical = Hud.Render.CreateBrush(255, 85, 80, 66, 0);
    //plugin.ElementBrush.Poison = Hud.Render.CreateBrush(255, 80, 226, 36, 0);
    });



    Hud.RunOnPlugin<Gigi.EliteBarPlugin>(plugin => {
    plugin.DisplayAffix.Add(MonsterAffix.Frozen, "Frozen");
    plugin.DisplayAffix.Add(MonsterAffix.Wormhole, "WormHole");
    plugin.DisplayAffix.Add(MonsterAffix.Illusionist, "Illusion");
    plugin.DisplayAffix.Add(MonsterAffix.Juggernaut, "Jugger");
    plugin.DisplayAffix.Add(MonsterAffix.Waller, "Waller");
    plugin.DisplayAffix.Add(MonsterAffix.Arcane, "Arcane");
    plugin.DisplayAffix.Add(MonsterAffix.HealthLink, "HealthLink");
    plugin.DisplayAffix.Add(MonsterAffix.Desecrator, "Desec");
    plugin.DisplayAffix.Add(MonsterAffix.Shielding, "Shield");
    plugin.DisplayAffix.Add(MonsterAffix.Molten, "Molten");
    plugin.DisplayAffix.Add(MonsterAffix.FrozenPulse, "Pulse");
    plugin.DisplayAffix.Add(MonsterAffix.Thunderstorm, "Thunder");
    plugin.DisplayAffix.Add(MonsterAffix.FireChains, "Chains");
    plugin.DisplayAffix.Add(MonsterAffix.Teleporter, "Teleport");
    plugin.DisplayAffix.Add(MonsterAffix.Mortar, "Mortar");
    plugin.DisplayAffix.Add(MonsterAffix.Horde, "Horde");
    } );
    }

    }

    }


    and i have this exception




    2021.01.03 13:06:50.533 20.12.16.0 error while initializing plugins
    2021.01.03 13:06:50.540 20.12.16.0 C:\Users\Utente\Desktop\diablo 3\turbohud\Plugins\User\PluginEnablerOrDisablerPlugin.cs(1,1) : error CS1022: Type or namespace definition, or end-of-file expected
    2021.01.03 13:09:30.771 20.12.16.0 error while initializing plugins
    2021.01.03 13:09:30.772 20.12.16.0 C:\Users\Utente\Desktop\diablo 3\turbohud\Plugins\User\PluginEnablerOrDisablerPlugin.cs(1,1) : error CS1022: Type or namespace definition, or end-of-file expected
    2021.01.03 13:13:28.603 20.12.16.0 error while initializing plugins
    2021.01.03 13:13:28.604 20.12.16.0 C:\Users\Utente\Desktop\diablo 3\turbohud\Plugins\User\PluginEnablerOrDisablerPlugin.cs(1,1) : error CS1022: Type or namespace definition, or end-of-file expected
    2021.01.03 13:16:33.696 20.12.16.0 namespace mismatch in plugin file: 'C:\Users\Utente\Desktop\diablo 3\turbohud\Plugins\User\PluginEnablerOrDisablerPlugin.cs': namespace should be this: 'Turbo.Plugins.User
    2021.01.03 13:20:40.556 20.12.16.0 error while initializing plugins
    2021.01.03 13:20:40.556 20.12.16.0 C:\Users\Utente\Desktop\diablo 3\turbohud\Plugins\User\PluginEnablerOrDisablerPlugin.cs(30,17) : error CS0246: The type or namespace name 'ConventionOfElementsBar' could not be found (are you missing a using directive or an assembly reference?)
    2021.01.03 13:52:23.488 20.12.16.0 error while initializing plugins
    2021.01.03 13:52:23.488 20.12.16.0 C:\Users\Utente\Desktop\diablo 3\turbohud\Plugins\User\PluginEnablerOrDisablerPlugin.cs(29,17) : error CS0246: The type or namespace name 'ConventionOfElementsBarS' could not be found (are you missing a using directive or an assembly reference?)
    2021.01.03 13:52:53.569 20.12.16.0 error while initializing plugins
    2021.01.03 13:52:53.569 20.12.16.0 C:\Users\Utente\Desktop\diablo 3\turbohud\Plugins\User\PluginEnablerOrDisablerPlugin.cs(29,17) : error CS0246: The type or namespace name 'ConventionOfElementsBar' could not be found (are you missing a using directive or an assembly reference?)

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [v7.2] [INTERNATIONAL] [glq] MonsterRiftProgressionPlugin
    By SeaDragon in forum TurboHUD Community Plugins
    Replies: 23
    Last Post: 09-07-2021, 04:46 AM
  2. [V7.2][International][Grischu] Override for InventoryAndStashPlugin.cs
    By Grischu in forum TurboHUD Community Plugins
    Replies: 27
    Last Post: 05-21-2019, 08:32 PM
  3. [v7.2] [INTERNATIONAL] [Jack] ItemDropSoundAlertPlugin
    By JackCeparou in forum TurboHUD Community Plugins
    Replies: 22
    Last Post: 07-17-2017, 08:27 PM
  4. [V7.2][International][Grischu] Buffstatistics
    By Grischu in forum TurboHUD Community Plugins
    Replies: 20
    Last Post: 04-05-2017, 02:27 AM
All times are GMT -5. The time now is 09:49 AM. 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