-
Active Member
Originally Posted by
cherouvim13
In case I do not want Internal Cooldown to be displayed, such as in Stricken or Epiphany or Vengeance , because it clutters the horizontal order of the buffs, what should I do?
You cannot customize this. The BuffRuleFactory adds by default all "visibile information about a buff" to the specific BuiffRuleCalculators. If you want to change that you need to fork the BuffRuleFactory and maintain a seperate version for yourself. For instance, If you want for Epiphany to not show the "healing instance" you need to uncomment the specific BuffRule within the BuffRule Definitons of Epiphany. That is the only way.
Originally Posted by
cherouvim13
Also the IconIndex starts from 0, but is there any template for each power/item what I.I. uses? Or it doesn't matter if it is 0 or 1 or 2 etc.
I do not understand this question. Please rephrase and maybe use an example.
I won't give any support (or answer requests) via private messaging. Ask your questions about a plugin within its thread!
-
Post Thanks / Like - 1 Thanks
cherouvim13 (1 members gave Thanks to d3gigi for this useful post)
-
Active Member
Originally Posted by
Csavo
ANYWAY, back on topic, can you tell me how to find the textures? I don't know how to use Jacks "extension" either, you guys should stop assuming everyone is a programmer, and knows what those stuff are and what to do with them
Easy fix: Stop asking questions where you know that the solution is some piece of code that a programmer will have to write. You'll get answers like these, they way you are asking questions. If you want to have a plug and play solution for your question (without yourself coding at al)) than you need to respecify your question as a "request". Afterwards post your request and don't ask questions that are hidden requests, if you dont find the answers sufficient for your cause. It is as simple as that.
I won't give any support (or answer requests) via private messaging. Ask your questions about a plugin within its thread!
-
Member
Thank you, so I will work under the buffrulefactory, disabling any definitions I do not want to be shown, got it
About the Icon Index, I see various numbers starting from 0. Is there any specific rule (template) for each buff to be shown with specific Icon Index? Or this goes randomly?
Apologies for the questions, I'm trying to understand how this whole thing works.
-
Active Member
Originally Posted by
d3gigi
Easy fix: Stop asking questions where you know that the solution is some piece of code that a programmer will have to write. You'll get answers like these, they way you are asking questions. [...] Afterwards post your request and don't ask questions that are hidden requests, if you dont find the answers sufficient for your cause. It is as simple as that.
Umm, I can't agree with this one regarding this exact case. I just wanted to know where to find the textures for the items (AKA how to "check the TextureController", as you told me in a prior comment). I did not ask for any code to be written. Its quite the opposite of what you are saying (again, with this exact question, you are probably right regarding some other questions I might have asked in the past).
Edit: unless "checking the TextureController" requires some code to do it. If so, you are probably right with this case as well, but I expected an answer like "open file xxx.yyy, and look for the SNO for your buff, and than copy [something], and try it with inserting into the UseLegendaryItemTexture = Hud.Inventory.GetSnoItem(--here--) line.
Last edited by Csavo; 03-30-2017 at 03:31 AM.
-
Active Member
Originally Posted by
cherouvim13
Thank you, so I will work under the buffrulefactory, disabling any definitions I do not want to be shown, got it
About the Icon Index, I see various numbers starting from 0. Is there any specific rule (template) for each buff to be shown with specific Icon Index? Or this goes randomly?
Apologies for the questions, I'm trying to understand how this whole thing works.
There is no default values for Buffs that are induced by skills that are correct all the time. There is a rule of thumb for passive skills, that an equipped passive has it's "equipped buff" on index 0 - that is not true for all passives though. As for skills - there is no such thing. The "passive rule of thumb" does also partially apply for items. If an item is equipped and this item provides you with a ISnoPower that adds a "Buff" to you, it has a very high chance to have its equipped status encoded on IconIndex 0. That is not true for all items - but for most of them.
To actually figure out what IconIndexes are used by an Buff you can use any "default" buffrule with IconIndex <= 31 to make the buff itself displayable within debug mode - once the buff is triggered atleast once it will show. If the buff never shows: This means either the SNO-ID is incorrect (-> report) or the ISnoPower is not providing a Buff on your character (you'll see this in the BuffRuleFactory for skills that only have "//nothing there") in their ruleset. This means I tested that skill for all runes, all procs and it didn't activate (didn't gave a buff to my actor).
I won't give any support (or answer requests) via private messaging. Ask your questions about a plugin within its thread!
-
Post Thanks / Like - 1 Thanks
cherouvim13 (1 members gave Thanks to d3gigi for this useful post)
-
Contributor
This exception is what causes, very much, hundreds
But the plugin can run normally
I modified some BuffRuleFactory.cs useless buff, add / /
Code:
2017.04.05 22:42:36.631 CollectPlayers exception (System.NullReferenceException: 未将对象引用设置到对象的实例。
在 Turbo.Collector.Players.PlayerCollector.****************()
在 Turbo.Collector.Collect.************(String )
在 Turbo.Collector.Collect.*****(Boolean ))
2017.04.05 22:42:36.635 collect exception (System.NullReferenceException: 未将对象引用设置到对象的实例。
在 Turbo.Collector.Scenes.SceneCollector.******()
在 Turbo.Collector.Collect.*****(Boolean ))
2017.04.05 22:42:36.637 minimap draw error (System.NullReferenceException: 未将对象引用设置到对象的实例。
在 Turbo.Basic.MapRevealElement.*********(Single& , Single& , Single& , Single& )
在 Turbo.Basic.MapRevealElement.Draw()
在 Turbo.Basic.Overlay.DrawMinimapLayer())
2017.04.05 22:42:36.649 CollectPlayers exception (System.NullReferenceException: 未将对象引用设置到对象的实例。
在 Turbo.Collector.Players.PlayerCollector.****************()
在 Turbo.Collector.Collect.************(String )
在 Turbo.Collector.Collect.*****(Boolean ))
2017.04.05 22:42:36.652 collect exception (System.NullReferenceException: 未将对象引用设置到对象的实例。
在 Turbo.Collector.Scenes.SceneCollector.******()
在 Turbo.Collector.Collect.*****(Boolean ))
2017.04.05 22:42:36.653 minimap draw error (System.NullReferenceException: 未将对象引用设置到对象的实例。
在 Turbo.Basic.MapRevealElement.*********(Single& , Single& , Single& , Single& )
在 Turbo.Basic.MapRevealElement.Draw()
在 Turbo.Basic.Overlay.DrawMinimapLayer())
2017.04.05 22:42:36.666 CollectPlayers exception (System.NullReferenceException: 未将对象引用设置到对象的实例。
在 Turbo.Collector.Players.PlayerCollector.****************()
在 Turbo.Collector.Collect.************(String )
在 Turbo.Collector.Collect.*****(Boolean ))
2017.04.05 22:42:36.668 collect exception (System.NullReferenceException: 未将对象引用设置到对象的实例。
在 Turbo.Collector.Scenes.SceneCollector.******()
在 Turbo.Collector.Collect.*****(Boolean ))
2017.04.05 22:42:36.670 minimap draw error (System.NullReferenceException: 未将对象引用设置到对象的实例。
在 Turbo.Basic.MapRevealElement.*********(Single& , Single& , Single& , Single& )
在 Turbo.Basic.MapRevealElement.Draw()
在 Turbo.Basic.Overlay.DrawMinimapLayer())
2017.04.05 22:42:36.681 CollectPlayers exception (System.NullReferenceException: 未将对象引用设置到对象的实例。
在 Turbo.Collector.Players.PlayerCollector.****************()
在 Turbo.Collector.Collect.************(String )
在 Turbo.Collector.Collect.*****(Boolean ))
2017.04.05 22:42:36.684 collect exception (System.NullReferenceException: 未将对象引用设置到对象的实例。
在 Turbo.Collector.Scenes.SceneCollector.******()
在 Turbo.Collector.Collect.*****(Boolean ))
2017.04.05 22:42:36.685 minimap draw error (System.NullReferenceException: 未将对象引用设置到对象的实例。
在 Turbo.Basic.MapRevealElement.*********(Single& , Single& , Single& , Single& )
在 Turbo.Basic.MapRevealElement.Draw()
在 Turbo.Basic.Overlay.DrawMinimapLayer())
2017.04.05 22:42:36.697 CollectPlayers exception (System.NullReferenceException: 未将对象引用设置到对象的实例。
在 Turbo.Collector.Players.PlayerCollector.****************()
在 Turbo.Collector.Collect.************(String )
在 Turbo.Collector.Collect.*****(Boolean ))
-
Contributor
A strange exception
I found this strange problem as a feature, not the plugin problem
-
Contributor
1.I found that When I was DH, The BuffIcon will move
Can you fix the position, do not need to coordinate with me, because I am always in the middle
2.I am adding modifications to all BUFF in BuffRuleFactory.cs
I need KJ to add other items in the interface
Including the Bounty items,the set items, and other items
This is only part of it
Pride_Fall 322977/*
restraint 434980/*
focus 359583/*
The_Traveler_Pledge 447541/*
Istvan_Paired_Blades 359582/*
Firebird_Finery6set 359581/*
Triumvirate 434849/*
tals6set 429855/*
Orb_of_Infinite_Depth 87525/1
Delseres_Magnum_Opus4set 1769/9
Chantodo_Resolve 440235/*
Natalya_Vengeance6set 434964/*
Unhallowed_Essence4set 423244/*
Helltooth_Harness6set 437711/*
Denial 239042/5
Thorns_of_the_Invoker2set 445829/1
Thorns_of_the_Invoker4set 445639
Roland_Legacy6set 409428/*
Seeker_of_the_Light4set 239137/*
Spirit_of_Arachyr4set 30631/6
Shenlong_Spirit2set 440569/*
The_Legacy_of_Raekor6set 429673/*
3.
In addition, can you add a switch to display the BUFF of other players in portrait position
Last edited by SeaDragon; 04-06-2017 at 11:40 AM.
-
Member
Any way to get only the inner sanctury ring and nothing else from the first picture?
-
Active Member
Originally Posted by
fittmarie
Any way to get only the inner sanctury ring and nothing else from the first picture?
You can configure it to be only inner sanctuary - by default the Buffs for each class are empty. So only add inner sanc and you have the configuration you were looking for.
Originally Posted by
SeaDragon
1.I found that When I was DH, The BuffIcon will move
Can you fix the position, do not need to coordinate with me, because I am always in the middle
2.I am adding modifications to all BUFF in BuffRuleFactory.cs
I need KJ to add other items in the interface
Including the Bounty items,the set items, and other items
This is only part of it
3.
In addition, can you add a switch to display the BUFF of other players in portrait position
1. That is inherent to the paint function of BuffPainter (default plugin - nothing I can do as far as I can tell). Test it yourself with "PlayFeetBuffPlugin" from Default Plugins and report back if it's the same issue (it should be - haven't tested). In case it is the same issue: Make a bug report.
2. Make a request for missing items - this is not the thread to do it! Me and Jack did those in the proboard forums (that data got lost though). If done correctly, I'll add your BuffRules to the factory (the inceremental buffs).
3. No plans to do this as of now.
I won't give any support (or answer requests) via private messaging. Ask your questions about a plugin within its thread!
-
Contributor
hi,
some adds for your factory:
PHP Code:
if (pwr == Hud.Sno.SnoPowers.LefebvresSoliloquy.Sno){ /*item Sno: 1925746096 Lefebvre's Soliloquy*/ //cyclone-strike buff for lefebvre
yield return new BuffRule(Hud.Sno.SnoPowers.Monk_CycloneStrike.Sno) { IconIndex = null, MinimumIconCount = 1, ShowTimeLeft = true, /*UseLegendaryItemTexture = Hud.Inventory.GetSnoItem(1925746096)*/ };
}
PHP Code:
if (pwr == Hud.Sno.SnoPowers.ConventionOfElements.Sno){
yield return new BuffRule(pwr){ IconIndex = null, MinimumIconCount = 1, ShowTimeLeft = true };
}
greetz gjuz
-
Contributor
I disabled PartyBuffPlugin
Use original PlayerBottomBuffListPlugin
No problem, as you can see
I fixed the coordinates
Code:
if (p.IsMe){
RuleCalculatorMe.CalculatePaintInfo(p);
if (RuleCalculatorMe.PaintInfoList.Count != 0)
BuffPainter.PaintHorizontalCenter(
RuleCalculatorMe.PaintInfoList,
0,
Hud.Window.Size.Height * 0.5f + Hud.Window.Size.Height * 0.04f,
Hud.Window.Size.Width,
RuleCalculatorMe.StandardIconSize,
RuleCalculatorMe.StandardIconSpacing
);
Other players have similar coordinate offsets, especially DH
Last edited by SeaDragon; 04-07-2017 at 01:04 AM.
-
Post Thanks / Like - 1 Thanks
cherouvim13 (1 members gave Thanks to SeaDragon for this useful post)
-
Contributor
I added print on portrait position, assuming someone needs
Code:
BuffPainter.PaintHorizontal(
RuleCalculators[p.HeroClassDefinition.HeroClass].PaintInfoList,
p.PortraitUiElement.Rectangle.Right,
p.PortraitUiElement.Rectangle.Top + p.PortraitUiElement.Rectangle.Height * 0.72f,
RuleCalculators[p.HeroClassDefinition.HeroClass].StandardIconSize,
0
);
-
Contributor
A strange BUG
I added OculusRing and BrokenPromises
When they are triggered at the same time, the OculusRing will only display the ICD, without showing the BrokenPromises
I added a temporary item icon for BrokenPromises
Can be displayed when it is triggered individually
-
Contributor
I checked out almost every viable buff
Found that some of the passive skills have been returned to the equipment
I deleted them, I do not know where the meaning, please forgive me to delete it
I was almost every may be used on the legendary items add the correct POWER, part of which need the goods texture, but they are not in the ISnoItemList.cs interface, I try to add some, but failed, need KJ and JACK help
BuffRuleFactory - Pastebin.com
I did not check all items that are not included in the ISnoPowerList.cs interface
Because I can't add them, when KJ and JACK have perfected them I will check them out
As well as a number of other SET and Bounty forging
The list of POWER has an original icon, but not in ISnoPowerList.cs, can not be added
Code:
Pride_Fall 322977/*
restraint 434980/*
focus 359583/*
The_Traveler_Pledge 447541/*
Istvan_Paired_Blades 359582/*
Firebird_Finery6set 359581/*
Triumvirate 434849/*
tals6set 429855/*
Orb_of_Infinite_Depth 87525/1
Delseres_Magnum_Opus4set 1769/9
Chantodo_Resolve 440235/*
Natalya_Vengeance6set 434964/*
Unhallowed_Essence4set 423244/*
Helltooth_Harness6set 437711/*
Denial 239042/5
Thorns_of_the_Invoker2set 445829/1
Thorns_of_the_Invoker4set 445639
Roland_Legacy6set 409428/*
Seeker_of_the_Light4set 239137/*
Spirit_of_Arachyr4set 30631/6
Shenlong_Spirit2set 440569/*
The_Legacy_of_Raekor6set 429673/*