[INTERNATIONAL] [glq] MonstersCountPlugin menu

User Tag List

Page 6 of 9 FirstFirst ... 23456789 LastLast
Results 76 to 90 of 121
  1. #76
    s4000's Avatar Contributor
    Reputation
    285
    Join Date
    Oct 2018
    Posts
    489
    Thanks G/R
    18/272
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Thekid5678 View Post
    Sorry for being such a dumbass with this. However I am still not seeing where to place this code. I renamed the "pluginenablerordisablerplugin" from .txt to .cs. Not seeing any where in there that says "Customize section" I also went back into Monstercountplugin, but I'm not seeing anywhere in there that say "Customize section..

    }
    better not posting the code like this, it will make people skip rather than help you

    [INTERNATIONAL] [glq] MonstersCountPlugin
  2. #77
    Thekid5678's Avatar Member
    Reputation
    1
    Join Date
    Feb 2007
    Posts
    37
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by s4000 View Post
    better not posting the code like this, it will make people skip rather than help you
    Sorry, not sure how to post code on the forum. I'm just simply not understanding where I put the modified code. Do I place it somewhere in the "pluginenablerordisablerplugin.cs" or somewhere in the actual monstercount plugin?

  3. #78
    Thekid5678's Avatar Member
    Reputation
    1
    Join Date
    Feb 2007
    Posts
    37
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I figured it out. Thank you all

  4. #79
    RNN's Avatar Legendary
    Reputation
    813
    Join Date
    Sep 2018
    Posts
    1,055
    Thanks G/R
    104/776
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    It's not that complicated, I have colored the word "Customize" in blue. The yellow curly braces delimit the area where you must enter the custom code (color orange). The green text are comments, begin with "//" and are used as clarifications for the person who reads the code, will be ignored.
    Code:
    using Turbo.Plugins.Default;
    namespace Turbo.Plugins.User
    {
        public class PluginEnablerOrDisablerPlugin : BasePlugin, ICustomizer
        {
            public PluginEnablerOrDisablerPlugin()
            {
                Enabled = true;
            }
            public override void Load(IController hud)
            {
                base.Load(hud);
            }	
            public void Customize()
            {
                // basic examples
    
                // turn on MultiplayerExperienceRangePlugin
                Hud.TogglePlugin<MultiplayerExperienceRangePlugin>(true);
                // turn off sell darkening
                Hud.GetPlugin<InventoryAndStashPlugin>().NotGoodDisplayEnabled = false;
                // disable arcane affix label
                Hud.GetPlugin<EliteMonsterAffixPlugin>().AffixDecorators.Remove(MonsterAffix.Arcane);
                // override an elite affix's text
                Hud.GetPlugin<EliteMonsterAffixPlugin>().CustomAffixNames.Add(MonsterAffix.Desecrator, "DES");
    			
    
                Hud.GetPlugin<MonstersCountPlugin>().XWidth = 0.84f;
                Hud.GetPlugin<MonstersCountPlugin>().YHeight = 0.61f;
    
    	
            }
        }
    }
    Last edited by RNN; 12-04-2019 at 09:10 AM.

  5. #80
    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)
    Hey nice plugin

    How do I change color, text size and font for specific part of the code ?


    I removed RareRP, EliteRP and TotalRP

    Would like to paint TrashRP string and value to different color. How do I do ?
    Last edited by Saico; 05-05-2020 at 08:50 PM.

  6. #81
    Jembo's Avatar Active Member
    Reputation
    33
    Join Date
    Nov 2018
    Posts
    112
    Thanks G/R
    28/30
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    In PluginEnablerOrDisablerPlugin.cs:
    Code:
    Hud.GetPlugin<glq.MonstersCountPlugin>().DefaultTextFont = Hud.Render.CreateFont("tahoma", 9, 255, 255, 255, 255, false, false, 250, 0, 0, 0, true);

  7. #82
    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 Jembo View Post
    In PluginEnablerOrDisablerPlugin.cs:
    Code:
    Hud.GetPlugin<glq.MonstersCountPlugin>().DefaultTextFont = Hud.Render.CreateFont("tahoma", 9, 255, 255, 255, 255, false, false, 250, 0, 0, 0, true);
    I`d like to paint just a specific part of the code, but appreciate your help

  8. #83
    LittleDez13's Avatar Member
    Reputation
    3
    Join Date
    Mar 2020
    Posts
    69
    Thanks G/R
    48/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Guys.

    Is it possible to include the count of monsters under the effect of Entangling Shot (entangled) in this plugin? I tried to do it following the strongarmed model, but it didn't work.

    Exception msg: "\Plugins\glq\MonstersCountPlugin.cs(249,16) : error CS1061: 'IMonster' does not contain a definition for 'Entangled' and no accessible extension method 'Entangled' accepting a first argument of type 'IMonster' could be found (are you missing a using directive or an assembly reference?)"

    Thx for help and take your time.

  9. #84
    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 LittleDez13 View Post
    Hi Guys.

    Is it possible to include the count of monsters under the effect of Entangling Shot (entangled) in this plugin? I tried to do it following the strongarmed model, but it didn't work.

    Exception msg: "\Plugins\glq\MonstersCountPlugin.cs(249,16) : error CS1061: 'IMonster' does not contain a definition for 'Entangled' and no accessible extension method 'Entangled' accepting a first argument of type 'IMonster' could be found (are you missing a using directive or an assembly reference?)"

    Thx for help and take your time.
    MonstersCountPlugin - Pastebin.com
    Completely save it as MonstersCountPlugin.cs
    Don't change anything when you don't know what you're doing

  10. #85
    oldMla's Avatar Member
    Reputation
    1
    Join Date
    Mar 2020
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Unfortunately, the plugin does not seem to have the entangled update. This would be a really useful feature for the new support Demon Hunter build.

  11. #86
    LittleDez13's Avatar Member
    Reputation
    3
    Join Date
    Mar 2020
    Posts
    69
    Thanks G/R
    48/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by SeaDragon View Post
    MonstersCountPlugin - Pastebin.com
    Completely save it as MonstersCountPlugin.cs
    Don't change anything when you don't know what you're doing
    Excuse me, I had no intention. ;(

  12. #87
    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 oldMla View Post
    Unfortunately, the plugin does not seem to have the entangled update. This would be a really useful feature for the new support Demon Hunter build.
    Originally Posted by LittleDez13 View Post
    Excuse me, I had no intention. ;(
    20.7.2.0
    1.Added support Piranhas,Cursed,Krysbin,PainEnhancer,EntanglingShot

  13. Thanks M4Y3RS, BeeAntOS (2 members gave Thanks to SeaDragon for this useful post)
  14. #88
    FoxPox's Avatar Member
    Reputation
    12
    Join Date
    Jun 2018
    Posts
    83
    Thanks G/R
    19/11
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hmm, no working

    Code:
    2020.07.02 22:11:03.820	20.6.28.1	error while initializing plugins
    2020.07.02 22:11:03.821	20.6.28.1		C:\th\Plugins\glq\MonstersCountPlugin.cs(385,122) : error CS0103: The name 'GLQ_BasePluginCN' does not exist in the current context
    2020.07.02 22:11:03.821	20.6.28.1		C:\th\Plugins\glq\MonstersCountPlugin.cs(385,196) : error CS1061: 'IController' does not contain a definition for 'CurrentLanguage' and no accessible extension method 'CurrentLanguage' accepting a first argument of type 'IController' could be found (are you missing a using directive or an assembly reference?)
    2020.07.02 22:11:03.821	20.6.28.1		C:\th\Plugins\glq\MonstersCountPlugin.cs(398,123) : error CS0103: The name 'GLQ_BasePluginCN' does not exist in the current context
    2020.07.02 22:11:03.821	20.6.28.1		C:\th\Plugins\glq\MonstersCountPlugin.cs(398,197) : error CS1061: 'IController' does not contain a definition for 'CurrentLanguage' and no accessible extension method 'CurrentLanguage' accepting a first argument of type 'IController' could be found (are you missing a using directive or an assembly reference?)
    2020.07.02 22:11:03.821	20.6.28.1		C:\th\Plugins\glq\MonstersCountPlugin.cs(410,112) : error CS0103: The name 'GLQ_BasePluginCN' does not exist in the current context
    2020.07.02 22:11:03.821	20.6.28.1		C:\th\Plugins\glq\MonstersCountPlugin.cs(410,186) : error CS1061: 'IController' does not contain a definition for 'CurrentLanguage' and no accessible extension method 'CurrentLanguage' accepting a first argument of type 'IController' could be found (are you missing a using directive or an assembly reference?)
    2020.07.02 22:11:03.821	20.6.28.1		C:\th\Plugins\glq\MonstersCountPlugin.cs(422,118) : error CS0103: The name 'GLQ_BasePluginCN' does not exist in the current context
    2020.07.02 22:11:03.821	20.6.28.1		C:\th\Plugins\glq\MonstersCountPlugin.cs(422,197) : error CS1061: 'IController' does not contain a definition for 'CurrentLanguage' and no accessible extension method 'CurrentLanguage' accepting a first argument of type 'IController' could be found (are you missing a using directive or an assembly reference?)
    2020.07.02 22:11:03.821	20.6.28.1		C:\th\Plugins\glq\MonstersCountPlugin.cs(434,116) : error CS0103: The name 'GLQ_BasePluginCN' does not exist in the current context
    2020.07.02 22:11:03.821	20.6.28.1		C:\th\Plugins\glq\MonstersCountPlugin.cs(434,194) : error CS1061: 'IController' does not contain a definition for 'CurrentLanguage' and no accessible extension method 'CurrentLanguage' accepting a first argument of type 'IController' could be found (are you missing a using directive or an assembly reference?)

  15. #89
    oldMla's Avatar Member
    Reputation
    1
    Join Date
    Mar 2020
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I manually edited the file to change the 6 instances where GLQ_BasePluginCN. and HUD.CurrentLanguage was used.

    As an example:
    textBuilder.AppendFormat(str_TotalRP + " {0}% = {1}", totalMonsterRiftProgression.ToString("f2"),GLQ_BasePluginCN.ValueToString((long) totalTime, ValueFormat.LongTime, Hud.CurrentLanguage));
    becomes
    textBuilder.AppendFormat(str_TotalRP + " {0}% = {1}", totalMonsterRiftProgression.ToString("f2"),ValueToString((long)totalTime, ValueFormat.LongTime));

    The plugin works great once I did that. I can now see Piranhas and EntanglingShot so I know when to swap between Bolas and Entanglingshot on my DH

  16. #90
    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 oldMla View Post
    I manually edited the file to change the 6 instances where GLQ_BasePluginCN. and HUD.CurrentLanguage was used.

    As an example:
    textBuilder.AppendFormat(str_TotalRP + " {0}% = {1}", totalMonsterRiftProgression.ToString("f2"),GLQ_BasePluginCN.ValueToString((long) totalTime, ValueFormat.LongTime, Hud.CurrentLanguage));
    becomes
    textBuilder.AppendFormat(str_TotalRP + " {0}% = {1}", totalMonsterRiftProgression.ToString("f2"),ValueToString((long)totalTime, ValueFormat.LongTime));

    The plugin works great once I did that. I can now see Piranhas and EntanglingShot so I know when to swap between Bolas and Entanglingshot on my DH


    Originally Posted by FoxPox View Post
    hmm, no working

    Code:
    2020.07.02 22:11:03.820	20.6.28.1	error while initializing plugins
    2020.07.02 22:11:03.821	20.6.28.1		C:\th\Plugins\glq\MonstersCountPlugin.cs(385,122) : error CS0103: The name 'GLQ_BasePluginCN' does not exist in the current context
    2020.07.02 22:11:03.821	20.6.28.1		C:\th\Plugins\glq\MonstersCountPlugin.cs(385,196) : error CS1061: 'IController' does not contain a definition for 'CurrentLanguage' and no accessible extension method 'CurrentLanguage' accepting a first argument of type 'IController' could be found (are you missing a using directive or an assembly reference?)
    2020.07.02 22:11:03.821	20.6.28.1		C:\th\Plugins\glq\MonstersCountPlugin.cs(398,123) : error CS0103: The name 'GLQ_BasePluginCN' does not exist in the current context
    2020.07.02 22:11:03.821	20.6.28.1		C:\th\Plugins\glq\MonstersCountPlugin.cs(398,197) : error CS1061: 'IController' does not contain a definition for 'CurrentLanguage' and no accessible extension method 'CurrentLanguage' accepting a first argument of type 'IController' could be found (are you missing a using directive or an assembly reference?)
    2020.07.02 22:11:03.821	20.6.28.1		C:\th\Plugins\glq\MonstersCountPlugin.cs(410,112) : error CS0103: The name 'GLQ_BasePluginCN' does not exist in the current context
    2020.07.02 22:11:03.821	20.6.28.1		C:\th\Plugins\glq\MonstersCountPlugin.cs(410,186) : error CS1061: 'IController' does not contain a definition for 'CurrentLanguage' and no accessible extension method 'CurrentLanguage' accepting a first argument of type 'IController' could be found (are you missing a using directive or an assembly reference?)
    2020.07.02 22:11:03.821	20.6.28.1		C:\th\Plugins\glq\MonstersCountPlugin.cs(422,118) : error CS0103: The name 'GLQ_BasePluginCN' does not exist in the current context
    2020.07.02 22:11:03.821	20.6.28.1		C:\th\Plugins\glq\MonstersCountPlugin.cs(422,197) : error CS1061: 'IController' does not contain a definition for 'CurrentLanguage' and no accessible extension method 'CurrentLanguage' accepting a first argument of type 'IController' could be found (are you missing a using directive or an assembly reference?)
    2020.07.02 22:11:03.821	20.6.28.1		C:\th\Plugins\glq\MonstersCountPlugin.cs(434,116) : error CS0103: The name 'GLQ_BasePluginCN' does not exist in the current context
    2020.07.02 22:11:03.821	20.6.28.1		C:\th\Plugins\glq\MonstersCountPlugin.cs(434,194) : error CS1061: 'IController' does not contain a definition for 'CurrentLanguage' and no accessible extension method 'CurrentLanguage' accepting a first argument of type 'IController' could be found (are you missing a using directive or an assembly reference?)
    Thank you. I think it's fixed now

Page 6 of 9 FirstFirst ... 23456789 LastLast

Similar Threads

  1. [v7.2] [INTERNATIONAL] [glq] MonsterRiftProgressionPlugin
    By SeaDragon in forum TurboHUD Community Plugins
    Replies: 23
    Last Post: 09-07-2021, 04:46 AM
  2. [v7.2] [INTERNATIONAL] [glq] ZeiCircleForBoss
    By SeaDragon in forum TurboHUD Community Plugins
    Replies: 22
    Last Post: 05-25-2018, 03:33 AM
  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 11: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