#(drjoenh) parse_color
49 messages · Page 1 of 1 (latest)
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
Tag parse results for <element[&#].parse_color>: https://paste.denizenscript.com/View/126922
element[&#].parse_color
Had error: Tag <element[&#].parse_color> is invalid!
Had error: Unfilled or unrecognized sub-tag(s) 'element[&#].parse_color' for tag <element[&#].parse_color>!
Had error: The returned value from initial tag fragment '' was: '&#'.
Is this a real tag???
Oh element
I've... Never seen this before, what are you trying to do?
parse color
forgot to put hex value
boom stacktrace
&#ffffff parses to a color
&# throws an error
That tracks, I just wonder why you're trying to make a color that way.
we allow vip members to type in chat with colors
im using element.parse_color to turn it into colored messages
I suppose a workaround for invalid colors is just a null check and returning white?
yeees but it still throws an error into the console
cause its trying to statically preparse it
oh i didnt mark it as bugthread
Thread is now a Bug thread. This indicates a core code bug that a developer must resolved, not an error message or other support topic. Please do not misuse the Bug label. Use </helpthread:1028674284870180883> to switch the thread back to a normal help thread if you are not 100% confident it is a code bug.
Curious
Tag parse results for <&color[#FF0000]>: https://paste.denizenscript.com/View/126923
§x§F§F§0§0§0§0
Tag parse results for <&color[#]>: https://paste.denizenscript.com/View/126924
&color[#]
Had error: Color '#' doesn't exist (for tag &color[...]).
Had error: Color '#' doesn't exist (for tag &color[...]).
Had error: Tag-base '&color' returned null.
Had error: Tag <&color[#]> is invalid!
Had error: Unfilled or unrecognized sub-tag(s) '&color[#]' for tag <&color[#]>!
Yeahhhh
Can someone provide a debug record of it erroring?
Or is this specific to dTagParser?
I can not replicate this issue by just running /ex narrate <element[&#].parse_color>
Odd enough that it works in this channel, when a debug is recorded, but not in bot-spam.
Content of Server Log Paste #126922: Denizen Debug Logs From If We Have A Tag Parser To Parse Tags, Can We Have A Parse Tagger To Tag Parses?... pasted 2024/09/29 11:50:59 UTC-07:00, Paste length: 1595 characters across 21 lines, Content: Java Version: 21.0.4Up-time: 4h 49m
Paper version 1.21.1-40-2fdb2e9 (MC: 1.21.1)
Citizens: 2.0.35-SNAPSHOT (build 3519) -- (:warning:Outdated build, behind by 59)
Denizen: 1.3.1-SNAPSHOT (build 7065-DEV) -- (Outdated build, behind by 2)
Sentinel: 2.9.1-SNAPSHOT (build 523) -- (Outdated build, behind by 1)
dDiscordBot: 0.7 (build 303) -- (Current build :white_check_mark:)
@abstract gorge
4 (:white_check_mark: Online)
21.0.4 :white_check_mark:
Content of Server Log Paste #126948: Denizen Debug Logs From oneblock... pasted 2024/09/30 10:38:45 UTC-07:00, Paste length: 7965 characters across 82 lines, Content: Java Version: 21.0.2Up-time: 13h 11m
Content of Server Log Paste #126948: Denizen Debug Logs From oneblock... pasted 2024/09/30 10:38:45 UTC-07:00, Paste length: 7965 characters across 82 lines, Content: Java Version: 21.0.2Up-time: 13h 11m
Paper version 1.20.6-150-e61b73f (MC: 1.20.6)
Citizens: 2.0.35-SNAPSHOT (build 3452) -- (:warning:Outdated build, behind by 126)
Denizen: 1.3.1-SNAPSHOT (build 7067-DEV) -- (Current build :white_check_mark:)
Depenizen: 2.1.0 (build 860) -- (Outdated build, behind by 4)
@loud atlas
4 (:white_check_mark: Online)
21.0.2 :white_check_mark:
WorldGuard: 7.0.10+d9424b1, MythicMobs: 5.7.1-7b44def4, ProtocolLib: 5.3.0-SNAPSHOT-732
ViaVersion: 5.0.3 - Mixed client vs server versions can sometimes cause packet-related issues.
hmmm so is this only 1 20 6 problem ? O.o
either way, should this ever fail? it should parse colors only if there are colors
fixed
Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.
If not yet resolved, please reply below to tell us what you still need.
(Note that if there is no reply for a few days, this thread will eventually close itself.)
@loud atlas