-
Member
Can anybody helps to update the [Psycho] ClassMarkersPlugin
v9 support please
thanks a lot!
-
Member
Hello everybody!
Can someone help solve the problem with the plugin
2019.05.18 13:36:24.377 19.5.16.3 error while calling Customize() on Turbo.Plugins.User.ClassMarkersPlugin (System.Collections.Generic.KeyNotFoundException: Данный ключ отсутствует в словаре.
в System.ThrowHelper.ThrowKeyNotFoundException()
в System.Collections.Generic.Dictionary`2.get_Item(TKey key)
в Turbo.Plugins.User.ClassMarkersPlugin.<Customize>b__28_0(OtherPlayersPlugin plugin)
в ******.RunOnPlugin[T](Action`1 action)
в Turbo.Plugins.User.ClassMarkersPlugin.Customize()
в ********.********* **())
-
Legendary
Download this file: [C#] ClassMarkersPlugin - Pastebin.com
Code changed:
Code:
foreach (HeroClass heroClass in Enum.GetValues(typeof(HeroClass)))
{
plugin.DecoratorByClass[heroClass].Decorators.Add(MyGroundCirleDecorator[heroClass]);
plugin.DecoratorByClass[heroClass].Decorators.Add(MyMapCircleDecorator[heroClass]);
}
to
Code:
foreach (HeroClass heroClass in Enum.GetValues(typeof(HeroClass)))
{
if (heroClass != HeroClass.None)
{
plugin.DecoratorByClass[heroClass].Decorators.Add(MyGroundCirleDecorator[heroClass]);
plugin.DecoratorByClass[heroClass].Decorators.Add(MyMapCircleDecorator[heroClass]);
}
}
-
Post Thanks / Like - 2 Thanks
-
Member
Originally Posted by
RNN
Download this file:
[C#] ClassMarkersPlugin - Pastebin.com
Code changed:
Code:
foreach (HeroClass heroClass in Enum.GetValues(typeof(HeroClass)))
{
plugin.DecoratorByClass[heroClass].Decorators.Add(MyGroundCirleDecorator[heroClass]);
plugin.DecoratorByClass[heroClass].Decorators.Add(MyMapCircleDecorator[heroClass]);
}
to
Code:
foreach (HeroClass heroClass in Enum.GetValues(typeof(HeroClass)))
{
if (heroClass != HeroClass.None)
{
plugin.DecoratorByClass[heroClass].Decorators.Add(MyGroundCirleDecorator[heroClass]);
plugin.DecoratorByClass[heroClass].Decorators.Add(MyMapCircleDecorator[heroClass]);
}
}
Thanks for your help. Everything works
-
Member
but now i lost pinging (animated) markers ...
-
Active Member
Guys I need help.
How to mod that plugin to see only WD, rest is not important for me.
Just a dot under a character, circle not needed too.
Thx.
Last edited by ch25; 04-30-2020 at 07:10 PM.
-
Legendary
With this little plugin you should see the WD in GR
plugins\RNN\WDCircleGR.cs
-
Post Thanks / Like - 1 Thanks
ch25 (1 members gave Thanks to RNN for this useful post)
-
Member
or you can just put
"//" without quotes
in front of each line starting with:
MyMapCircleDecorator[HeroClass.
or
MyGroundCirleDecorator[HeroClass.
for the classes you dont want to see circles.
and also you can set
MyPlayerCircle = true;
to false, if you dont want to have it on yourself
-
Post Thanks / Like - 1 Thanks
ch25 (1 members gave Thanks to odin99 for this useful post)
-
Member
Getting exceptions doing that.
-
Member
hmm i see.
the only workaround i can give you then is to set all the class colors you dont like to (0, 0, 0, 0)
like:
MyMapCircleDecorator[HeroClass.Barbarian] = CreateMapCircleDecorators(0, 0, 0, 0); //(200, 250, 10, 10);
the text after // is to dont forget the original colors so you can reset it at any time
or you use the plugin RNN have linked
Last edited by odin99; 05-01-2020 at 03:46 AM.
-
Member
Still with circle but dont show too much... not a bad ideia
Last edited by M1SHAKE; 05-01-2020 at 07:15 AM.
-
Active Member
Originally Posted by
RNN
With this little plugin you should see the WD in GR
plugins\RNN\
WDCircleGR.cs
RNN could you help me please ? I liked these decorators for WD so much but when Witch Doctor teleport to town the Decorator circle stills freezed on game where he Tp`d
What can I do to decorator goes off when he lefts and come back only when he appears ?
-
Legendary
Originally Posted by
Saico
RNN could you help me please ? I liked these decorators for WD so much but when Witch Doctor teleport to town the Decorator circle stills freezed on game where he Tp`d
What can I do to decorator goes off when he lefts and come back only when he appears ?
It's an old problem that is especially annoying when you play GR
It not only happens when you travel to / from the town, but also when you are on different levels (one changes level / map)
It is reduced or eliminated by adding additional code. Download it again
Last edited by RNN; 05-02-2020 at 10:26 AM.
-
Active Member
Originally Posted by
RNN
It's an old problem that is especially annoying when you play GR
It not only happens when you travel to / from the town, but also when you are on different levels (one changes level / map)
It is reduced or eliminated by adding additional code. Download it again
Gonna Try right now. Thx for help, enlarged a bit the pink stroke for circle and its dope, WD do not get out of my eyes now.
-
Active Member
Originally Posted by
RNN
With this little plugin you should see the WD in GR
plugins\RNN\
WDCircleGR.cs
I am having this exception with WDCircleGR.cs
\Plugins\RNN\WDCircleGR.cs(7,20) : warning CS0108: 'WDCircleGR.Order' hides inherited member 'BasePlugin.Order'. Use the new keyword if hiding was intended.
any idea ?