WTDWTF RPG game pre-sign-up and shit
-
@error said in WTDWTF RPG game pre-sign-up and shit:
@topspin said in WTDWTF RPG game pre-sign-up and shit:
@PleegWat said in WTDWTF RPG game pre-sign-up and shit:
I know openssl has a suitable randomizer, and it's available directly not just via the key generation functions. Is there a node module for openssl?
Are you all wearing some gloves? WTF do you need OpenSSL for to draw a d20?!
No, you just need headless Chrome and WebGL.
-
@loopback0 I know, right? When you can just simulate RF on an open circuit with integers!
-
@PleegWat said in WTDWTF RPG game pre-sign-up and shit:
@error said in WTDWTF RPG game pre-sign-up and shit:
Not planned: multiplication, random number of dice/sides, nesting/grouping expressions.
At that point you'd be better off taking an existing math expression parser and implementing
d
as an extra operator.We have
an appa thread for that.
-
@error_bot
roll 4d6dl1
alias "stats" roll 4d6dl1, 4d6dl1, 4d6dl1, 4d6dl1, 4d6dl1, 4d6dl1
roll 6dF
roll Perception vs. Stealth: 1d20+6, 1d20+2
alias "sneak attack damage with poisoned dagger" roll 4d12 + 2d8 + 16, 1d20+4
roll Exploding dice that aren't in 5e but are in 4e and several other tabletop games: 2d12!
-
@error_bot said in WTDWTF RPG game pre-sign-up and shit:
18
13 + 8 - 3 = 18How about:
13+8- 3 = 18
or
2d20 (13, 8) - 3 = 18
-
@error_bot said in WTDWTF RPG game pre-sign-up and shit:
initiative: 19
@TwelveBaud said in WTDWTF RPG game pre-sign-up and shit:
roll Perception vs. Stealth: 1d20+6, 1d20+2
We probably do need the labels, because it's common to perform several rolls at once, and then the players would try to cherry-pick which results mean what.
I should be able to handle: if there's a single
:
, then everything prior to that binds to thelabel
parameter (in absence of a formally specifiedlabel
parameter).
-
@error_bot roll for initiative: d20+d30 - d40+2d60+ 4 - 9 +d20
-
initiative: 50
1d20 (14) + 1d30 (5) - 1d40 (25) + 2d60 (26, 24) + 4 - 9 + 1d20 (11)
-
-
@error said in WTDWTF RPG game pre-sign-up and shit:
@PleegWat said in WTDWTF RPG game pre-sign-up and shit:
2d20 (13, 8) - 3 = 18
PR accepted
Where?
-
-
@TwelveBaud There's nothing there...
-
@Mason_Wheeler It looks like there was July before last, but you're right, it's gone now.
Edit: Found it: https://bitbucket.org/errorx666/error-bot/src/master/
-
@TwelveBaud said in WTDWTF RPG game pre-sign-up and shit:
@Mason_Wheeler It looks like there was July before last, but you're right, it's gone now.
Edit: Found it: https://bitbucket.org/errorx666/error-bot/src/master/
Damn it, they found it again.
I haven't done a commit-push in a while. I should do that.
-
I'm in!
Thread exploded, so I didn't keep track of everything. What do I need to know other than:
https://what.thedailywtf.com/post/1828750
https://what.thedailywtf.com/post/1828768
https://what.thedailywtf.com/post/1828877
?
-
@Vault_Dweller I think that's the important bits.
I think getting a category for this would be useful, since it's going to involve several related topics:
- Game information
- Player character sheets (in discourse players could edit these themselves without limits; I think that's not possible in nodebb, so the DM would need to do that?). Could be the same topic as general game information.
- Game IC topic
- Game OOC topic
- Game popcorn topic (for non-players).
The popcorn topic could also go in the main games category I guess; the others would only be open to posting by players. I think the DM should be admin of the players group and moderator of the forum category specific to this campaign.
-
I would participate except for my fear of commitment. I was in Impossible Mission and bailed, and I still feel kind of guilty about it.
-
@error said in WTDWTF RPG game pre-sign-up and shit:
I would participate except for my fear of commitment. I was in Impossible Mission and bailed, and I still feel kind of guilty about it.
What if we
threatenpromise beatings if you get cold feet?
-
Here it is, in all its
gloryhorror: https://bitbucket.org/errorx666/error-bot/src/master/src/modules/dice.tsx
-
if( !isFinite( count ) || count < 1 || !Number.isSafeInteger( count ) ) {
Can safe integers be infinite?
-
@Gąska said in WTDWTF RPG game pre-sign-up and shit:
Can safe integers be infinite?
Nope, but finite integers can be unsafe, which is what I'm checking for here.
Edit: oh, you're saying the finite check is redundant. I'm OK with that.
-
This post is deleted!
-
@error said in WTDWTF RPG game pre-sign-up and shit:
I'm OK with that.
Of course you are, you're JS developer after all.
-
@Gąska said in WTDWTF RPG game pre-sign-up and shit:
@error said in WTDWTF RPG game pre-sign-up and shit:
I'm OK with that.
Of course you are, you're JS developer after all.
Doesn't seem too bad compared to putting the spaces in all the wrong places.
-
-
@dkf said in WTDWTF RPG game pre-sign-up and shit:
@Gąska said in WTDWTF RPG game pre-sign-up and shit:
safe integers
Come to think of it, I really shouldn't allow you to roll 252 dice. That seems like a DoS vector... Patching.
-
@error ...
-
@error_bot roll 4000000000000000 d20
-
@Mason_Wheeler said in WTDWTF RPG game pre-sign-up and shit:
All right. Anyone who wants to be in the party, set up a Lv 2 character with basic race, class, stats, and backstory. You are soldiers in the army of the cosmopolitan Kheal Kingdom, ruled by King Vandaran, a tolerant and well-liked monarch. Kheal is on the east of the continent of Avarone, bordered on the north and west by the Izavian Dynasty, a principally human kingdom that's falling to ruin because of mismanagement, and to the south and west by the Donokar Lands, a wild plain full of orcish nomad tribes.
The kingdom is generally at peace, but your company has been sent off to the Teeth of Calcona, a mountain range that forms the border with the Donokar Lands, to investigate rumors of a tribal uprising and mobilization that scouts report may lead to raids or even war.
I'd like one character who is either a cleric or a paladin, staying at an isolated monastery in the mountains, which the rest of the party will visit very early on in the storyline. The rest are soldiers. Please set up characters and post them for approval. Soldiers, don't worry about starting equipment for your characters; the army will take care of that. Also, all soldiers please DM me with some minor-to-moderate infraction the character has recently committed that would get them in trouble if caught. Nothing extremely serious (murder, high treason, desertion, etc) but... bored soldiers sometimes make their own entertainment in ways the Commander wouldn't appreciate, no?
3 days later... nothing. Are we going to run a game?
-
@Mason_Wheeler was very busy with life this particular weekend. I'll have my character ready in a couple days.
-
@Gąska said in WTDWTF RPG game pre-sign-up and shit:
@Mason_Wheeler was very busy with life this particular weekend.
I read this in The Stanley Parable narrator voice.
-
@error my life does feel like that sometimes.
-
@Mason_Wheeler I've been doing reading-up on how stuff works, and contemplating how to flesh out my background.
-
Rolling for attributes
@error_bot
roll 4d6
roll 4d6
roll 4d6
roll 4d6
roll 4d6
roll 4d6
-
4d6: 16
4d6 (5, 2, 6, 3)
-
4d6: 12
4d6 (3, 1, 5, 3)
-
4d6: 13
4d6 (6, 2, 1, 4)
-
4d6: 19
4d6 (4, 5, 5, 5)
-
4d6: 12
4d6 (5, 1, 1, 5)
-
4d6: 19
4d6 (5, 3, 6, 5)
-
-
@PleegWat said in WTDWTF RPG game pre-sign-up and shit:
@Mason_Wheeler I've been doing reading-up on how stuff works, and contemplating how to flesh out my background.
I recommend flesh, and lots of it! Born a flesher, in a simple fleshing village in the Fleshlands...
-
@PleegWat
14, 11, 12, 15, 11, 16
-
@PleegWat said in WTDWTF RPG game pre-sign-up and shit:
Technically yes.
It's a pain in the ass, because the command parser dispatches them separately to the module, which can't see that they came from the same place...
But I can buffer the output, and group by response route, so that messages sent within the same window to the same place are grouped together into one message.
-
-
@error Stats is a bit of a special case (needs to sum highest 3 of 4). But multiple rolls from one post is going to be common - last time round it was typical to roll hit and damage at the same time.
-
@error said in WTDWTF RPG game pre-sign-up and shit:
@PleegWat said in WTDWTF RPG game pre-sign-up and shit:
Technically yes.
It's a pain in the ass, because the command parser dispatches them separately to the module, which can't see that they came from the same place...
But I can buffer the output, and group by response route, so that messages sent within the same window to the same place are grouped together into one message.
You could update the command parser so it behaves slightly differently on
roll
(you already split the commands, you already know what type they are, merging consecutive rolls is just a few lines of code). But instead you've invented the most roundabout way imaginable with at least a dozen brand new failure modes.
-
@Gąska said in WTDWTF RPG game pre-sign-up and shit:
@error said in WTDWTF RPG game pre-sign-up and shit:
@PleegWat said in WTDWTF RPG game pre-sign-up and shit:
Technically yes.
It's a pain in the ass, because the command parser dispatches them separately to the module, which can't see that they came from the same place...
But I can buffer the output, and group by response route, so that messages sent within the same window to the same place are grouped together into one message.
You could update the command parser so it behaves slightly differently on
roll
(you already split the commands, you already know what type they are, merging consecutive rolls is just a few lines of code). But instead you've invented the most roundabout way imaginable with at least a dozen brand new failure modes.You instead propose a breaking change to most foundational module that all other modules depend on. That sounds like the safer route, sure.
-
the Thunderdome is ? hopes
-
@error said in WTDWTF RPG game pre-sign-up and shit:
@Gąska said in WTDWTF RPG game pre-sign-up and shit:
@error said in WTDWTF RPG game pre-sign-up and shit:
@PleegWat said in WTDWTF RPG game pre-sign-up and shit:
Technically yes.
It's a pain in the ass, because the command parser dispatches them separately to the module, which can't see that they came from the same place...
But I can buffer the output, and group by response route, so that messages sent within the same window to the same place are grouped together into one message.
You could update the command parser so it behaves slightly differently on
roll
(you already split the commands, you already know what type they are, merging consecutive rolls is just a few lines of code). But instead you've invented the most roundabout way imaginable with at least a dozen brand new failure modes.You instead propose a breaking change to most foundational module that all other modules depend on.
No? Unless modifying a brand new command is somehow a breaking change in your architecture (in which case your architecture SUCKS.)
Just to be clear, I mean adding something like this at the end:
while (commands.length >= 2 && commands[0].name === "roll" && commands[1].name === "roll") { commands[1].mergeWith(commands[0]); commands.shift(); }