ngld / OverlayPlugin

Yet another OverlayPlugin fork.
Other
231 stars 39 forks source link

OverlayPlugin WS server usability improvements #165

Open quisquous opened 4 years ago

quisquous commented 4 years ago

A few thoughts when updating my documentation for this:

(Sorry for the giant list. I can open separate bugs if these are things you want to fix, but this just seemed cleaner to put all of the shared overlay/ngrok issues in one place.)

ngld commented 4 years ago

I went for some low-hanging fruit in 73ae931cc6350f4dccd6257c57e377f7c4df478d:

quisquous commented 4 years ago

Thank you for all the fixes!

Yeah agreed that the "It works!" page is probably low priority. It was just weird to see.

If I have some time this week I'll look at adding different kinds of preset options (whether it supports overlay/shared/local), since I wanted to hide raidboss emulator and similarly my oopsy summary review in the overlay presets, and I think that could be similarly leveraged for turning off target bars, enmity, and some cactbot overlays for the remote presets.

Re: file:// urls. I guess there's two issues here.

  1. Are you not seeing that %% character for target bars and enmity? I'm using a fetched APPDATA version of OverlayPlugin, so I don't feel like there's anything special in my setup. I was pretty sure I tested this when I added enmity presets at least, but maybe I didn't properly?

  2. I'm not sure what you mean by "already generates working file:// urls. I guess I'm saying that for things like Ember or Kagerou, I see the https scheme. However, for cactbot, I see no file:// scheme at all and just the raw filename, which seems incorrect. For enmity and targetbars, there is likewise no scheme and also it starts with %%.

ngld commented 4 years ago

If I have some time this week I'll look at adding different kinds of preset options (whether it supports overlay/shared/local), since I wanted to hide raidboss emulator and similarly my oopsy summary review in the overlay presets, and I think that could be similarly leveraged for turning off target bars, enmity, and some cactbot overlays for the remote presets.

Please don't remove target bars and enmity from the URL presets. At least leave them for local mode. I've heard from a few people who use an XL plugin that can display overlays in fullscreen mode (since XL plugins run inside the game process, they can hook the render loop). This obviously needs WSServer and at least one person uses the targetbar overlay with that setup.

  1. Are you not seeing that %% character for target bars and enmity? I'm using a fetched APPDATA version of OverlayPlugin, so I don't feel like there's anything special in my setup. I was pretty sure I tested this when I added enmity presets at least, but maybe I didn't properly?

I don't see the %% character. However, I forgot that I fixed that yesterday which means that it's not part of an official release, yet. https://github.com/ngld/OverlayPlugin/blob/73ae931cc6350f4dccd6257c57e377f7c4df478d/OverlayPlugin.Core/Controls/WSConfigPanel.cs#L363-L369

  1. I'm not sure what you mean by "already generates working file:// urls. I guess I'm saying that for things like Ember or Kagerou, I see the https scheme. However, for cactbot, I see no file:// scheme at all and just the raw filename, which seems incorrect. For enmity and targetbars, there is likewise no scheme and also it starts with %%.

If you want to see the file:// scheme for Cactbot files, you'll have to modify your presets in Cactbot. OverlayPlugin uses file:// URLs for all local files (see above). The URL generator uses the same URLs the overlay loads. If the preset doesn't contain the file:// scheme, the generated URL won't have one.