Posted: 29 Aug, 2017 23:28
Mmm, you're right kdecks. I tried different ways but it didn't worked. You can only override what you previously set but nothing else, bummer :(
Posted: 29 Aug, 2017 23:45
I tried this:
0 > Not Zero
1 > One
2 > Not Two
3 > Unknown
4 > !Not Four
5 > Five
6 > Six=6
9 > Unknown
If I had to guess, I'd say the interpreter is parsing the numerical front of the string, then skipping ahead to the equals and assigning the remaining portion as the value in a dictionary. Note that "0!" overwrote "0" and "7" and "8" got assigned blank values even without an equal sign.
Posted: 01 Nov, 2017 11:17
I have a question. Does bbcode formatting work inside Rich Presence? Say, to format text or change its color? [color=red]color red[/color]
Posted: 01 Nov, 2017 15:08
As you see it doesn't even work here, so I doubt it.
Posted: 01 Nov, 2017 15:40
Would be awesome to get this working as expected... especially for rich presence. Is there a chance it could be abused?
Posted: 01 Nov, 2017 16:06
I'm not sure how it could be abused. Regardless there are other problems in relation to the forums http://retroachievements.org/viewtopic.php?t=5287, probably server migration side effects. Also critical issue is the fact that any user can delete any forum thread.
Posted: 02 Nov, 2017 12:34
Last Edit: 02 Nov, 2017 12:38
BBCode isn't something that can be abused. Unless you're allowing something hideously dumb like [embed] or [script] bbcode (which never existed in the first place), its pretty safe.
There's a multitude of parser online, that will regex whatever input they're given, find the bbcode, safety replace it as HTML, and pipe it to output. The beauty of an output module like this, it does come with a backend utility you could use to conf it (in most cases, or a module config.php, allowing things like unsafe URL filtering to happen. (so someone couldn't drop say, a tor link in the forums, or a pirate site).
Putting it into an actual page template (the parser) is just a little twig, usually.
I don't know what backend RA is using. I've messed with Drupal8. It allowed me to do some pretty cool stuff. Shortcode/bbcode and twig being two of the coolest.
Posted: 23 Dec, 2017 21:33
In the value of player level in Dragon Quest VI, the 6th and 0th positioned bits are inversed. I made an ugly list which has all 99 levels' modified hex values accounted for in a lookup, and although it works fine, there is not enough space for me to include the list of 145 class names.
I've been playing around with it, and what I'd really need is something like:
I noticed some really weird results when using the not operator, "!", which leads me to assume it's not a not operator at all.
Any advice here? Is it just not possible in its current implementation?
login to retroachievements.org:
or create a new account
or create a new account