Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlight importing #65

Open
wcdickson opened this issue May 12, 2020 · 3 comments
Open

Highlight importing #65

wcdickson opened this issue May 12, 2020 · 3 comments

Comments

@wcdickson
Copy link

wcdickson commented May 12, 2020

Is there a utility, whether integrated into the Frostbite UI or as a separate plugin/tool, to facilitate importing highlights from Genie, StormFront, etc?

I see mention in other issues about GenieUtils but I see nothing readily apparent in the UI. And I don't see any documentation regarding any functions to call in the commandline. Nothing really pops out, either, after reading the code surrounding GenieUtils.

Apologies for opening an issue just to ask a question. Couldn't find another method to reach out.

@matoom
Copy link
Owner

matoom commented May 12, 2020

No worries, feel free to post questions.

The thing is, there's only partial support as most settings aren't fully compatible between clients. I don't want to add any official notes but technically genie #highlight command should work for basic highlights, it's already been reported that it doesn't work for the more complex ones.

You can try pushing genie highlights through the command line but do it with caution, it's highly experimental.

The syntax is following: #highlight {ignore} {color} {pattern) (ignore}

This is what i used as reference: https://elanthipedia.play.net/Genie_health_highlights

@wcdickson
Copy link
Author

Totally understood about having limited support. I mainly wanted to make sure I wasn't overlooking something obvious. I'm loving Frostbite so far and just trying to eek out a few QOL points, haha.

While I've been importing some highlights over manually, I've noticed the RegEx isn't hitting correctly in some cases, and in others leaving span> (literally just that) or color hex fragments sporadically in-line with the normal text.

I know highlights aren't likely to be the highest priority in a project like this, but if you would like I wouldn't mind opening up separate issue tickets or just tagging them on to this issue thread. It doesn't feel like it's the same problem in the one open highlight issue I see about text replacement, but I can add examples there as well.

@matoom
Copy link
Owner

matoom commented May 13, 2020

Yes, i would need to see some more specific examples before i can say anything conclusive.

It's all technically html underneath so you need to take that under consideration. If you match inside html tags it's going to be a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants