dev
textPage 25 of 208
50 messages on this page
Saturday, August 21, 2021
User bddf69
Oooh I can add them to the intellisense probably!
User e5e1a1
Add or sum π
User bddf69
Ah yeh
User e5e1a1
Was it mod or modulus? ceil or ceiling?
User e5e1a1
Yeah might be useful. not for the common ones but e.g. ceil
User bddf69
So no 'description' or exta info available :(
User bddf69
I can only access the name of them (and the raw code behind)

unknown.png
PNG β’ 48.1 KB
User bddf69
Do you think it'd be beneficial to show a list of all hlepers?
User e5e1a1
Great idea
User e5e1a1
Oh nice
User bddf69
and less prone to subtle changes that break commands :p
User bddf69
It'll be some more work to add examples but it'll make the system more robust
User bddf69
Then I can use that in the CSMM tests. If I make changes to the CSMM code, and the 'expected outcome' of one of the examples changes, I know I broke/changed some behavior
User bddf69
Which reminds me, I had this idea last night.
When I add the 'examples' functionality, I'd like to add the 'expected outcome' to those too
User bddf69
Though none of the tests broke, so I guess that was some indiciation that stuff remained largely the same
User bddf69
so possibility of some behavior changing is.. real
User bddf69
I took the existing system and broke it up into different pieces
User bddf69
Yeah I was worried for the same reason :p
User e5e1a1
I thought the difference was due to changes you'd made on staging and I was worried it was gonna break deadly air drops like, two weeks after I got them working again
User e5e1a1
But now I understand it at least I know what to expect
User e5e1a1
Yeah, would be good to be able to not have player data in
User bddf69
There should be different ones for cron, hook, commands, ...
User bddf69
As in, there's only one dataset
User bddf69
Yep, the data in playground is a bit 'dumb' right now
User bddf69
π
User e5e1a1
I was just super confused as to why you said it couldn't be done and I was already doing it π
User bddf69
Yeah nice
User e5e1a1
Yeah because of the above
User bddf69
But you can make it work right now, right?
User bddf69
Cause those have been 'deprecated' for like 2 years now I think xD
User e5e1a1
The deadly air drops depends on it being able to make a command claim with a variable in the command
User bddf69
Perhaps in the future I can officially decomission the
${steamId} ${blabla} variablesUser e5e1a1
Yeh explains the difference between playground and actual use
User bddf69
Haha fair :p Kind of brittle I suppose
User e5e1a1
As long as the variable isn't populated it works
User e5e1a1
Got it
User e5e1a1
So again, doesn't see it's a player
User bddf69
Or a hook without a steamId indeed
User bddf69
Well as long as it's inside a cronjob, it wont fill in the data :p
User e5e1a1
But it's a hook that works on a logline which doesn't contain a steamId
User e5e1a1
I have it working currently
User e5e1a1
Ahhhh I see
User bddf69
Being "inside quotes" isnt gonna work, cause that would kill any usage like
say "hello ${steamId}"User e5e1a1
One sec
User e5e1a1
Hmmmmm
User bddf69
I'm not sure how, syntactically
User bddf69
:p
User e5e1a1
π¬
User e5e1a1
Can you fix it so it won't be filled?
User bddf69
If you would test the same code but inside a custom command, the steamId variable would get filled