[V8.0] [INTERNATIONAL] [RNN] Ip4Meta menu

User Tag List

Results 1 to 14 of 14
  1. #1
    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)

    [V8.0] [INTERNATIONAL] [RNN] Ip4Meta

    Supported TurboHUD version: 9.x



    This plugin was designed especially for GR Meta, where there is only one barbarian who gives ip (ignore pain, and the rune mob rule)
    You can use it to quickly know which player has IP and how long you have been without it, in addition the last 5 seconds we will see a decreasing counter
    The zbarb will always see the status of the ips of all the players.
    Each player will always see the status of their ip
    The text of the timer will change to another color (white or orange) when it is less reliable, for example, when the player is not close we cannot be sure of the status of his IP

    Installation: Place in "plugins\RNN\Ip4Meta.cs"

    Download: Ip4Meta.cs (v2)

    Custom code (Plugins\User\PluginEnablerOrDisablerPlugin.cs) :

    The following lines place in -> public void Customize() { HERE }

    Code:
    	Hud.GetPlugin<RNN.Ip4Meta>().Enabled = true;
    
    		Hud.RunOnPlugin<RNN.Ip4Meta>(plugin => 
    		{ 
    			plugin.Offx = 0.32f;
    			plugin.Offy = 0.60f;
    			plugin.OnlyGR = false;		// Only show in GR
    			plugin.OnlyWithRune = false;	// Only show when there is a Barb with the rune "Mob Rule" (Ignore Pain for allies).
    		}  );
    In case someone does not work well the new version (v2) , here you have a link to the previous one (v1).
    Last edited by RNN; 09-14-2019 at 10:12 AM. Reason: new version

    [V8.0] [INTERNATIONAL] [RNN] Ip4Meta
  2. Thanks mois, johnbl, ADV2015, TobiaSBooN, monika, BeeAntOS (6 members gave Thanks to RNN for this useful post)
  3. #2
    hkjhkh's Avatar Member
    Reputation
    9
    Join Date
    Mar 2018
    Posts
    82
    Thanks G/R
    0/8
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    for your personal IP icon you can use the this one, that you can see if you get ip from BARB

    Code:
    using Turbo.Plugins.Default;
    
    namespace Turbo.Plugins.User
    {
    
        public class LifeglobeBuffListPlugin : BasePlugin, IInGameTopPainter
        {
    
            public BuffPainter BuffPainter { get; set; }
            public BuffRuleCalculator RuleCalculator { get; private set; }
            public float PositionY { get; set; }
    		public bool Center { get; set; }
    
            public LifeglobeBuffListPlugin()
            {
                Enabled = true;
                PositionY = 0.83f;
    			Center = false;
            }
    
            public override void Load(IController hud)
            {
                base.Load(hud);
    
                BuffPainter = new BuffPainter(Hud, true)
                {
                    Opacity = 0.75f,
                    ShowTimeLeftNumbers = true,
                    ShowTooltips = false,
                    TimeLeftFont = Hud.Render.CreateFont("tahoma", 7, 255, 255, 255, 255, false, false, 255, 0, 0, 0, true),
                    StackFont = Hud.Render.CreateFont("tahoma", 6, 255, 255, 255, 255, false, false, 255, 0, 0, 0, true),
                };
    
                RuleCalculator = new BuffRuleCalculator(Hud);
                RuleCalculator.SizeMultiplier = 0.75f;
    
                //79528 Ignore Pain
    			RuleCalculator.Rules.Add(new BuffRule(79528)
    			{
    				IconIndex = null,
    				MinimumIconCount = 1,
    				ShowTimeLeft = true,
    				IconSizeMultiplier = 1.0f,
    			});
            }
    
            public void PaintTopInGame(ClipState clipState)
            {
                if (Hud.Render.UiHidden) return;
                if (clipState != ClipState.BeforeClip) return;
    
                RuleCalculator.CalculatePaintInfo(Hud.Game.Me);
                if (RuleCalculator.PaintInfoList.Count == 0) return;
    
                var y = Hud.Window.Size.Height * PositionY;
    			if (Center) {
    				BuffPainter.PaintHorizontalCenter(RuleCalculator.PaintInfoList, -(Hud.Window.Size.Width/3.8f), y, Hud.Window.Size.Width, RuleCalculator.StandardIconSize, RuleCalculator.StandardIconSpacing);
    			} else {
    				BuffPainter.PaintHorizontal(RuleCalculator.PaintInfoList, Hud.Window.Size.Width*(0.5f-1/3.8f) - RuleCalculator.StandardIconSize*0.5f, y, RuleCalculator.StandardIconSize, RuleCalculator.StandardIconSpacing);
    			}
            }
    
        }
    
    }

  4. #3
    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)
    Tomorrow I'll take a look, thaks

  5. #4
    Mundzso's Avatar Member
    Reputation
    14
    Join Date
    Feb 2018
    Posts
    84
    Thanks G/R
    28/6
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Could you show your whole (Plugins\User\PluginEnablerOrDisablerPlugin.cs)?
    Where do you add the extra code? Under public void Customize() ?
    I got errors after loading Thud.

    Thanks.

    update : it works, user error , THX
    Last edited by Mundzso; 02-14-2019 at 12:30 PM.

  6. #5
    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)
    yes
    Code:
    public void Customize() {
       HERE
     }
    But it is not mandatory, and in that case the default setting will be used. I'm going to modify the text of the first post

    I take this post to say that I adapted the GreaterRiftPylonMarker Plugin. The link will be lost in one of the closed threads * (Pylon Check Plugin) , I write here the downloads links:
    GLQ_GreaterRiftPylonMarkerPlugin Original
    GLQ_GreaterRiftPylonMarkerPlugin modified, for TH 8.0
    GLQ_GreaterRiftPylonMarkerPlugin modified, for TH 9.0 ( Picture.jpg )
    Last edited by RNN; 02-14-2019 at 03:55 PM.

  7. #6
    mdruger's Avatar Member
    Reputation
    1
    Join Date
    Feb 2018
    Posts
    12
    Thanks G/R
    4/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Problem in new version TH
    - suspicious plugins behavior in plugin file: 'C:\TX\TurboHUD 19.5.9.0 (v9.0) STABLE for Diablo III 2.6.4.55430 (64 bit)\Plugins\RNN\ip4meta.cs': possibly trying to use System.Diagnostics.

  8. #7
    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)
    Remove the line "Using System.Diagnostics ;" that is at the beginning of the file or download the file again from the first post.

  9. Thanks mdruger (1 members gave Thanks to RNN for this useful post)
  10. #8
    mdruger's Avatar Member
    Reputation
    1
    Join Date
    Feb 2018
    Posts
    12
    Thanks G/R
    4/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thx for help!

  11. #9
    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)
    removed..
    Updated the first post
    Last edited by RNN; 09-14-2019 at 10:11 AM.

  12. #10
    Saico's Avatar Active Member
    Reputation
    21
    Join Date
    Apr 2019
    Posts
    379
    Thanks G/R
    35/20
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by RNN View Post
    Some time ago I wanted to tweak this plugin to make it more reliable and efficient, also eliminating Watchs. It is in the testing phase, but long ago I stopped playing Meta.

    . Download: Ip4Meta.cs (Place in Plugins\RNN\Ip4Meta.cs)

    . Installation: Place in "plugins\RNN\Ip4Meta.cs"

    . Custom Code (Plugins\User\PluginEnablerOrDisablerPlugin.cs) :

    Code:
    	Hud.GetPlugin<RNN.Ip4Meta>().Enabled = true;
    
    		Hud.RunOnPlugin<RNN.Ip4Meta>(plugin => 
    		{ 
    			plugin.Offx = 0.32f;
    			plugin.Offy = 0.60f;
    			plugin.OnlyGR = false;		// Only show in GR
    			plugin.OnlyWithRune = false;	// Only show when there is a Barb with the rune "Mob Rule" (Ignore Pain for allies).		
    			plugin.OnlyTrusted = false;	// Do not show when the value cannot be real (ex. when we are not close to the player and there are more barbarians who give ip). The time text has a different color in this case.
    		}	);
    Got 2 of these when inserted Custom Code

    Plugins\User\PluginEnablerOrDisablerPlugin.cs(71,31) : error CS0234: The type or namespace name 'Ip4Meta' does not exist in the namespace 'Turbo.Plugins.RNN' (are you missing an assembly reference?)

  13. #11
    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)
    Download it again, surely it was that I wrote a wrong word

  14. #12
    Saico's Avatar Active Member
    Reputation
    21
    Join Date
    Apr 2019
    Posts
    379
    Thanks G/R
    35/20
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by RNN View Post
    Download it again, surely it was that I wrote a wrong word
    I have a question, I saw that the custom code that can be inserted in PLuginEnabler is the same that has in original Ip4meta.cs.

    Does it have any difference if I modify them in the original .cs rather than have them on custom ? Is just a way to not touch the original .cs right ?

    Edit: Still had the same exceptions (redownloaded)
    Last edited by Saico; 09-10-2019 at 06:00 PM.

  15. #13
    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)
    I tried a clean installation and it worked, I don't know what that error is due to (you may have to delete the plugins_compiled_xxxxxxxx.dll file first, is recreated)
    You can directly edit the plugin and you don't need to add anything to PluginEnablerOrDisablerPlugin.cs, the only downside is that if you install a new version you will have to edit it again.
    Uploaded again, there was an error when OnlyGr = true; (post #9)
    Last edited by RNN; 09-10-2019 at 07:12 PM.

  16. #14
    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)
    Updated: new version

  17. Thanks BeeAntOS (1 members gave Thanks to RNN for this useful post)

Similar Threads

  1. [V7.7] [INTERNATIONAL] [RNN] BountiesTracking
    By RNN in forum TurboHUD Community Plugins
    Replies: 40
    Last Post: 4 Days Ago, 12:22 PM
  2. [V8.0] [INTERNATIONAL] [RNN] DeathInMap
    By RNN in forum TurboHUD Community Plugins
    Replies: 2
    Last Post: 03-24-2020, 09:18 AM
  3. [v8.0] [INTERNATIONAL] [Resu] EquippedItemDurabilityPlugin
    By User5981 in forum TurboHUD Community Plugins
    Replies: 8
    Last Post: 11-30-2019, 01:05 AM
  4. [v8.0] [INTERNATIONAL] [Resu] PotionPerfectionPlugin
    By User5981 in forum TurboHUD Community Plugins
    Replies: 10
    Last Post: 03-09-2019, 04:14 AM
  5. 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 08:07 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