u/SpookyBoogy89

Macro Help: Adding A # To A Rolltable

Can anyone help with a macro that will prompt me to add a number to the rolltable's dice roll?

Currently it brings up the menu to input it, but nothing is rolled.

const table = await foundry.utils.fromUuid("UUID Here");

const reponse =

await foundry.applications.api.Dialog.input({

window: { title: "Roll Table"},

content: '<input type="number" name="mod" value="0" autofocus>',

ok: {

label: "Roll",

icon: "fa-solid fa-dice-d20",

}});

if(!response) return;

table.draw({ roll: foundry.dice.Roll.create(`${table.formula} + ${response.mod}`) })

reddit.com
u/SpookyBoogy89 — 2 days ago

Join Screen Missing Login Parts

So I just set up port forwarding to self host. I'm using firefox, made sure to force the browser to have hardware acceleration on. My antivirus isn't acting as a firewall, just windows defender.

I created a rule for windows defender for port 30000.

but when I use my invite link the join screen only loads the background image.

If I let it sit for a while it eventually loads the join interface thing, but it's as pictured & won't let me actually join. I must have done something wrong but i have no clue. Any ideas?

u/SpookyBoogy89 — 2 months ago