Git Product home page Git Product logo

overlayplugin's Introduction

OverlayPlugin

Plugin to show customizable overlays for Advanced Combat Tracker.

DEPRECATED

DON'T use this version of OverlayPlugin. it's obsolote, not maintained and old of ancients.

Please use ngld/overlayplugin instead.






Download

You can download release and pre-release archives from the release page.

System requirements

  • .NET Framework 4.7.1
  • MS Visual C++ Redistributable for Visual Studio 2019

How to use

To use this plugin, add OverlayPlugin.dll in ACT's plugin tab. It can not be moved around alone, as the files around it are important.

In ACT, go to the Plugins tab and then to the OverlayPlugin.dll tab. You'll find all overlay related settings there.

Example HTML files are in the resources folder.

We also have instructions for users who want to display their overlay in OBS.

Overlays

Troubleshooting

Check the ACT Discord's FAQ for troubleshooting steps

How to build

These instructions are only relevant to you if you want to modify the plugin. To install it, go to the release page instead.

  • Install Visual Studio 2019 (earlier versions might work as well but haven't been tested) and the .NET desktop workload through its installer
  • Checkout source codes with git, or download source code as ZIP and extract.
  • Run tools/fetch_deps.py
  • Run build.bat

Once finished, the plugin file OverlayPlugin.dll will appear in the out folder. It will either be in the Release or Debug subfolder depending on which configuration you built.

License

MIT license. See LICENSE.txt for details.

overlayplugin's People

Contributors

alalwww avatar bevelle avatar danakj avatar doubleyewdee avatar elena-v2 avatar everspace avatar haeruhaeru avatar hibiyasleep avatar jryansc avatar lalafellsleep avatar mooondark avatar ngld avatar qitana avatar quisquous avatar rainbowmage avatar shadywhite avatar tehdavester avatar xeropresence avatar xtuaok 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

overlayplugin's Issues

오버레이 스킨에서 기공사의 max damage 표시 관련

안녕하세요 미터기 잘 사용하고 있습니다.
기공사로 플레이 중인데요 미터기에 max damage 표시되도록 해놓으면
"충전 포격:844"
이런식으로 포탑의 기술명과 데미지가 표기되고 있어서 문의 드립니다.

DirectHit/CritDirectHit support?

I'm currently trying to add the new DirectHit and possibly the DirectHitCrit % to some skins.
Looking at the debug output it does not include any of those, trying various variables doesn't work either.

They were added with the latest official release of 1.5.1.0.

Not sure if I'm in the right place for this, the original OverlayPlugin github seems to be dead.

Load order

Hello there,

I've run into a problem that has been grinding my gears for several hours and for the last few months. I've made a reddit thread about this topic a few hours ago:

https://www.reddit.com/r/ffxiv/comments/bceglb/act_grinding_my_gears/

I have found a solution for this problem though, which I believe you should mention on the Readme/the main page for the OverlayPlugin, since it is a problem with OverlayPlugin.
The solution to this problem, as mentioned in the Reddit Thread is, that OverlayPlugin.dll must always be loaded after FFXIV_ACT_Plugin.dll.

To do that, people who have the plugin from Ravahn installed already should remove the FFXIV_ACT_Plugin.dll, then install the OverlayPlugin.dll and then install the FFXIV_ACT_Plugin.dll again, so it is above the OverlayPlugin.dll :)

Kind regards,
Lumas

NRE with 2 overlays of the same type

If I have 2 MiniParse minions of the same "type", lots of NRE's pop out
NRE

Tested with these 2: https://horizoverlay.now.sh and https://horizoverlay-test.now.sh

