How to delete default in DangerousMonsterPlugin menu

User Tag List

Results 1 to 6 of 6
  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)

    How to delete default in DangerousMonsterPlugin

    I would like to use this plugin, but I don't want the default monster to be warned
    I do not want to modify the default file, what method can be customized to achieve the removal of the default monster to add other monsters

    How to delete default in DangerousMonsterPlugin
  2. #2
    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)
    Anyone help me

  3. #3
    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)
    Best way : ask kj to make
    PHP Code:
    private Dictionary<stringstring_names = new Dictionary<stringstring>(); 
    public.

    Dirty way :
    PHP Code:
                Hud.RunOnPlugin<DangerousMonsterPlugin>(plugin =>
                {
                    foreach (var 
    name in new string[] { "Wood Wraith""Highland Walker""The Old Man""Fallen Lunatic""Deranged Fallen""Fallen Maniac""Frenzied Lunatic""Herald of Pestilence""Terror Demon""Demented Fallen""Savage Beast""Tusked Bogan""Punisher""Anarch""Corrupted Angel""Winged Assassin""Exarch" })
                    {
                        
    plugin.RemoveName(name);
                    }
                }); 
    Hide the Rum! --> Default theme customization 101 <--

  4. #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)
    I tried Dirty way
    But it seems that the default monster list is still in effect

  5. #5
    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)
    Just tested to be sure, it works here.
    17 names before and 0 names left after the snippet execution.
    Hide the Rum! --> Default theme customization 101 <--

  6. #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)
    Thank you, it worked, I understand the wrong way to use it

Similar Threads

  1. Replies: 6
    Last Post: 02-23-2016, 08:50 AM
  2. How to delete a thread and a post.
    By Tinky in forum Community Chat
    Replies: 2
    Last Post: 10-30-2007, 09:51 AM
  3. how to delete latest patches
    By nick_533 in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 10-02-2007, 10:47 AM
  4. How to delete threads
    By EliMob441 in forum Community Chat
    Replies: 10
    Last Post: 09-09-2007, 02:55 AM
  5. How to delete model this model edit? :(
    By Opey in forum WoW ME Questions and Requests
    Replies: 7
    Last Post: 08-19-2007, 07:36 AM
All times are GMT -5. The time now is 05:43 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