[v7.3] [ENGLISH] [glq] NecDeadBodyPlugin menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 22
  1. #1
    SeaDragon's Avatar Contributor
    Reputation
    321
    Join Date
    Aug 2016
    Posts
    1,041
    Thanks G/R
    140/299
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [v7.6] [ENGLISH] [glq] NecDeadBodyPlugin

    Supported TurboHUD version: 9.0



    Count the dead bodies on the screen and show them

    Please ignore the green dead bodies featured in the screenshot of the China server


    code:NecDeadBodyPlugin.cs - Pastebin.com

    Place in plugins\glq\NecDeadBodyPlugin.cs

    custom
    Code:
    Hud.GetPlugin<NecDeadBodyPlugin>().DeadBodyCircle = true;
    Hud.GetPlugin<NecDeadBodyPlugin>().DeadBodyCount = true;
    Changelog
    2017.8.1
    1.Modify the Count font color
    When the number of corpses is less than 10, the font color is white
    When the number of corpses is 10~15, the font color is orange
    When the number of corpses is 16 (maximum), the font color is red
    2017.7.23
    1.only show when Corpse skills are being used in skillbar
    2.Change the style of the DeadBodys
    Attached Thumbnails Attached Thumbnails [v7.3] [ENGLISH] [glq] NecDeadBodyPlugin-screenshot-jpg  
    Last edited by SeaDragon; 02-13-2019 at 10:44 AM.

    [v7.3] [ENGLISH] [glq] NecDeadBodyPlugin
  2. Thanks rambo99jose, TobiaSBooN, bm206, johnbl, bobbydigital12, everknown, JohnWick, (Sarge) (8 members gave Thanks to SeaDragon for this useful post)
  3. #2
    bm206's Avatar Active Member
    Reputation
    73
    Join Date
    Mar 2017
    Posts
    285
    Thanks G/R
    57/64
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Awesome! Thank you!

  4. #3
    cherouvim13's Avatar Member
    Reputation
    14
    Join Date
    Mar 2017
    Posts
    212
    Thanks G/R
    258/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In which line(s) can I modify the color of the circle or the circle itself? Thanks!

  5. #4
    SeaDragon's Avatar Contributor
    Reputation
    321
    Join Date
    Aug 2016
    Posts
    1,041
    Thanks G/R
    140/299
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by cherouvim13 View Post
    In which line(s) can I modify the color of the circle or the circle itself? Thanks!
    Code:
    DeadBodyCircleDecorator = new WorldDecoratorCollection(
                    new GroundCircleDecorator(Hud)
                    {
                        Brush = Hud.Render.CreateBrush(255, 255, 0, 0, 2f),
                        Radius = 1.5f
                    }
                    );

  6. Thanks cherouvim13, bobbydigital12 (2 members gave Thanks to SeaDragon for this useful post)
  7. #5
    Ev480's Avatar Member
    Reputation
    1
    Join Date
    Jul 2016
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it's possible to set the bar can show body to disapiar when you are out of range to use it like devour ?

  8. #6
    SeaDragon's Avatar Contributor
    Reputation
    321
    Join Date
    Aug 2016
    Posts
    1,041
    Thanks G/R
    140/299
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Ev480 View Post
    it's possible to set the bar can show body to disapiar when you are out of range to use it like devour ?
    Do you mean to set a range to display the body and count?
    I'll update it when I have time

  9. #7
    everknown's Avatar Active Member
    Reputation
    17
    Join Date
    Jun 2012
    Posts
    121
    Thanks G/R
    33/11
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by SeaDragon View Post
    Do you mean to set a range to display the body and count?
    I'll update it when I have time
    Can you make it only show when Corpse skills are being used in skillbar?
    Such as :
    454174 Corpse Explosion
    461650 Corpse Lance
    460757 Devour
    462239 Revive

    I don't know how to do it myself. I tried using Hud.Game.Me.Powers.CurrentSkills(*SnoID*), but it gives me error that i can't use CurrentSkills this way... Powers.BuffIsActive(*snoID*,*unknown what param this is for, so i used 0*) also not working.
    Last edited by everknown; 07-22-2017 at 11:43 PM.

  10. #8
    SeaDragon's Avatar Contributor
    Reputation
    321
    Join Date
    Aug 2016
    Posts
    1,041
    Thanks G/R
    140/299
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by everknown View Post
    Can you make it only show when Corpse skills are being used in skillbar?
    Such as :
    454174 Corpse Explosion
    461650 Corpse Lance
    460757 Devour
    462239 Revive

    I don't know how to do it myself. I tried using Hud.Game.Me.Powers.CurrentSkills(*SnoID*), but it gives me error that i can't use CurrentSkills this way... Powers.BuffIsActive(*snoID*,*unknown what param this is for, so i used 0*) also not working.
    Updated

  11. Thanks bm206, everknown, bobbydigital12 (3 members gave Thanks to SeaDragon for this useful post)
  12. #9
    misuny's Avatar Member
    Reputation
    2
    Join Date
    Oct 2014
    Posts
    7
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How would I move the Body Count to the center and below my character? Also, would it be possible to remove the Body in the window and just have the number in the box? I tried to modify it but kept getting exceptions. Thanks for making this.

  13. Thanks SeaDragon (1 members gave Thanks to misuny for this useful post)
  14. #10
    JohnWick's Avatar Member
    Reputation
    12
    Join Date
    Mar 2017
    Posts
    102
    Thanks G/R
    82/7
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by SeaDragon View Post
    Changelog
    2017.8.1
    1.Modify the Count font color
    When the number of corpses is less than 10, the font color is white
    When the number of corpses is 10~15, the font color is orange
    When the number of corpses is 16 (maximum), the font color is red
    2017.7.23
    1.only show when Corpse skills are being used in skillbar
    2.Change the style of the DeadBodys
    Cool !

    thank you for improvement

  15. #11
    SeaDragon's Avatar Contributor
    Reputation
    321
    Join Date
    Aug 2016
    Posts
    1,041
    Thanks G/R
    140/299
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by misuny View Post
    How would I move the Body Count to the center and below my character? Also, would it be possible to remove the Body in the window and just have the number in the box? I tried to modify it but kept getting exceptions. Thanks for making this.
    Hud.GetPlugin<NecDeadBodyPlugin>().DeadBodyCircle = false;

    This disables BodyCircle display

    The 80 and 81 lines are display coordinates, and you can modify them appropriately

  16. #12
    deeplearning's Avatar Member
    Reputation
    1
    Join Date
    Sep 2017
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PHP Code:
       DeadBodyCircleDecorator = new WorldDecoratorCollection(
                     new 
    GroundShapeDecorator(Hud)
                     {
                         
    Brush Hud.Render.CreateBrush(19225500, -3),
                         
    ShadowBrush Hud.Render.CreateBrush(960001),                        //doesnt work
                         
    ShapePainter WorldStarShapePainter.NewCross(Hud),                        //doesnt work
                         
    Radius 1f,
                         
    RadiusTransformator = new StandardPingRadiusTransformator(Hud4000.8f1.0f),
                         
    RotationTransformator = new CircularRotationTransformator(Hud30),            //doesnt work
                     
    },
                    new 
    GroundCircleDecorator(Hud)
                    {
                        
    Brush Hud.Render.CreateBrush(255255002f),
                        
    Radius 1f
                    
    }
                    ); 
    Im getting exceptions for the marked lines. Message: ShadowBrush, ShapePainter, RotationTransformator not defined in GroundShapeDecorator. What am i missing?

    Also, wouldnt it be better to set the deadbody-calculationradius to 60 yards (distance necro can use devour) instead of IsOnScreen? Because if i kill some monsters and have lets say 16 corpse and than move a little bit away, so that the counter shows 15 and I press devour, than it will cosume all 16 corpses. --> Devour range > IsOnScreen
    PHP Code:
    var DeadBody Hud.Game.Actors.Where(=> d.SnoActor.Sno == 454066 && d.IsOnScreen); 

  17. #13
    SeaDragon's Avatar Contributor
    Reputation
    321
    Join Date
    Aug 2016
    Posts
    1,041
    Thanks G/R
    140/299
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by deeplearning View Post
    PHP Code:
       DeadBodyCircleDecorator = new WorldDecoratorCollection(
                     new 
    GroundShapeDecorator(Hud)
                     {
                         
    Brush Hud.Render.CreateBrush(19225500, -3),
                         
    ShadowBrush Hud.Render.CreateBrush(960001),                        //doesnt work
                         
    ShapePainter WorldStarShapePainter.NewCross(Hud),                        //doesnt work
                         
    Radius 1f,
                         
    RadiusTransformator = new StandardPingRadiusTransformator(Hud4000.8f1.0f),
                         
    RotationTransformator = new CircularRotationTransformator(Hud30),            //doesnt work
                     
    },
                    new 
    GroundCircleDecorator(Hud)
                    {
                        
    Brush Hud.Render.CreateBrush(255255002f),
                        
    Radius 1f
                    
    }
                    ); 
    Im getting exceptions for the marked lines. Message: ShadowBrush, ShapePainter, RotationTransformator not defined in GroundShapeDecorator. What am i missing?

    Also, wouldnt it be better to set the deadbody-calculationradius to 60 yards (distance necro can use devour) instead of IsOnScreen? Because if i kill some monsters and have lets say 16 corpse and than move a little bit away, so that the counter shows 15 and I press devour, than it will cosume all 16 corpses. --> Devour range > IsOnScreen
    PHP Code:
    var DeadBody Hud.Game.Actors.Where(=> d.SnoActor.Sno == 454066 && d.IsOnScreen); 
    Question 1

    copy code:NecDeadBodyPlugin.cs - Pastebin.com

    save in plugins\glq\NecDeadBodyPlugin.cs

    Check whether the path is wrong or not


    Question 2

    var DeadBody = Hud.Game.Actors.Where(d => d.SnoActor.Sno == 454066 && d.IsOnScreen);
    Change to
    var DeadBody = Hud.Game.Actors.Where(d => d.SnoActor.Sno == 454066 && d.CentralXyDistanceToMe <= 16);

  18. #14
    deeplearning's Avatar Member
    Reputation
    1
    Join Date
    Sep 2017
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by SeaDragon View Post
    Question 1

    copy code:NecDeadBodyPlugin.cs - Pastebin.com

    save in plugins\glq\NecDeadBodyPlugin.cs

    Check whether the path is wrong or not


    Question 2

    var DeadBody = Hud.Game.Actors.Where(d => d.SnoActor.Sno == 454066 && d.IsOnScreen);
    Change to
    var DeadBody = Hud.Game.Actors.Where(d => d.SnoActor.Sno == 454066 && d.CentralXyDistanceToMe <= 16);
    1) Yes, i made sure everything is right and all your other plugins are working for me. If i disable the 3 lines where i get the error, it works. I just dont know why... I copied it 1:1, so no way im missing imports?!?

    2) Devour distance is 60 yards. The 16 in your code has to be a 60 than, right?

  19. #15
    SeaDragon's Avatar Contributor
    Reputation
    321
    Join Date
    Aug 2016
    Posts
    1,041
    Thanks G/R
    140/299
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by deeplearning View Post
    1) Yes, i made sure everything is right and all your other plugins are working for me. If i disable the 3 lines where i get the error, it works. I just dont know why... I copied it 1:1, so no way im missing imports?!?

    2) Devour distance is 60 yards. The 16 in your code has to be a 60 than, right?
    Question 1
    I'm not quite sure why
    Question 2
    You're right. I made a mistake. It should be 60

Page 1 of 2 12 LastLast

Similar Threads

  1. [v7.2] [ENGLISH] [glq] UberRealmMarker
    By SeaDragon in forum TurboHUD Community Plugins
    Replies: 23
    Last Post: 05-17-2019, 07:45 AM
  2. [v7.2] [ENGLISH] [glq] AncientParthanCount
    By SeaDragon in forum TurboHUD Community Plugins
    Replies: 17
    Last Post: 07-06-2018, 01:56 AM
  3. [v7.2] [ENGLISH] [glq] MonsterDensityPlugin
    By SeaDragon in forum TurboHUD Community Plugins
    Replies: 5
    Last Post: 07-16-2017, 10:47 AM
  4. Omg,Funniest Thing I ever saw!!! ENGLISH PWNED!!!!
    By anmer in forum Screenshot & Video Showoff
    Replies: 10
    Last Post: 11-12-2007, 10:15 AM
  5. Chinese Names in English WoW
    By pandaman in forum World of Warcraft Exploits
    Replies: 8
    Last Post: 08-12-2006, 05:40 AM
All times are GMT -5. The time now is 06:26 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