[INTERNATIONAL] [WindyForce] GargsMasterPlugin menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    WindForcer's Avatar Member
    Reputation
    5
    Join Date
    Aug 2016
    Posts
    13
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [INTERNATIONAL] [WindyForce] GargsMasterPlugin

    Displays green circles around your gargs and red circles around other players gargs.




    Copy to /plugins/windyforce/GargsMasterPlugin.cs
    PasteBin

    Updated to TH Plugins V9
    Last edited by WindForcer; 05-15-2019 at 11:01 PM.

    [INTERNATIONAL] [WindyForce] GargsMasterPlugin
  2. Thanks bm206, gjuz, Litespeed0 (3 members gave Thanks to WindForcer for this useful post)
  3. #2
    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)
    Hi Windy, welcome back.

    You should use an HashSet<uint> for gargs snos.
    It's way faster when you are only comparing to a non changing set of elements.
    Only good reasons to not use it is when you have like 2-3 elements or if you are adding/removing elements at runtime.
    Hide the Rum! --> Default theme customization 101 <--

  4. Thanks d3gigi (1 members gave Thanks to JackCeparou for this useful post)
  5. #3
    bledi-13's Avatar Member
    Reputation
    2
    Join Date
    Jul 2009
    Posts
    32
    Thanks G/R
    7/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    usefull, but it's not working :s

  6. #4
    WindForcer's Avatar Member
    Reputation
    5
    Join Date
    Aug 2016
    Posts
    13
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by JackCeparou View Post
    Hi Windy, welcome back.

    You should use an HashSet<uint> for gargs snos.
    It's way faster when you are only comparing to a non changing set of elements.
    Only good reasons to not use it is when you have like 2-3 elements or if you are adding/removing elements at runtime.

    Thanks for the welcome back. I have updated the pastbin code with HashSet<uint>.
    Last edited by WindForcer; 03-28-2017 at 07:15 PM.

  7. #5
    WindForcer's Avatar Member
    Reputation
    5
    Join Date
    Aug 2016
    Posts
    13
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by bledi-13 View Post
    usefull, but it's not working :s
    What part is not working for you? I just tested with another witch doctor in game. Worked as expected. Even tried with The Short Mans Finger and without.


  8. #6
    bledi-13's Avatar Member
    Reputation
    2
    Join Date
    Jul 2009
    Posts
    32
    Thanks G/R
    7/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by WindForcer View Post
    Thanks for the welcome back. I have updated the pastbin code with HashSet<uint>.
    It seems to be working fine now. Ty !

  9. #7
    d3gigi's Avatar Active Member
    Reputation
    52
    Join Date
    Mar 2017
    Posts
    55
    Thanks G/R
    12/49
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Question: shouldn't "-1" as a radius work for displaying the hitbox? It works on enemies and on IPlayer. I did not test it on pets but I'd say you could take that into consideration.
    I won't give any support (or answer requests) via private messaging. Ask your questions about a plugin within its thread!

  10. #8
    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 d3gigi View Post
    Question: shouldn't "-1" as a radius work for displaying the hitbox? It works on enemies and on IPlayer. I did not test it on pets but I'd say you could take that into consideration.
    Not sure if it works on gargs but worth mentionning, i'll test when i have a chance.

    Anyway, i'm fine with a manual defined radius.
    Hide the Rum! --> Default theme customization 101 <--

  11. #9
    gjuz's Avatar Contributor
    Reputation
    121
    Join Date
    Mar 2017
    Posts
    228
    Thanks G/R
    49/118
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    hi,
    i have added myself all class pets

    you can update // advance your plugin to do so:
    PHP Code:
    public HashSet<uintCoTASno = new HashSet<uint>        
    {
        
    90443,    //Barbarian_CallOfTheAncients_1    Talic
        
    90535,    //Barbarian_CallOfTheAncients_2    Korlic
        
    90536,    //Barbarian_CallOfTheAncients_3    Madawc
    }; 
    PHP Code:
    public HashSet<uintPhalanxSno = new HashSet<uint>
    {
        
    //crus
        //nur bogenschützen && leibwächter mit PlayerPhalanx decorator
        
    330728,    //x1_Crusader_Phalanx3_projectile                //no rune
        
    369795,    //x1_Crusader_PhalanxArcher    Avatar of the Order    //bogenschützen
    //    338598,    //x1_Crusader_Phalanx3_addProjectiles            //pfeile bogenschützen
        
    357358,    //x1_Crusader_Phalanx3_projectile_chargers        //schildansturm
        
    338678,    //x1_Crusader_Phalanx3_projectile_horse            //stampede
        
    338807,    //x1_Crusader_Phalanx3_blocker                    //schildträger
        
    345682    //x1_Crusader_Phalanx    Avatar of the Order        //leibwächter
    }; 
    PHP Code:
    public HashSet<uintCompanionSno = new HashSet<uint>        
    {
        
    //dh
        
    133741,    //DH_Companion            Raven
        
    181748,    //DH_companion_Boar        Boar
        
    178664,    //DH_Companion_Ferret    Ferret
        
    159098,    //DH_Companion_RuneC    Wolf
        
    159144,    //DH_Companion_RuneE    Bat
        
    173827    //DH_companion_spider    Spider
    }; 
    PHP Code:
    public HashSet<uintMAllySno = new HashSet<uint>        
    {
        
    //monk male
        
    169904,    //Monk_male_mysticAlly    
        
    169905,    //Monk_male_mysticAlly_alabaster    
        
    169906,    //Monk_male_mysticAlly_crimson    
        
    169908,    //Monk_male_mysticAlly_golden    
        
    169907,    //Monk_male_mysticAlly_indigo    
        
    169909,    //Monk_male_mysticAlly_obsidian
        //monk female
        
    123885,    //Monk_female_mysticAlly    
        
    169891,    //Monk_female_mysticAlly_alabaster    
        
    168878,    //Monk_female_mysticAlly_crimson    
        
    169123,    //Monk_female_mysticAlly_golden    
        
    169890,    //Monk_female_mysticAlly_indigo    
        
    169077,    //Monk_female_mysticAlly_obsidian    
        //runes active
        
    367774,    //x1_Monk_female_mysticAllyMini_crimson        //feuerVerbündeter
        
    363935    //X1_projectile_mystically_runec_boulder    //roling stone    //OtherPlayersMysticAlly
    }; 
    PHP Code:
    public HashSet<uintFetishSno = new HashSet<uint>        
    {
        
    //wd        //xml
        
    87189,    //Fetish_Melee_A    Fetish Army            //0 //2 //3
        
    89934,    //Fetish_Skeleton_A                        //1
        
    409656,    //Fetish_Melee_fire                        //4
        
    410238,    //Fetish_Melee_poison                    //5
        
    409590,    //Fetish_Melee_Sycophants                //Belt    //passive
    }; 
    PHP Code:
    public HashSet<uintDogSno = new HashSet<uint>        
    {
        
    //wd
        
    51353,    //WD_ZombieDog    Zombie Dog            //2 rune
        
    103215,    //WD_ZombieDogRune_fire                //4 rune
        
    105763,    //WD_ZombieDogRune_healthGlobe        //0 rune
        
    110959,    //WD_ZombieDogRune_healthLink        //3 rune
        
    103235,    //WD_ZombieDogRune_lifeSteal        //5    rune
        
    103217,    //WD_ZombieDogRune_poison            //1 rune
    }; 
    PHP Code:
    public HashSet<uintHydraSno = new HashSet<uint>        
    {
        
    //3 heads = 3 Sno = 3 circle
        
    81515,    //Wizard_HydraHead_Arcane_1    
    //    81231,    //Wizard_HydraHead_Arcane_2    
    //    81232,    ///Wizard_HydraHead_Arcane_3    
        
    83959,    //Wizard_HydraHead_Big    Fire Hydra
        
    80745,    //Wizard_HydraHead_Default_1    
    //    80757,    //Wizard_HydraHead_Default_2    
    //    80758,    //Wizard_HydraHead_Default_3    
        
    325807,    //Wizard_HydraHead_fire2_1    
    //    325813,    //Wizard_HydraHead_fire2_2    
    //    325815,    //Wizard_HydraHead_fire2_3    
        
    82972,    //Wizard_HydraHead_Frost_1    
    //    83024,    //Wizard_HydraHead_Frost_2    
    //    83025,    //Wizard_HydraHead_Frost_3    
        
    82109,    //Wizard_HydraHead_Lightning_1    
    //    81229,    //Wizard_HydraHead_Lightning_2    
    //    81230    //Wizard_HydraHead_Lightning_3
    }; 
    greetz gjuz

  12. Thanks Litespeed0, sketax (2 members gave Thanks to gjuz for this useful post)
  13. #10
    Slingshot1's Avatar Member
    Reputation
    10
    Join Date
    Mar 2017
    Posts
    58
    Thanks G/R
    16/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not sure why, but the Pastebin can't be found.... Did the link change?

  14. #11
    WindForcer's Avatar Member
    Reputation
    5
    Join Date
    Aug 2016
    Posts
    13
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I just tried the pastbin link and its working... [C#] GargsMasterPlugin - Pastebin.com

  15. #12
    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)
    Edited: added Skeletal Mage

    I've added Necromancer Skeletal Mage, Golem and Skeletons to my own copy of this file.

    Code:
    			//Necromancer
    			//Command Skeletons P6_Necro_Trait_SkeletonSpawner ID:453793
    			473147, //No Rune
    			473428, //Enforcer Rune
    			473426, //Frenzy Rune
    			473420, //Dark Mending Rune
    			473417, //Freezing Grasps Rune
    			473418,	//Kill Command Rune
    			
    			//Command Golem P6_Necro_Trait_GolemSpawner ID: 460062
    			471646, //No Rune & Flesh Golem Rune
    			471647, //Ice Golem Rune
    			465239, //Bone Golem Rune
    			471619, //Decay Golem Rune
    			460042, //Blood Golem Rune
    			
    			//Skeletal Mage
    			472275, //No Rune
    			472588, //Gift of Death
    			472769, //Contamination Rune
    			472801, //Skeleton Archer Rune
    			472606, //Singularity Rune
    			472715 //Life Support Rune
    Here is my copy:
    [C#] GargsMasterPlugin.cs - Pastebin.com

    It only works when OUTSIDE of TOWN & only show decorator for OWN Summoned Pets(Not pickup pet).
    Last edited by everknown; 07-24-2017 at 11:03 PM. Reason: edited:added Skeletal Mage

  16. #13
    Romanmas's Avatar Member
    Reputation
    11
    Join Date
    Mar 2017
    Posts
    187
    Thanks G/R
    9/9
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I do not show other players ' Pets, can you help, pls

  17. #14
    bledi-13's Avatar Member
    Reputation
    2
    Join Date
    Jul 2009
    Posts
    32
    Thanks G/R
    7/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Update this beautiful plugin please

  18. #15
    RNN's Avatar Legendary
    Reputation
    810
    Join Date
    Sep 2018
    Posts
    1,051
    Thanks G/R
    103/773
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    I do not know what version of the ones you will use .
    If you want to take a shortcut, just search and change the line
    Code:
    var actors = Hud.Game.Actors.Where(a => GargSno.Contains(a.SnoActor.Sno));
    for this
    Code:
    var actors = Hud.Game.Actors.Where(a => GargSno.Contains( (uint) a.SnoActor.Sno));
    also the obtained file will go in the 8.0 and 9.0

Page 1 of 2 12 LastLast

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:08 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