wiremod / wire-extras

Community Contributed Wire Extras Repository (formerly UWSVN). These are addons which may be of use to wiremodders but do not undergo the same level of critique that the official repos do.
Apache License 2.0
83 stars 66 forks source link

<text> is broken #114

Open joveaaron opened 1 year ago

joveaaron commented 1 year ago

You can't print a string or a number, it always prints "table: " followed by some random bytes. image HML code: `

`

TomyLobo commented 1 year ago

which component is this about?

joveaaron commented 1 year ago

which component is this about?

This is Adv. Hud Indicator 2

Divran commented 1 year ago

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 commented 1 year ago

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:

https://github.com/wiremod/wire-extras/blob/d321013361d9f166542790a32341d6ba909f9065/lua/entities/gmod_wire_hud_indicator_2/parse_test.lua#L13

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 commented 1 year ago

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.