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

<text> is broken #114

Open
joveaaron opened this issue Jul 9, 2023 · 5 comments
Open

<text> is broken #114

joveaaron opened this issue Jul 9, 2023 · 5 comments

Comments

@joveaaron
Copy link

You can't print a string or a number, it always prints "table: " followed by some random bytes.
image
HML code:
<hml> <rect start={832,930}; size={128,128}; color={0,0,0,150};> <text position={0,0}; value=1234; color{255,236,12};/> </rect> </hml>

@TomyLobo
Copy link

which component is this about?

@joveaaron
Copy link
Author

which component is this about?

This is Adv. Hud Indicator 2

@Divran
Copy link
Contributor

Divran commented Jul 10, 2023

pretty sure adv hud 2 has been broken for longer than I've been a dev, so like 13 years at this point if not more

@Vurv78
Copy link
Contributor

Vurv78 commented Jul 14, 2023

You sure that's how it's supposed to work?

I doubt they support parsing <xyz/> form of elements.
The semicolons don't seem correct either.

I see the test does this:

code = code .. "\t\t<text position={30, 50}>Meep\nWibble</text>\n"

Also, wtf is this how have I never heard of it lmao
Seems like a project like this if done properly would be perfect for E2 graphics

@Vurv78
Copy link
Contributor

Vurv78 commented Jul 14, 2023

Nevermind semicolons do seem to work for me

But yeah the whole thing is so broken no idea why you're even trying to use it.

For me it just draws a rectangle and "NIL" with the syntax above.

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

4 participants