About IBanner & IMarker Interfaces menu

User Tag List

Results 1 to 10 of 10
  1. #1
    hakache's Avatar Active Member
    Reputation
    78
    Join Date
    Jun 2012
    Posts
    65
    Thanks G/R
    16/72
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    About IBanner & IMarker Interfaces

    Hello, I have a few questions/requests to share.

    Here is a screenshot that will explain everything Im about to ask :



    1. As you can see here, the banner is outside the world : I used it in town and went into the rift. Seems like there is no check for WorldId for Banners, would it be possible to add it in Banner interface ?
    Additionally, would it be possible to add the possibility to know which player created the banner directly with Banner Interface ? The actor is different for each player so Im wondering if the marker is as well because actors can only be detected ~120 yards away meanwhile markers do not have this limitation. I can see pretty good uses for banners with HUD support, but a WorldId check and more informations about them could be extremely handsome !

    Also :
    2. The marker you can see near me is a marker that has been added few patches ago, it marks the position where you killed the boss. I dont know any way to track it or if it is even exposed by Marker interface. Which leads me to the last point :
    3. Eventually, would it be possible to have a dump file that exposes markers in general ?

    Thanks for reading !
    Last edited by hakache; 10-04-2019 at 02:22 PM. Reason: Typo

    About IBanner & IMarker Interfaces
  2. #2
    User5981's Avatar First Dev On The Internet
    Reputation
    379
    Join Date
    Aug 2017
    Posts
    765
    Thanks G/R
    30/358
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    / subscribed
    Supported version for all Resu plugins

  3. #3
    iThinkiWin's Avatar Active Member
    Reputation
    27
    Join Date
    Oct 2018
    Posts
    104
    Thanks G/R
    25/24
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    iActor ?
    _banner_player_1 = 123714,
    _banner_player_2 = 123715,
    _banner_player_3 = 123716,
    _banner_player_4 = 123717,

  4. #4
    User5981's Avatar First Dev On The Internet
    Reputation
    379
    Join Date
    Aug 2017
    Posts
    765
    Thanks G/R
    30/358
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by iThinkiWin View Post
    iActor ?
    _banner_player_1 = 123714,
    _banner_player_2 = 123715,
    _banner_player_3 = 123716,
    _banner_player_4 = 123717,
    These are banners in town I think
    Supported version for all Resu plugins

  5. #5
    iThinkiWin's Avatar Active Member
    Reputation
    27
    Join Date
    Oct 2018
    Posts
    104
    Thanks G/R
    25/24
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by User5981 View Post
    These are banners in town I think
    what about these then?
    _emotebanner_player_1 = 133996,
    _emotebanner_player_2 = 133997,
    _emotebanner_player_3 = 133998,
    _emotebanner_player_4 = 133999,



    when dropped:
    _emotebanner_player_1 EmoteBanner_Player_1 Invalid
    attr TeamID -1 0
    attr MinimapActive -1 1
    Last edited by iThinkiWin; 10-04-2019 at 08:32 AM.

  6. #6
    s4000's Avatar Contributor
    Reputation
    284
    Join Date
    Oct 2018
    Posts
    489
    Thanks G/R
    18/271
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    he means the banner when u press G

  7. #7
    iThinkiWin's Avatar Active Member
    Reputation
    27
    Join Date
    Oct 2018
    Posts
    104
    Thanks G/R
    25/24
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    using System.Collections.Generic;
    using System.Linq;
    using Turbo.Plugins.Default;
    
    namespace Turbo.Plugins.iWin
    {
        public class BannerPlugin : BasePlugin, IInGameWorldPainter
        {
            public WorldDecoratorCollection Decorator { get; set; }
            public List<string> BattleTags = new List<string>();
    
            public BannerPlugin()
            {
                Enabled = true;
            }
    			  
            public override void Load(IController hud)
            {
                base.Load(hud);
    
                Decorator = new WorldDecoratorCollection(
                    new MapShapeDecorator(Hud)
                    {
                        ShapePainter = new RotatingTriangleShapePainter(Hud),
                        Brush = Hud.Render.CreateBrush(160, 128, 255, 0, 10),
                        ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1),
                        Radius = 2,
                    },
                    new GroundCircleDecorator(Hud)
                    {
                        Brush = Hud.Render.CreateBrush(150, 128, 255, 0, 0),
                        Radius = 1.125f,
                    },
                    new GroundLabelDecorator(Hud)
                    {
                        BackgroundBrush = Hud.Render.CreateBrush(90, 0, 0, 0, 0),
                        TextFont = Hud.Render.CreateFont("tahoma", 8, 255, 255, 255, 255, true, false, 100, 0, 0, 0, true),
                    },
                    new MapLabelDecorator(Hud)
                    {
                        LabelFont = Hud.Render.CreateFont("tahoma", 6f, 192, 128, 255, 55, false, false, 128, 0, 0, 0, true),
                        RadiusOffset = 5.0f,
                    }
                    );
    		}
    
    		public void PaintWorld(WorldLayer layer)
            {
                BattleTags.Clear();
            	foreach (var player in Hud.Game.Players)
       			{
                    BattleTags.Add(player.BattleTagAbovePortrait);
       			}
    
                var actors = Hud.Game.Actors;
                foreach (var actor in actors)
                {
                    switch (actor.SnoActor.Sno)
                    {
                        case ActorSnoEnum._emotebanner_player_1:
                            Decorator.Paint(layer, actor, actor.FloorCoordinate, BattleTags[0]);
                        	break;
                       	case ActorSnoEnum._emotebanner_player_2:
                            Decorator.Paint(layer, actor, actor.FloorCoordinate, BattleTags[1]);
                       		break;
                       	case ActorSnoEnum._emotebanner_player_3:
                            Decorator.Paint(layer, actor, actor.FloorCoordinate, BattleTags[2]);
                       		break;
                       	case ActorSnoEnum._emotebanner_player_4:
                            Decorator.Paint(layer, actor, actor.FloorCoordinate, BattleTags[3]);
                       		break;
                    }
                }
            }
        }
    }
    you could edit as ya please or change the list to dictionary to store more info than just name of banner holder

  8. #8
    RNN's Avatar Legendary
    Reputation
    801
    Join Date
    Sep 2018
    Posts
    1,041
    Thanks G/R
    102/764
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    removed, offtopic
    Last edited by RNN; 10-04-2019 at 02:42 PM.

  9. #9
    hakache's Avatar Active Member
    Reputation
    78
    Join Date
    Jun 2012
    Posts
    65
    Thanks G/R
    16/72
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Meanwhile I appreciate that you're trying to help, you should read again the first post because you're off topic.

  10. #10
    RNN's Avatar Legendary
    Reputation
    801
    Join Date
    Sep 2018
    Posts
    1,041
    Thanks G/R
    102/764
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    .............
    Last edited by RNN; 10-04-2019 at 05:34 PM.

Similar Threads

  1. Question about WoW interface
    By wasted_whale in forum Community Chat
    Replies: 1
    Last Post: 05-13-2007, 12:42 AM
  2. Something I've noticed about Rep
    By Shanaar in forum Community Chat
    Replies: 15
    Last Post: 07-12-2006, 01:20 AM
  3. questions about model editing
    By Avianar47 in forum World of Warcraft General
    Replies: 2
    Last Post: 07-08-2006, 09:41 PM
  4. Everything You Need To Know About Mining
    By Amedis in forum World of Warcraft Guides
    Replies: 4
    Last Post: 06-17-2006, 08:15 PM
  5. Your Thoughts about buying an Account
    By karokekid in forum World of Warcraft General
    Replies: 11
    Last Post: 06-12-2006, 04:25 PM
All times are GMT -5. The time now is 06:24 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