dev
textPage 27 of 208
50 messages on this page
Friday, August 20, 2021
User e5e1a1
Oh yes that sounds good
User bddf69
Eg the 'if' one in my GIF above
User bddf69
Well for that particular usecase, the 'snippets' feature of the new editor will be perfect
User e5e1a1
Or lose what i've done so far
User bddf69
Ohh gotcha
User e5e1a1
When I want to quickly check the syntax of if/elif/else I have to open a whole new window
User e5e1a1
In the old playground when you pick an example it wipes the current content and you just get the example
User e5e1a1
Saves me having to copy it to an automation job to do a real test
User bddf69
Wdym by this?
User bddf69
Still plan on having 2 'execution modes' for playground too
One to just render the template (like it does now)
and one to actually execute it against an online player
and one to actually execute it against an online player
User e5e1a1
Could you do examples as an insert rather than replace?
User bddf69
My idea is to link playground to a server, so that in the navbar you get a list of players. Clicking one of them will load their data into the data box
User e5e1a1
Oh yeah that's why I said roadmap π
User bddf69
Yes but not tongith haha
User e5e1a1
Is there anything on the roadmap for custom datasets / using actual player data?
User bddf69
Haha :P I get that
User e5e1a1
Looks good! I'll hopefully have a play over the weekend. Work thoroughly kicked my arse today
User bddf69
Tonight...
User bddf69
I do notice that it's all tripled right now, I have an idea why that's happening though
User bddf69
Tab and ctrl space are your friends for this π
User bddf69
There's also some intellisense stuff built in now

Peek_2021-08-20_10-22.gif
GIF β’ 243.4 KB
User bddf69
Deletes a full line at once π
User e5e1a1
What's ctrl shift K for?
User e5e1a1
I haven't learned how to use vscode properly yet either haha
User e5e1a1
Yeah I noticed it was adding things like closing quotes automatically for me
User bddf69
And much more efficient use of space on the screen :p
User bddf69
Has 'vscode' keybindings now, so you can use tab, ctrl shift k and all that good stuff
User bddf69
I didnt really list the differences but you should have a much easier time editing the command itself
User bddf69
How is the new playground btw?
User e5e1a1
π
User bddf69
I'll investigate after work π
User bddf69
Weird, they're both using the same code
User e5e1a1
so it runs as desired but playground interprets the variable inside the quotes when i believe by design it shouldn't
User e5e1a1
i executed it on staging, as a cronjob
User bddf69
so possibly some behaviour changed there
User bddf69
I had to pull apart the logic of executing custom commands a bit to accomodate the playground
User bddf69
You executed it on something else than staging right?
User bddf69
Huh interesting :p
Thursday, August 19, 2021
User e5e1a1
but playground says it won't π
User e5e1a1
User e5e1a1
oh well, it works actually
User e5e1a1
is there a way to make it so that it passes through the
${steamId} variable unparsed?User bddf69
User bddf69
Would really appreciate if people can test out the new playground and also commands/hooks/... ingame with the results from playground
User bddf69
ETA on staging: A couple of minutes π
User e5e1a1
π
User bddf69
Yeah shame on you for not knowing this undocumented syntax which is different from the original implementation π