25/08/2017 12:29:51: Error: LOCAL: Update: System.NullReferenceException: Object reference not set to an instance of an object.
at RainbowMage.OverlayPlugin.Overlays.MiniParseOverlay.CreateJsonData()
at RainbowMage.OverlayPlugin.Overlays.MiniParseOverlay.CreateEventDispatcherScript()
at RainbowMage.OverlayPlugin.Overlays.MiniParseOverlay.Update()
at RainbowMage.OverlayPlugin.OverlayBase`1.b__10(Object o, ElapsedEventArgs e)

"Show Overlay" causes NRE

When attempting to show the DPS overlay, I get the below listed error. This occurs when clicking the "Show Overlay" checkbox on either the standard Mini Parse or the Spell Timer. HP overlay data is displaying correctly and ACT DPS graphing is working as well. I've reinstalled ACT from scratch and deleted all old files.

Crash log

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.OverlayBase`1.<InitializeConfigHandlers>b__c(Object o, VisibleStateChangedEventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at RainbowMage.OverlayPlugin.OverlayConfigBase.set_IsVisible(Boolean value)
   at System.Windows.Forms.CheckBox.OnCheckedChanged(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)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2098.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Advanced Combat Tracker
    Assembly Version: 3.3.1.255
    Win32 Version: 3.3.1.255
    CodeBase: file:///D:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/Advanced%20Combat%20Tracker.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2094.0 built by: NET47REL1LAST
    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.7.2093.0 built by: NET47REL1LAST
    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.7.2046.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0 built by: NET47REL1
    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.7.2098.0 built by: NET47REL1LAST
    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.7.2046.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
GammaJul.LgLcd
    Assembly Version: 1.1.3.0
    Win32 Version: 1.1.3.0
    CodeBase: file:///D:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/GammaJul.LgLcd.DLL
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0 built by: NET47REL1
    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:///D:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/ICSharpCode.SharpZipLib.DLL
----------------------------------------
System.Runtime.Serialization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0 built by: NET47REL1
    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.7.2046.0 built by: NET47REL1
    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.7.2046.0 built by: NET47REL1
    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.5.1.5
    Win32 Version: 3.3.1.255
    CodeBase: file:///D:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/Advanced%20Combat%20Tracker.exe
----------------------------------------
System.Xml.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0 built by: NET47REL1
    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.12
    Win32 Version: 3.3.1.255
    CodeBase: file:///D:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/Advanced%20Combat%20Tracker.exe
----------------------------------------
OverlayPlugin.Common
    Assembly Version: 0.3.3.12
    Win32 Version: 0.3.3.12
    CodeBase: file:///D:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/OverlayPlugin.Common.DLL
----------------------------------------
OverlayPlugin.Core
    Assembly Version: 0.3.3.12
    Win32 Version: 0.3.3.12
    CodeBase: file:///D:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/OverlayPlugin.Core.DLL
----------------------------------------
HtmlRenderer
    Assembly Version: 1.0.1.7
    Win32 Version: 1.0.1.7
    CodeBase: file:///D:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/HtmlRenderer.DLL
----------------------------------------
Xilium.CefGlue
    Assembly Version: 3.2272.2035.0
    Win32 Version: 3.2272.2035.0
    CodeBase: file:///D:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/Xilium.CefGlue.DLL
----------------------------------------
Newtonsoft.Json
    Assembly Version: 9.0.0.0
    Win32 Version: 9.0.1.19813
    CodeBase: file:///D:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/Newtonsoft.Json.DLL
----------------------------------------
System.ServiceModel.Internals
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.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.

Chinese server version support?

Dear hibiyasleep,

Thanks for this forked plugin with hp as trigger.

Edit: never mind, I should have instead filed this issue to the ffxiv act plugin repo. Thanks!

I am a Chinese server player.
Would you like to share some idea on getting this to work on the Chinese version ff14 game client?
Because when I tried to use this, it gave errors about the FFXIV_ACT_Plugin version not right.
The special thing here is this needs to be tweaked to be able to to hook up with the Chinese version ff14 game client.

As far as I know, Someone did have a FFXIV_ACT_Plugin of version 1.7.0.5, available for download at https://pan.baidu.com/s/1dEV7ZuL for reference.

Thank you!

Feature Request: Plugin version on API call

A small request to make the plugin version public in the api. This would make our life and user's easier. Something like

OverlayPluginApi.version()```
// -> "OverlayPlugin version 0.3.3.13"

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

On loading the plugin,, I get this message in the log:

3/21/2018 1:39:37 PM: Warning: LoadConfig: System.IO.FileNotFoundException: Specified file is not exists.
File name: 'C:\Users\Nicholas\AppData\Roaming\Advanced Combat Tracker\Config\RainbowMage.OverlayPlugin.config.xml'
at RainbowMage.OverlayPlugin.PluginConfig.LoadXml(String pluginDirectory, String path)
at RainbowMage.OverlayPlugin.PluginMain.LoadConfig()

As well as this error message any time I try to interact with anything in the plugin settings tab.:

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.1586.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

Advanced Combat Tracker
Assembly Version: 3.3.1.256
Win32 Version: 3.3.1.256
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.6.1586.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.1586.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.1586.0 built by: NETFXREL2
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.1586.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.1586.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.1586.0 built by: NETFXREL2
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.1586.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.1586.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.1586.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.1586.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.6.2.8
Win32 Version: 3.3.1.256
CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/Advanced%20Combat%20Tracker.exe

Machina
Assembly Version: 2.0.1.0
Win32 Version: 3.3.1.256
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.6.1586.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

Machina.FFXIV
Assembly Version: 2.0.1.0
Win32 Version: 3.3.1.256
CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/Advanced%20Combat%20Tracker.exe

OverlayPlugin
Assembly Version: 0.3.4.0
Win32 Version: 3.3.1.256
CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/Advanced%20Combat%20Tracker.exe

OverlayPlugin.Common
Assembly Version: 0.3.4.0
Win32 Version: 0.3.4.0
CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/OverlayPlugin/OverlayPlugin.Common.dll

OverlayPlugin.Core
Assembly Version: 0.3.4.0
Win32 Version: 0.3.4.0
CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/OverlayPlugin/OverlayPlugin.Core.dll

HtmlRenderer
Assembly Version: 1.0.1.8
Win32 Version: 1.0.1.8
CodeBase: file:///C:/Program%20Files%20(x86)/Advanced%20Combat%20Tracker/OverlayPlugin/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/OverlayPlugin/Xilium.CefGlue.dll

System.ServiceModel.Internals
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1586.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:

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.

Window titles

Is it possible to make it when a popup window is created (Using something like window.open in Javascript) that those windows will use their title from the title html tag rather than having a blank title?

Plugin does not recognise Trusts.

As seen in the screenshot below, the plugin only seems to parse one of the Trust NPCs at any given time and even then, its listed as a chocobo.

image

I've tried other layouts that has been updated with Shadowbringer and its either OverlayPlugin or my layout (kagerou skin) that needs to be updated to parse them. Not sure who, but posting on both just in case.

Crash on startup

OverlayPlugin can crash on startup. It does not happen every run, suggesting that there is a race. I think between BeginRender() and OnCreated().

This is the exception:


2017-08-16T09:48:40
Unhandled Exception
System.NullReferenceException: Object reference not set to an instance of an object.
at Xilium.CefGlue.Interop.cef_browser_t.get_frame_identifiers(cef_browser_t* self, UIntPtr* identifiersCount, Int64* identifiers)
at Xilium.CefGlue.CefBrowser.GetFrameIdentifiers()
at RainbowMage.HtmlRenderer.Renderer.<>c__DisplayClassb.b__a(CefBrowser b) in c:\Users\Dana\s\OverlayPlugin\HtmlRenderer\Renderer.cs:line 332
at System.Collections.Generic.List1.ForEach(Action1 action)
at RainbowMage.OverlayPlugin.OverlayBase`1.NotifyOverlayState() in c:\Users\Dana\s\OverlayPlugin\OverlayPlugin.Core\OverlayBase.cs:line 357
at RainbowMage.HtmlRenderer.Renderer.OnLoad(CefBrowser browser, CefFrame frame, Int32 httpStatusCode) in c:\Users\Dana\s\OverlayPlugin\HtmlRenderer\Renderer.cs:line 249


Note that this Renderer.cs:line 332 is:
public void ExecuteScript(string script)
{
this.Browsers.ForEach((b) =>
{
foreach (var frameId in b.GetFrameIdentifiers()) <------------ this line
{
var frame = b.GetFrame(frameId);
frame.ExecuteJavaScript(script, null, 0);
}
});
}

Which suggests that this.Browsers is being modified /while/ we iterate through it.

I've also seen this exception manifest in my own OverlayPlugin addon as:
2017-08-16 9:37:26 AM: Error: Bars: Exception Object reference not set to an instance of an object. source: CactbotOverlay at Cactbot.CactbotOverlay.DispatchToJS(JSEvent e)
at Cactbot.CactbotOverlay.<.ctor>b__61_1(GameExistsEvent e)
at Cactbot.CactbotOverlay.SendFastRateEvents()

This crash occurs on a timer thread that checks to see that this.Overlay.Renderer.Browser is not null and Browser.IsLoading is false, then tries to use Browser but it has become null. This most frequently happens with an html page that is more heavy to load/slower to get to OnLoad.

I suspect that 1f0d4bb and aca5b59 are related.

I've also seen it happen at shutdown, with this stack trace:


2017-08-16T10:18:30
Unhandled Exception
System.NullReferenceException: Object reference not set to an instance of an object.
at Xilium.CefGlue.Interop.cef_browser_t.is_same(cef_browser_t* self, cef_browser_t* that)
at Xilium.CefGlue.CefBrowser.IsSame(CefBrowser that)
at System.Collections.Generic.List1.FindLast(Predicate1 match)
at RainbowMage.HtmlRenderer.Renderer.OnBeforeClose(CefBrowser browser) in c:\Users\Dana\s\OverlayPlugin\HtmlRenderer\Renderer.cs:line 225


Plugin Initiallization Failed

plugin initialization failed

I have downloaded the new version of your code 3.4.0 , when i have added the plugin into Advanced Combat Tracker it adds the file but never enables it , something have to do with the sandbox assembly and net framework does not enable CAS policy by default , or it has to be loaded from loadFromRemoteSources switch
I need help , i would like to use this plugin you have created , Thank you for your time and effort.

Update CEF

Current chromium build is able to parse const {jobs} = require('/icoparse$1.0.0/src/util')
Sadly if I try that in the Overlay (produced by my script bundler) it crashes with Uncaught SyntaxError: Unexpected token {
Could you please update the bundled CEF?

Minimized overlay no longer show personal DPS after update

At 0.7.22 when i minimize overlay it show my personal dps. Currently at 0.7.23 it doesnt. Tried reseting kagerou setting still doesnt show.

Logs :
12/11/2018 9:08:33 PM: Info: InitPlugin: PluginDirectory = D:\Games\FFXIVACT\plugins\OverlayPlugin
12/11/2018 9:08:33 PM: Info: LoadAddons: D:\Games\FFXIVACT\plugins\OverlayPlugin\addons\CactbotOverlay.dll
12/11/2018 9:08:33 PM: Info: LoadAddons: Cactbot.OverlayAddonMain: Initialized
12/11/2018 9:08:34 PM: Info: InitPlugin: Initialized.
12/11/2018 9:08:37 PM: Info: kagerou: cactbot: 0.8.7.0 D:\Games\FFXIVACT\plugins\OverlayPlugin\addons\CactbotOverlay.dll
12/11/2018 9:08:37 PM: Info: kagerou: OverlayPlugin: 0.3.4.0 D:\Games\FFXIVACT\plugins\OverlayPlugin\OverlayPlugin.Common.dll
12/11/2018 9:08:37 PM: Info: kagerou: FFXIV Plugin: 1.7.0.13
12/11/2018 9:08:37 PM: Info: kagerou: ACT: 3.3.2.257 D:\Games\FFXIVACT\Advanced Combat Tracker.exe
12/11/2018 9:08:37 PM: Info: kagerou: Language: en

capture

.net Framework CAS Policy for 0.3.3.14

So apperently the overlayplugin.dll requires to have Cas-policy to be enabled
did some looking around and found some guides on how to activate it but no luck so far

im on windows 10 with .net v 4.7

Issue Loading Plugin into ACT // Error

After running the build.bat with ACT in the ACT folder. the .dll file added to the x64 and x86 build folders do not initialize in ACT.

C:\Games\Advanced Combat Tracker\ACT Client Folder\OverlayPlugin-0.3.4.0\BuildX64\OverlayPlugin.Common.dll

Screenshot_5

ACT起動時のアプリケーションエラー

お世話になっております。
これまで、本家のOverlayPluginを使用していたのですが、こちらの存在を知り乗り換えさせていただきました。
その後の話なのですが、ACT起動時のPlugin読み込み中に、ACTが強制終了する現象に悩まされております。
手順としては、単にACTを起動するだけなのですが、読み込み中のプログレスバーが表示されている最中にプログレスバーが消え、そのままACTが起動しない状態です。
ただし、これは毎回起きるわけではなく、たまに発生します。
Windows起動直後のACT実行で起きやすいです。
ACT自体のログにエラーはなく、Windowsのイベントビューアーに以下のログが残っていました。

障害が発生しているアプリケーション名: Advanced Combat Tracker.exe、バージョン: 3.4.2.262、タイム スタンプ: 0x5d745660
障害が発生しているモジュール名: libcef.DLL、バージョン: 3.2454.1320.0、タイム スタンプ: 0x566542f0
例外コード: 0x80000003
障害オフセット: 0x0000000001f887b4
障害が発生しているプロセス ID: 0x377c
障害が発生しているアプリケーションの開始時刻: 0x01d56711bf8fe8fa
障害が発生しているアプリケーション パス: C:\Program Files (x86)\Advanced Combat Tracker\Advanced Combat Tracker.exe
障害が発生しているモジュール パス: C:\Program Files (x86)\Advanced Combat Tracker\plugin\OverlayPlugin\libcef.DLL
レポート ID: bb35a7b7-1a04-4b0d-8251-fa6dbde6b591
障害が発生しているパッケージの完全な名前:
障害が発生しているパッケージに関連するアプリケーション ID:

使用OS:Windows10 1903 64bit
Pluginバージョン:0.3.4.0

私ではこれ以上手詰まりになってしまい、なにかおわかりでしたら教えていただきたく。
ちなみに、少しカスタマイズしており、ビルドは自分で行っております。
ビルド自体はエラーがなく完了しており、libcef.dll自体も差分比較しても、こちらで配布されているものと差分はありませんでした。

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) where you read and link here
"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?

Hotkey for toggle clickthrough

Can there be a global hotkey to toggle "Enable Clickthrough" for overlays?

(Similarly, if this is implemented, can this function be exposed to the Kagerou Overlay for usage like automatically disabling click-through when there is an active encounter?)

Thank you.

onLogLine doesn't seem to be working

Hey there. I'm trying to make use of the onLogLine function but it doesn't seem to be doing anything, although I am probably just using it wrong. I'm currently just trying to post any messages into the console just for testing purposes and nothing seems to be happening.

The code I'm using is:

document.addEventListener("onLogLine", function (e) {
    console.log(e);
});

Question: onLogLine - how to capture it now?

Hi @hibiyasleep,

I would like to know how to capture /echo ingame messages now that onLogLine isn't in miniparse anymore... is there any way without having to create another logparser window and subscribing to it? Looks like a lot to ask for the regular user.

Thank you!

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.