Giter VIP home page Giter VIP logo

overlayplugin's Introduction

OverlayPlugin

ACT に柔軟にカスタマイズ可能なミニパースやスペルタイマーのオーバーレイを追加します。

動作環境

  • .NET Framework 4.5 以上がインストールされているシステム

ダウンロード

リリースページでビルド済みのバイナリを配布しています。

ダウンロード後、ファイルを展開する前にダウンロードした ZIP ファイルを右クリックしてプロパティを開き、「ブロックを解除」ボタンを押してブロックを解除することを強く推奨します。

ビルド方法

手順:

  • .NET Framework 4.5.1 をインストールします
  • Microsoft Build Tools 2013 (http://www.microsoft.com/ja-jp/download/details.aspx?id=40760) をインストールします(Visual Studio 2013 がインストールされている場合は不要)
  • ソースコード一式をチェックアウト、または ZIP ファイルでダウンロードして解凍します
  • Thirdparty フォルダの中にある ACT フォルダに、ACT の実行ファイル(Advanced Combat Tracker.exe)をコピーします
  • build.bat を実行します

うまくいけば、BuildX86 および BuildX64 フォルダの中にプラグインが生成されます。

使用方法

OverlayPlugin.dll をプラグインとして ACT に追加します。

追加すると、No data to show と表示されたオーバーレイか、 もしくはプレイヤーの DPS が表示されたオーバーレイが表示されます。 オーバーレイの非透過部分をドラッグすると移動させることができ、右下のハンドルをドラッグするとオーバーレイのサイズの変更ができます。

ACT のプラグインタブにある「OverlayPlugin.dll」タブで、オーバーレイの追加や削除、表示の切り替え、マウスクリックの透過、表示するファイルの設定などが行えます。

トラブルシューティング

オーバーレイウィンドウなどが表示されない場合は、Plugins タブにある OverlayPlugin.dll タブ内の下部にあるログのメッセージをよく確認した上で トラブルシューティングをお読みください。

カスタマイズ

プラグインが配置されているフォルダにある resources フォルダの中の、miniparse.html および spelltimer.html を編集することでカスタマイズができます。

詳しい編集方法に関しては Wiki をご覧ください。JavaScript と HTML に関する基礎的な知識があれば編集できると思います。

アドオン

本プラグインはアドオンをサポートしております。対応するアドオンをプラグインディレクトリ直下の addon ディレクトリに配置すると自動的に読み込まれます。

仕様に関しては AddonExample プロジェクトをご確認ください。

ライセンス

MIT ライセンスです。詳細は LICENSE.txt を参照してください。

Other Languages:

overlayplugin's People

Contributors

alalwww avatar elena-v2 avatar everspace avatar jryansc avatar rainbowmage avatar xtuaok avatar yretenai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

overlayplugin's Issues

Overlay size cannot be changed

The zoom can only change the size of the components like font, but the size of the overlay cannot be changed, which causes it perform bad on the computer with lower resolution

"Plugin Initialization Failed"

Hi, was very excited to use your plugin, but as I was enabling it in ACT, I was getting the following error:

"An attempt was made to laod an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information."

I have .NET framework 4.5.1, so I don't know what is causing this issue, and I don't know how to enable the loadFromRemoteSources switch.

"Reload Overlay" error

For some reason I'm not finding an accurate answer to this.

I managed to set up ACT and everything works fine, except when I want to pick a URL in the OverlayPlugin window I get an error message:

https://gyazo.com/10638d46fa0cf0f3c94623634b1285aa

(An exception not handled has occurred in your application program. If you click continue, this error will be ignored. If you click End, the application is immediately terminated.")

Someone can help me through this please? I even uninstalled everything and this doesn't solve it.

Overlay disappear

Now using the newest version, when alt+tab out of the game and back in, sometimes the overlay will disappear. Previously when using the older version, I'm able to alt+tab to find the overlay and get it to appear again, now with the new version, I'm not able to. The only way is to uncheck and check on the display overlay check box.

Overlay not showing up in obs

This use to not be a problem until the x64 upate to act and the recent updates to the overlay plugin. The overlay window use to show up as "HtmlRenderer" in windows. When you alt tabbed through your windows you would see it. Now it's not there anymore so in obs you can't window capture the overlay cause it won't show in the pull down list. Is there anyway to fix this?

Plugin Initialization Failed

Adding the Plugin works.
Enabling doesn't.

image

Other Plugins work ok.
Old versions of the overlay also worked. But suddenly also stopped

***** 2015-04-03T19:51:18 - Enabling plugin: D:\Advanced Combat Tracker\OverlayPlugin-0.3.3.5-x64-full\OverlayPlugin.dll
***** 2015-04-03T19:51:18 - Plugin Initialization Failed
System.ArgumentNullException: Array cannot be null.
   at RainbowMage.OverlayPlugin.PluginLoader.Initialize(TabPage pluginScreenSpace, Label pluginStatusText)
   at Advanced_Combat_Tracker.FormActMain.pluginPanelEnabledChecked(Object sender, EventArgs e)
   at Advanced_Combat_Tracker.FormActMain.WriteExceptionLog(Exception ex, String MoreInfo)
   at Advanced_Combat_Tracker.FormActMain.pluginPanelEnabledChecked(Object sender, EventArgs e)
   at System.Windows.Forms.CheckBox.set_CheckState(CheckState value)
   at System.Windows.Forms.CheckBox.OnClick(EventArgs e)
   at System.Windows.Forms.CheckBox.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at Advanced_Combat_Tracker.ActLoader.Main(String[] args)
*****

Edit: i tried version 0.3.3.5 but it's the same with 0.3.3.6

Update Chrome/CEF/Xilium version

Hello,

I tried to update the CEF version so that we can get access to newer web features but I ran into some problems. I thought I should document them here for you and others. The result was that there is a bug in CEF where it will hang on shutdown when using multi-threaded + single-process together, which this project does. So quitting ACT leaves it hung.

I was trying Xilium a655793 which is based on CEF 3.2987.1601.gf035232 (Chrome 57.0.2987.133).

The bug is here, which is marked as wontfix: https://bitbucket.org/chromiumembedded/cef/issues/1993/cef-2785-shutdown-hangs-in-single-process

I left a comment explaining in the bug how to fix CEF. Until that is done, it won't be possible to update to a newer CEF without disabling multi-thread (ie, pushing all CEF stuff off to another thread in the control of this project, but requires asynchronous access to all of the CEF interfaces), or disabling single-process, which is not ideal given how many browsers will be running.

I tried a lot to find a workaround that OverlayPlugin could do to avoid the problem. The best I could come up with was to call CefContentRendererClient::Get()->WillDestroyCurrentMessageLoop(). However that would need to be done from a C++ module that would need to have access to all the Cef and Chromium headers, which was not ideal. And along the way to trying that I found something was defining a macro "max()" which interfered with chromium headers and I had to #undef that in them.

So the best would be fixing this upstream in CEF and then updating to the new version from OverlayPlugin. I am hoping my response on that bug gets some attention.

Other than this problem, the update process was very smooth. There was one CEF function that got an extra parameter, so I had to add that to the OverlayPlugin override, but that was the only issue.

.NET Framework Error

When trying to activate the plugin by browsing to the updated version of OverlayPlugin.dll in ACT, I got a .NET framework error about something being isolated in a prior version of .NET Framework. I changed my OS language to English to be able to find out what the problem is and relogged to my user account to change it, and when I got back, ACT couldn't start up at all. Deleting the .dll files from the folder that they'd been opened from didn't do anything to my ACT client.

This is what ACT looks like after loading: http://imgur.com/FT3GIAS

Reinstalling ACT will probably fix it, but that leaves me with the problem of getting the plugin to work.

レンダラー

お疲れ様です。

こちらのhtmlのレンダラーは何を元に用いていらっしゃるのでしょうか?

win7x64環境で超極細ゴシック等の細いフォントを指定した際に,フォントサイズが小さい場合(12px等)ビットマップフォント(アンチエイリアスが効いていないもの)に差し替えられてしまいます。
該当htmlをchromeで読み込んだ場合は正常に指定したフォントが表示されますので,
元となっているレンダラーをご教授頂ければ調整を試みたい所存です。

宜しくお願い致します。

System.FormatException

I extracted the x86 zip file, made sure all .dlls were unblocked (including the one in ja-JP though I don't use any of the JP stuff) but when adding it to ACT I keep getting the following error:

System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the arguement list.
at RainbowMage.OverlayPlugin.OverlayBase1.InitializeOverlay()
at RainbowMage.OverlayPlugin.OverlayBase1.ctor(TConfig config, string name)
at RainbowMage.OverlayPlugin.PluginMain.InitPlugin(TabPage pluginScreenSpace, Label pluginStatus Text)

It's run as administrator aswell and the only plugins in ACT are this and the FFXIV plugin. Act version is 3.2.0, release 249 which they sent out earlier today.

Using the OverlayPlugin-0.2.5.0 version.

Cant enable the Plugin (DE/GER)

die Datei oder assembly "overlayplugin.core, Version=0.3.3.9, Culture=neutral, publickeytoken=null" oder eine Abhängigkeit davon wurde nicht gefunden. Der Vorgang wird nicht unterstützt. (Ausnahme von HRESULT: 0x80131515)

Error

1/5/2015 12:13:04 PM: Warning: LoadConfig: System.IO.FileNotFoundException: Specified file is not exists.
File name: 'C:\Users\Max\AppData\Roaming\Advanced Combat Tracker\Config\RainbowMage.OverlayPlugin.config.xml'
at RainbowMage.OverlayPlugin.PluginConfig.LoadXml(String path) in c:\Users\XXX\Desktop\ACT\OverlayPlugin-master\OverlayPlugin\PluginConfig.cs:line 216
at RainbowMage.OverlayPlugin.PluginMain.LoadConfig() in c:\Users\XXX\Desktop\ACT\OverlayPlugin-master\OverlayPlugin\PluginMain.cs:line 202

I don't understand what it is that isn't working. Could someone help me please?

ACT has stopped working...

Hi,

Whenever I load your Overlay Program into my ACT, ACT just completely crashes. The error is "ACT has stopped working". I have scoured local forums and your own for a solution and tried just about everything;

All the files are unblocked (I unblocked the .zip before extracting it)
Reinstalled ACT
Reinstalled FFXIV plugin
Reinstalled Overlay several times
Checked I have the latest .NET (4.5.2)

I am running x64 ACT and the x64 Overlay. I am running the program as an administrator. ACT works fine until I load your plugin.

Application-Start 2016-05-17T12:11:34 (v3.3.0     Release: 254 | CLR v4.0.30319.42000 | OS Microsoft Windows NT 6.2.9200.0)
***** 2016-05-17T12:11:35 - Entering InitACT
***** 2016-05-17T12:11:35 - No Config File
***** 2016-05-17T12:11:35 - Exiting InitACT
***** 2016-05-17T12:11:50 - Enabling plugin: C:\Users\Sharpy\AppData\Roaming\Advanced Combat Tracker\Plugins\FFXIV_ACT_Plugin.dll
***** 2016-05-17T12:11:50 - LogFileChanged: C:\Users\Sharpy\AppData\Roaming\Advanced Combat Tracker\FFXIVLogs\Network_20160517.log - 2016-05-17T12:11:50 - 2016-05-17T12:11:50 - 0
***** 2016-05-17T12:12:10 - LogFileChanged: C:\Users\Sharpy\AppData\Roaming\Advanced Combat Tracker\FFXIVLogs\Network_20160517.log - 2016-05-17T12:11:50 - 2016-05-17T12:11:50 - 1277
***** 2016-05-17T12:12:48 - Enabling plugin: C:\overlay\OverlayPlugin-0.3.3.9-x64-full\OverlayPlugin.dll

I am running Windows 8.1. I'm not really sure what other information I can provide. I get the feeling that it is something to do with my user settings on my computer. When I was originally trying to unblock the files, it would allow me to 'unblock' and 'apply' but when I went back into the files the option was still there to unblock. I fixed this by going into the folder Properties > Security, and allowing 'Full Control' for (Users/George) even though this is the only account on my computer and it is set to administrator privileges.

Any help be much appreciated,

Thanks,

Zhil

Hide/Show Overlay with Shortkey CTRL+M / S

Hello there,

as far as I can tell CTRL+m and CTRL+S should Hide/Show the Miniparse or Spelltimer Overlay but it isn't working. Can you help me with that maybe? o:

Best regards,
Jyntax

EDIT: K it works but just if I have ACT as the activ window. Is there a workaround for that? Since I want to be able to hide the Spelltimer if I'm not fighting and tabbing out and in is kinda... Not that usefull if there is a shortcut for it. xD

Rainbowmage Overlay Loading error

3/24/2017 12:58:22 AM: Info: InitPlugin: PluginDirectory = C:\Program Files (x86)\Advanced Combat Tracker\OverlayPlugin-0.3.3.9-x86-full
3/24/2017 12:58:22 AM: Warning: LoadConfig: System.IO.FileNotFoundException: Specified file is not exists.
File name: 'C:\Users\StewartGaming\AppData\Roaming\Advanced Combat Tracker\Config\RainbowMage.OverlayPlugin.config.xml'
at RainbowMage.OverlayPlugin.PluginConfig.LoadXml(String pluginDirectory, String path)
at RainbowMage.OverlayPlugin.PluginMain.LoadConfig()
3/24/2017 12:58:22 AM: Info: LoadConfig: Creating new configuration.
3/24/2017 12:58:22 AM: Info: InitPlugin: Initialized.
3/24/2017 12:59:20 AM: Error: Mini Parse: XivWindowWatcher: System.NullReferenceException: Object reference not set to an instance of an object.
at RainbowMage.OverlayPlugin.OverlayBase1.<InitializeTimer>b__b(Object o, ElapsedEventArgs e) 3/24/2017 12:59:20 AM: Error: Spell Timer: XivWindowWatcher: System.NullReferenceException: Object reference not set to an instance of an object. at RainbowMage.OverlayPlugin.OverlayBase1.b__b(Object o, ElapsedEventArgs e)

Everytime I try to load in the .dll into the ACT, I get this. Everytime. It keeps telling me that a file doesn't exist, which is true. But I can't find anything in any type of support forum for that file not existing, just to delete it if it's corrupted. I've done this before many times for a lot of people, and when this started happening I went and followed like 4 different guides to try to figure out if maybe I just did something wrong. No matter what I do, I can't do anything but get this error.

I'm using the x86 version, if I try to run the x64 version it just auto-crashes, doesn't even give me time to get errors.

System.ArgumentNullException: Value cannot be null

Hi, i got below error when trying to use rainbow mage plug in. This is my first time using this plugin.

System.ArgumentNummException: Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable1 source, Func 2 predicate)
at RainbowMage.OverlayPlugin.PluginMain.InitializeOverlays()
at RainbowMage.OverlayPlugin.PluginMain.InitPlugin(TabPage pluginScreenSpace, Label pluginStatusText)

Can you please advise what went wrong? Thanks.

Cannot read property 'Encounter' of null

This just spams in the log when I load this plugin.

6/24/2017 7:49:20 PM: Info: Spell Timer: BrowserConsole: Uncaught TypeError: Cannot read property 'Encounter' of null (Source: file://ACT/Plugins/OverlayPlugin/resources/miniparse.html, Line: 212)

Can't get the Mini Pasre on OBS

i pretty like ur plugin for ACT
but there is a problem when i use OBS
OBS can't get the miniprase in windows catch, there is no option for choice
so can u release another version for OBS?

pretty thx you create this plugin!!!

Using two Overlays

Hi,

I am using two overlays, DPS and HPS. I want them to sort by damage and healed. But it seems they where fighting in both overlays about the sorting. It seems that the overlays doesn't sort form them self, but every overlay for all.

Sometime it works, if I set the framerate to 60, but not everytime.

Plugin Initialization Failed (loadFromRemoteSources switch?)

I recently got ACT and wanted RainbowMage's overlay plugin. I followed the regular steps of downloading, extracting, and moving the file into the ACT folder, as well as the directions on https://github.com/RainbowMage/OverlayPlugin/blob/master/README-en.md. I also unblocked all the .dll files and made ACT an exception on Windows Firewall. However- this message came up, and I have no idea what to do about it, as I've little knowledge about it, and understand little of what Microsoft has on guides about it, such as on https://docs.microsoft.com/en-us/dotnet/framework/configure-apps/file-schema/runtime/loadfromremotesources-element. It would be great to get some help- screenshot down below.
plugininitializationfailed

Error

2/22/2015 11:24:02 AM: Error: MiniParseOverlay: Update: System.MissingMethodException: Method not found: 'Xilium.CefGlue.CefBrowser RainbowMage.HtmlRenderer.Renderer.get_Browser()'.
at RainbowMage.OverlayPlugin.MiniParseOverlay.Update()
at RainbowMage.OverlayPlugin.OverlayBase`1.b__6(Object o, ElapsedEventArgs e) in c:\Users\John\Documents\GitHub\OverlayPlugin\OverlayPlugin\OverlayBase.cs:line 166

???

Windows 10

Build FAILED.

"C:\Users\inspe_000\Downloads\OverlayPlugin-master\OverlayPlugin-master\OverlayPlugin.sln" (Rebuild target) (1) ->
"C:\Users\inspe_000\Downloads\OverlayPlugin-master\OverlayPlugin-master\OverlayPlugin.Core\OverlayPlugin.Core.csproj" (Rebuild target) (2) ->
(GenerateSatelliteAssemblies target) ->
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2863,5): error MSB3086: Task could not find "AL.exe" using the SdkToolsPath "" or the registry key "HKEY_LOCAL_MACHINE\SOFTWARE
Microsoft\Microsoft SDKs\Windows\v8.0A\WinSDK-NetFx40Tools-x86". Make sure the SdkToolsPath is set and the tool exists in the correct processor specific location under the SdkToolsPath and that the Mic
rosoft Windows SDK is installed [C:\Users\inspe_000\Downloads\OverlayPlugin-master\OverlayPlugin-master\OverlayPlugin.Core\OverlayPlugin.Core.csproj]

0 Warning(s)
1 Error(s)

Time Elapsed 00:00:01.16

Combattant not showing

Hi, the plugins seems to work, for example i have the timer encounter who increment itself, but i'm unable to see combattant datas, nothing.

screenshot

Changing active encounter to selected

Currently, the miniparse overlay will always show the active/latest active encounter. Is it possible to add a change, where you can say, click a checkbox on the MiniParseConfigPanel where it'll change from active encounter to the one you have selected on the ACT main window?

It would be a nice to have feature for viewing encounter reports without having to go through ACT everytime.

Custom overlay issue

I have the overlay installed and working correctly. I got a custom HTML design from a youtube video from Xenosys. I get this Log error repeatedly:

5/17/2017 8:41:34 PM: Info: Mini Parse: BrowserConsole: Uncaught ReferenceError: $ is not defined (Source: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/OverlayPlugin-0.3.3.9-x64-full/resources/miniparseGlowIconGraph%20-%20Custom%20High%20Hit.html, Line: 213)

the picture shows the referenced lines.

Can anyone help me figure out why this is happening? no jobs want to show up :/
image
image

アドオン関係でアセンブリの探索に問題があります

OverlayPlugin (0.3.0.0)を下記の構成でインストールすると、アドオンのロード時に再度OverlayPlugin.dllがロードされて、実行中のIOverlayAddonにアサインできない型になってしまいます。

テストケースの構成
C:/local/ACT/Advanced Combat Tracker.exe (ACT実行ファイル)
C:/local/ACT/OverlayPlugin/ (OverlayPlugin インストールフォルダ)

おそらくアセンブリの探索規則によるものと考えられます。
参考: https://msdn.microsoft.com/ja-jp/library/15hyw9x3%28v=vs.110%29.aspx

プローブされるディレクトリは、次のとおりです。
[application base] / [assembly name].dll
[application base] / [assembly name] / [assembly name].dll

この探索規則により、ACTのexeがあるフォルダ以下のOverlayPlugin/OverlayPlugin.dll が見つかってしまい、カスタムリゾルバが呼び出される前にロードが解決してしまいます。
その結果 GetExecutingAssembly() によるアセンブリが使用されません。

蛇足ですが ACTからOverlayPluginをロード後、OverlayPluginのEnabledを切り替えるとアドオンが読まれないようですがこれはまた別の問題であり、ACTを再起動すればいいことなのでケアする必要性は薄いかも知れません。

System.NullReferenceException: Object reference not set to an instance of an object.

Upon initial load of the overlay plugin, it does not display. When i tick or untick "show overlay" I get the below error

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at RainbowMage.OverlayPlugin.Overlays.MiniParseOverlay.Navigate(String url)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR

CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

Advanced Combat Tracker
Assembly Version: 3.2.0.250
Win32 Version: 3.2.0.250

CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/Advanced%20Combat%20Tracker.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
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

GammaJul.LgLcd
Assembly Version: 1.1.3.0
Win32 Version: 1.1.3.0

CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/GammaJul.LgLcd.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_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.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

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.Configuration
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.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

ICSharpCode.SharpZipLib
Assembly Version: 0.85.5.452
Win32 Version: 0.85.5.452

CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/ICSharpCode.SharpZipLib.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

SMDiagnostics
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll

FFXIV_ACT_Plugin
Assembly Version: 1.3.0.15
Win32 Version: 3.2.0.250

CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/Advanced%20Combat%20Tracker.exe

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

OverlayPlugin
Assembly Version: 0.3.3.3
Win32 Version: 3.2.0.250

CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/Advanced%20Combat%20Tracker.exe

OverlayPlugin.Common
Assembly Version: 0.3.3.3
Win32 Version: 0.3.3.3

CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/OverlayPlugin-0.3.3.3-x86-full/OverlayPlugin.Common.dll

OverlayPlugin.Core
Assembly Version: 0.3.3.3
Win32 Version: 0.3.3.3

CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/OverlayPlugin-0.3.3.3-x86-full/OverlayPlugin.Core.dll

HtmlRenderer
Assembly Version: 1.0.1.2
Win32 Version: 1.0.1.2

CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/OverlayPlugin-0.3.3.3-x86-full/HtmlRenderer.dll

Xilium.CefGlue
Assembly Version: 3.2171.1949.0
Win32 Version: 3.2171.1949.0

CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/OverlayPlugin-0.3.3.3-x86-full/Xilium.CefGlue.dll

System.ServiceModel.Internals
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.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll

Another System.NullReferenceException

I seem to be having the same trouble as the user in issue #22

When the plugin loads, there are no errors, but the overlay is not visible. Unloading/reloading the overlay makes the error appear. I followed the instructions to remove/clean the plugin installation (removing the %appdata% xml config, etc) and but the issue still remains.

Running latest Windows 10, and I have .NET 4.6 installed.

Thanks for any help you can provide.

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at RainbowMage.OverlayPlugin.Overlays.MiniParseOverlay.Navigate(String url)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1063.1 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Advanced Combat Tracker
    Assembly Version: 3.2.2.252
    Win32 Version: 3.2.2.252
    CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/ACTx86.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1068.2 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
GammaJul.LgLcd
    Assembly Version: 1.1.3.0
    Win32 Version: 1.1.3.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/GammaJul.LgLcd.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
ICSharpCode.SharpZipLib
    Assembly Version: 0.85.5.452
    Win32 Version: 0.85.5.452
    CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/ICSharpCode.SharpZipLib.DLL
----------------------------------------
System.Runtime.Serialization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
SMDiagnostics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
FFXIV_ACT_Plugin
    Assembly Version: 1.4.2.9
    Win32 Version: 3.2.2.252
    CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/ACTx86.exe
----------------------------------------
System.Xml.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
OverlayPlugin
    Assembly Version: 0.3.3.9
    Win32 Version: 3.2.2.252
    CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/ACTx86.exe
----------------------------------------
OverlayPlugin.Common
    Assembly Version: 0.3.3.9
    Win32 Version: 0.3.3.9
    CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/rainbowmage/OverlayPlugin-0.3.3.9-x86-full/OverlayPlugin.Common.dll
----------------------------------------
OverlayPlugin.Core
    Assembly Version: 0.3.3.9
    Win32 Version: 0.3.3.9
    CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/rainbowmage/OverlayPlugin-0.3.3.9-x86-full/OverlayPlugin.Core.dll
----------------------------------------
HtmlRenderer
    Assembly Version: 1.0.1.4
    Win32 Version: 1.0.1.4
    CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/rainbowmage/OverlayPlugin-0.3.3.9-x86-full/HtmlRenderer.dll
----------------------------------------
Xilium.CefGlue
    Assembly Version: 3.2272.2035.0
    Win32 Version: 3.2272.2035.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/rainbowmage/OverlayPlugin-0.3.3.9-x86-full/Xilium.CefGlue.dll
----------------------------------------
System.ServiceModel.Internals
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll
----------------------------------------

************** 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.

Enmity overlay error: Failed to Signature Scan (charmapAddress)

Whenever I enable the enmity overlay I keep getting this error "Agro: Failed to signature scan (charmapAddress)". The overlay loads but it just stays like this
e5cd4ea24a354e3f71cf354d5d67f116

I would really like to get this working considering i play mostly tanks, but I just don't know how.

Addon Request: Custom Triggers

Sorry, I tried doing this myself but, the community version of VS2013 and the editor would constantly freeze up (also I'm not a C# developer at all). If you're too busy to do this, could you show me where I can examine the ActGlobals object? Also let me know if I'm just stupid and this is already supported.

Triggers

Using the Custom Triggers in ACT, would it be possible to listen to these triggers and pass it to a new overlay? I'm not sure how ACT handles the Triggers, but if we could do generic triggers that would be great. i.e. /You move into ([^ ]+)/

Otherwise, setup a trigger with this regex: /You move into Raptor Form/, and give it a name like "stanceon-raptor". I'm not sure what information ACT provides, but send as much useful information to the overlay to let it handle it.

The overlay could then listen for stanceon-<stance name> and display something, and listen for stanceoff-<stance name> to hide it. This would be more flexible and accurate than using spell timers since it isn't always bound to a timer. Raptor Form lasts for 10 seconds but you can move out of it before then.

Configuration

It would be great if each Overlay you add had its own JSON configuration. config/<OverlayName>.json. When the overlay is first loaded, send an event with the JSON object, and also listen to an event to write to the configuration file.

Thanks!

overplayplugin not apearing after using build.dat

when i use the build.dat file i get the folder buildx64 and buildx86

in the buildx64 one i get
htmlrenderer.dll
mscorlib.dll
overlayplugin.common.dll
xilium.cefglue.dll (and some NLP and PDB XML files)

but no overlayplugin.dll

during the build.bat i also get these error messages
capture

I have installed the newest .net framework
microsoft build tools 2013
i even installed microsoft SDK thingy

Is there anyone who can help me?

Getting encounter hp variables

Hello,

Would it be possible, as in the enmity plugin, to get the current and max hp of the current encounter (and use those in the mini parser actually) ?

Thanks.

wikiにリンク切れがある/wiki has broken links

wiki( https://github.com/RainbowMage/OverlayPlugin/wiki/miniparse.html )の中で
http://ff14act.phpapps.jp/index.php?ShowMini を参考にして書式を作成し、作成した書式の文字列をダブルクォーテーションの中に書き込んでください。」
とありますが、このサイトは閉鎖しているようです。
どこかに代わりのリファレンスはないでしょうか?

In the wiki (https://github.com/RainbowMage/OverlayPlugin/wiki/miniparse.html)
"Please make a format with reference to http://ff14act.phpapps.jp/index.php?ShowMini and write the character string of the format you created in double quotation marks. ""

However, this site seems to be closed.
Is there an alternative reference somewhere?

Exception occurring when executing CefRuntime.Load();

I'm on Windows 8 x64 Pro N

An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)

at Xilium.CefGlue.Interop.libcef.api_hash(Int32 entry)
at Xilium.CefGlue.CefRuntime.CheckVersionByApiHash()
at Xilium.CefGlue.CefRuntime.CheckVersion()
at Xilium.CefGlue.CefRuntime.Load(String path)
at Xilium.CefGlue.CefRuntime.Load()
at RainbowMage.HtmlRenderer.Renderer.Initialize() in d:\Advanced Combat Tracker\Plugins\OverlayPlugin-master\HtmlRenderer\Renderer.cs:line 129
at RainbowMage.OverlayPlugin.OverlayForm..ctor(String url, Int32 maxFrameRate) in d:\Advanced Combat Tracker\Plugins\OverlayPlugin-master\OverlayPlugin\OverlayForm.cs:line 62
at RainbowMage.OverlayPlugin.OverlayBase`1.InitializeOverlay() in d:\Advanced Combat Tracker\Plugins\OverlayPlugin-master\OverlayPlugin\OverlayBase.cs:line 48

Plugin Initialization Failed

image

When I have ACT open and I am attempting to add the OverlayPlugin.dll to the plugins tab, I get the above error. I have tried all solutions provided in previous posts and am not sure how to fix this.

I am running 64 bit ACT and am using the 64 bit version of the plugin. Any assistance would be great, thanks!

object reference not set to an instance of an object spam

Whenever i try to activate the overlayplugin.dll, I get spammed by a window with that message popping up over and over and over again. The plugin has been working fine for months and only suddenly has it stopped working.
Here's a log of what happens.
Application-Start 2015-08-24T16:34:35 (v3.2.0 Release: 250 | CLR v4.0.30319.34014 | OS Microsoft Windows NT 6.2.9200.0)
***** 2015-08-24T16:34:36 - Entering InitACT
***** 2015-08-24T16:34:37 - Entering LoadNewSettings
***** 2015-08-24T16:34:37 - Config loading plugin from: C:\Users\Cesar\AppData\Roaming\Advanced Combat Tracker\Plugins\FFXIV_ACT_Plugin.dll
***** 2015-08-24T16:34:37 - Enabling plugin: C:\Users\XXX\AppData\Roaming\Advanced Combat Tracker\Plugins\FFXIV_ACT_Plugin.dll
***** 2015-08-24T16:34:37 - LogFileChanged: C:\Users\XXX\AppData\Roaming\Advanced Combat Tracker\FFXIVLogs\Network_20150824.log - 2015-08-24T15:39:39 - 2015-08-24T16:34:30 - 1624823
***** 2015-08-24T16:34:37 - Exiting LoadNewSettings
***** 2015-08-24T16:34:38 - LogFileChanged: C:\Users\XXX\AppData\Roaming\Advanced Combat Tracker\FFXIVLogs\Network_20150824.log - 2015-08-24T15:39:39 - 2015-08-24T16:34:30 - 1625547
***** 2015-08-24T16:34:38 - Checking for program updates
***** 2015-08-24T16:34:38 - Exiting InitACT: 1218.87
***** 2015-08-24T16:35:43 - Enabling plugin: C:\Program Files (x86)\Advanced Combat Tracker\Build\OverlayPlugin.dll


2015-08-24T16:35:44
Unhandled Exception
System.NullReferenceException: Object reference not set to an instance of an object.
at System.Threading.ThreadPoolWorkQueue.Dequeue(ThreadPoolWorkQueueThreadLocals tl, IThreadPoolWorkItem& callback, Boolean& missedSteal)
at System.Threading.ThreadPoolWorkQueue.Dispatch()



2015-08-24T16:35:44
Unhandled Exception
System.NullReferenceException: Object reference not set to an instance of an object.
at System.Threading.ThreadPoolWorkQueue.Dequeue(ThreadPoolWorkQueueThreadLocals tl, IThreadPoolWorkItem& callback, Boolean& missedSteal)
at System.Threading.ThreadPoolWorkQueue.Dispatch()



2015-08-24T16:35:44
Unhandled Exception
System.NullReferenceException: Object reference not set to an instance of an object.
at System.Threading.ThreadPoolWorkQueue.Dequeue(ThreadPoolWorkQueueThreadLocals tl, IThreadPoolWorkItem& callback, Boolean& missedSteal)
at System.Threading.ThreadPoolWorkQueue.Dispatch()


8/24/2015 4:51:41 PM: Info: InitPlugin: PluginDirectory = C:\Program Files (x86)\Advanced Combat Tracker\Build
8/24/2015 4:51:41 PM: Warning: LoadConfig: System.IO.FileNotFoundException: Specified file is not exists.
File name: 'C:\Users\XXX\AppData\Roaming\Advanced Combat Tracker\Config\RainbowMage.OverlayPlugin.config.xml'
at RainbowMage.OverlayPlugin.PluginConfig.LoadXml(String pluginDirectory, String path)
at RainbowMage.OverlayPlugin.PluginMain.LoadConfig()
8/24/2015 4:51:41 PM: Info: LoadConfig: Creating new configuration.
8/24/2015 4:51:41 PM: Info: InitPlugin: Initialized.

I've reinstalled act many times, and downloaded the full package of the overlay plugin many times, and still that pops up every time I try to enable it. Help anyone?

Click events inside of web view

Is there a way we can get click events inside of the web view to propagate?

It would be useful to be able to click inside of the overlay to switch views (i.e. switch from DPS view to Healing view to Tanking view). This way we can minimize clutter while still having a lot more flexibility.

Object not totalling correctly and are missing data types

When updating my Overlay i noticed that a couple of items in the Encounter object are not getting totals sent up properly. Also the Encounter object is missing some of the new fields.

Totals Not coming through to Encounter properly:
crithit%: is returning 0% in all cases - Combatant object is returning values
critheals: I am not sure what this value is returning but it is not the number crit heals. it seems to be ticking up as i am auto-attacking so maybe it is getting its data from hits? not sure. But i ahve 29 heals, and 210 critheals atm.

missing items from Encounter:
crittypes: I personally don't care about having this, but just letting you know its not there.
DirectHitPct: Missing
CritDirectHitPct: Missing
OverHealPct: Missing, I don't really mind that it is missing.

Combatant Wrong Numbers:
critheals: returning 0's
critheal%: returning 0% - probably related to the above.

FullScreen Dx11 miniparser not displayed.

Hello and thank you for your work, miniparser not displayed in fullscreen mode , in borderless windowed mode works well .

In Dx9 if the miniparser shown in full screen

It will be possible in the future the work miniparser DX11 fullscreen mode ?

WS_EX_LAYERED

In OverlayForm.cs you have the following

        protected override System.Windows.Forms.CreateParams CreateParams
        {
            get
            {
                const int WS_EX_TOPMOST = 0x00000008;
                const int WS_EX_LAYERED = 0x00080000;
                const int CP_NOCLOSE_BUTTON = 0x200;

                var cp = base.CreateParams;
                cp.ExStyle = cp.ExStyle | WS_EX_TOPMOST | WS_EX_LAYERED;
                cp.ClassStyle = cp.ClassStyle | CP_NOCLOSE_BUTTON;

                return cp;
            }
        }

Using the WS_EX_LAYERED Extended Window Style causes issues for users who would like to capture the plugin with OBS on their stream, but can't disable Windows Aero. This isn't a huge issue for Windows 7 users, but Windows 8 and Windows 10 users can't disable Aero so easily.

I forked the code last night to see if I could get a proper stream version going. The solution I discovered was to have the Renderer's BeginRender method use .SetAsPopup instead of SetAsWindowless

        public void BeginRender(int width, int height, string url, int maxFrameRate = 30)
        {
            EndRender();

            var cefWindowInfo = CefWindowInfo.Create();
            cefWindowInfo.SetAsPopup(IntPtr.Zero, "MiniParse OBS Window");
            cefWindowInfo.StyleEx = Xilium.CefGlue.Platform.Windows.WindowStyleEx.WS_EX_TOPMOST;

            var cefBrowserSettings = new CefBrowserSettings();
            cefBrowserSettings.WindowlessFrameRate = maxFrameRate;

            this.Client = new Client(this, width, height);

            CefBrowserHost.CreateBrowser(
                cefWindowInfo,
                this.Client,
                cefBrowserSettings,
                url);
        }

However, this causes multiple popup windows to open when the plugin is first loaded. The easy solution to those is to just close them all out and click Reload Overlay. After this, everything is good to go, overlay is shown in a popup window, and it can be added to OBS as a window capture with no issues.

So, this issues is really to describe what happens when using this with OBS, but to also request a feature in the plugin. I currently do not have the available time to implement this. If possible, someone with access to write to the master, add the following changes:

Add a checkbox on the MiniParseConfigPanel to "Enable OBS Support". When a user clicks this, it reloads the overlay as a PopupWindow instead of a Windowless window within the OverlayForm.

Here is the link to my fork/branch for reference: https://github.com/dartvalince/OverlayPlugin

Thank you for taking the time to read this and hopefully make the changes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.