Yes it's possible to do so as it was done in the previous PoE platform script which was discontinued long time ago.
Yes it's possible to do so as it was done in the previous PoE platform script which was discontinued long time ago.
Hello friends,
I want to thank PoeHudContrib, i2um1 and all others that are working on this "must have" tool, adding new features, updating it and keeping it alive.
I have some ideas that I think would be nice to add. I also use TurboHUD (Diablo3 hud) and I really like it and, if possible, you guys could add some useful info like resistences, armour, evade, etc (info from defense tab) somewhere on top of exp bar and crit chance, attack per sec/cast per sec, crit mult, etc (info from each offense tab skills) like on top of the info box when you hover the mouse on the skills. Just some suggestions.
Again, thank s a lot.
Anyone have any ideas where/how to add a exception for "Summon raging spirits" in health bars?
When a enemy boss/exile summon these they quickly take up the majority of the screen, and they are not? counted as minions so to disable minion hp bars dosent seem to help.
@i2um1: Hey friend, I'm trying out your version more now and using latest version. Unfortunately it's crashing very often like after 5 minutes of use. It's a Microsoft .NET Framework error that says:
"Unhandled exception has occurred in your application..."
And here are the details:
Does anyone have any idea what is going on? I run PoeHudContrib version with no problems. Also I have installed all required applications described on first post.Code:See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at PoeHUD.Hud.KC.KillsCounterPlugin.Calc(EntityWrapper entityWrapper) at PoeHUD.Hud.KC.KillsCounterPlugin.Draw() at PoeHUD.Hud.Plugin`1.Render() at PoeHUD.Hud.SizedPlugin`1.Render() at PoeHUD.Hud.ExternalOverlay.<OnRender>b__12(IPlugin x) at System.Collections.Generic.List`1.ForEach(Action`1 action) at PoeHUD.Hud.ExternalOverlay.OnRender() at PoeHUD.Framework.Helpers.ActionHelper.SafeInvoke(Action action) at PoeHUD.Hud.UI.Graphics.RenderLoop() at PoeHUD.Hud.ExternalOverlay.<OnLoad>b__b() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at PoeHUD.Hud.ExternalOverlay.<OnLoad>d__c.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__4(Object state) ************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll ---------------------------------------- PoeHUD Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Games/Path%20of%20Exile/Tools/PoeHUD/PoeHUD.exe ---------------------------------------- System Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34239 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- SharpDX Assembly Version: 2.6.3.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Games/Path%20of%20Exile/Tools/PoeHUD/PoeHUD.exe ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- Newtonsoft.Json Assembly Version: 6.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Games/Path%20of%20Exile/Tools/PoeHUD/PoeHUD.exe ---------------------------------------- System.Numerics Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll ---------------------------------------- System.Runtime.Serialization Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll ---------------------------------------- System.Xml.Linq Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Data Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll ---------------------------------------- SharpDX.Direct3D9 Assembly Version: 2.6.3.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Games/Path%20of%20Exile/Tools/PoeHUD/PoeHUD.exe ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
Thanks in advance.
Trying to access a dictionary key that doesn't exist.
This is a byproduct of using an increment operation.
It's this, in PoeHUD.Hud.KC.KillsCounterPlugin.Calc (aka KillsCounterPlugin.cs) :
counters[rarity]++;
As a local fix, add this directly before that line:
if(!counters.ContainsKey(rarity))
{
counters[rarity] = 0;
}
As an alternative fix, since MonsterRarity is a limited amount of possible values, initialize all the MonsterRarities of the counters dictionary to 0 when the counters variable is initialized.
aka
counters = new Dictionary<MonsterRarity, int>();
counters[MonsterRarity.White] = 0;
counters[MonsterRarity.Magic] = 0;
etc...
EDIT: Just noticed that there is an Init() function that pretty much does what I proposed as a "better" solution. I don't know why it doesn't work to prevent that crash though.
Last edited by sssk; 01-11-2015 at 01:38 PM.
I add new option "Show SRS" and made mission mobs frame for different rarity:
Code:HealthBarRenderer.cs public class MobHealthSettings : SettingsForModule { public MobHealthSettings() : base("Health Bars") { Players.Color.Default = Color.FromArgb(255, 0, 128, 0); ........ public Setting<bool> ShowES = new Setting<bool>("Show ES", true); public Setting<bool> ShowSRS = new Setting<bool>("Show SRS", false); } ....... private void RenderHealthBar(RenderingContext rc, Poe.Camera camera, Healthbar current, float clientWidth, float clientHeight) { ......... if (mobScreenCoords == Vec2.Empty) return; //don't show Ally SRS (Summon Raging Skull) if ((current.entity.Path.ToLower().Contains("summonedskull"))&&!Settings.ShowSRS&&!current.entity.IsHostile) return; int scaledWidth = (int) (current.settings.Width*clientWidth); ...........My version here https://github.com/XaocDIO/PoeHUDCode:MonterTracker.cs private MapIcon GetMapIconForMonster(EntityWrapper e) { Rarity rarity = e.GetComponent<ObjectMagicProperties>().Rarity; if ((!e.IsHostile)||(e.Path.ToLower().Contains("vagan"))) return new MapIconCreature(e, new HudTexture("monster_ally.png"), 6) { Rarity = rarity, Type = MapIcon.IconType.Minion }; //test for mission mob string mName = e.Path.ToLower(); if (mName.Contains('@')) { mName = mName.Split('@')[0]; } if (mName.Contains("mission")) { switch (rarity) { case Rarity.White: return new MapIconCreature(e, new HudTexture("monster_enemy_mission.png"), 6) { Type = MapIcon.IconType.Monster, Rarity = rarity }; case Rarity.Magic: return new MapIconCreature(e, new HudTexture("monster_enemy_blue_mission.png"), 8) { Type = MapIcon.IconType.Monster, Rarity = rarity }; case Rarity.Rare: return new MapIconCreature(e, new HudTexture("monster_enemy_yellow_mission.png"), 10) { Type = MapIcon.IconType.Monster, Rarity = rarity }; case Rarity.Unique: return new MapIconCreature(e, new HudTexture("monster_enemy_orange_mission.png"), 10) { Type = MapIcon.IconType.Monster, Rarity = rarity }; } } else switch (rarity) { case Rarity.White: return new MapIconCreature(e, new HudTexture("monster_enemy.png"), 6) { Type = MapIcon.IconType.Monster, Rarity = rarity }; ...............
Code:private void Calc(EntityWrapper entityWrapper) { if (!countedIds.Contains(entityWrapper.LongId)) { countedIds.Add(entityWrapper.LongId); MonsterRarity rarity = entityWrapper.GetComponent<ObjectMagicProperties>().Rarity; if (entityWrapper.IsHostile && counters.ContainsKey(rarity)) { counters[rarity]++; summaryCounter++; } } }
Last edited by doragon; 01-11-2015 at 03:23 PM.
Hello sssk, thank you for your reply.
I'm not programmer so I don't really understand what's going on, sorry. I'm just wondering if this problem is on my computer or if it's a bug on poehud.
BTW, are you i2um1? Would like to know so I can send reputations.
Thanks in advance.
sorry, from now i wont push any new offsets because of that did not go as I expected.
if you want made more optimization in showing labels (decrease from n to 1 operation) u may find label in itemonground.render, good luck.
Why does i2um1 use these nuget shit!? I already have the library installed, i dont need to download the whole package again with 100 kbs/s!
I compiled the other poehud source codes just fine.
How do i fix XaocDIO's poehud so it doesnt crash?