
On all of my campaigns on the Dev system, including the Custom Sheet Sandbox, every time I try to make a roll from the API, I get an error.
Your scripts are currently disabled due to an error that was detected. Please make appropriate changes to your scripts and click the "Save Script" button and we'll attempt to start running them again. More info... For reference, the error message generated was: There was an error communicating with the QuantumRoll server. undefined
on("chat:message", function(msg) { 'use strict'; if(msg.type === "api" ) { log(msg); if ( msg.content.startsWith( "!cddTest" )) { try { sendChat( "player|" + msg.playerid, "no roll msg"); // sendChat( "player|" + msg.playerid, "/roll 3d6!"); sendChat( "player|" + msg.playerid, "inline roll [[d12]]"); // sendChat( "player|" + msg.playerid, "/roll 5d8!", function( ops ) { //log(ops); // sendChat( "player|" + msg.playerid, "after roll msg"); // }); } catch(err) { log( "cddTest() error caught: " + err ); } } } // End if msgtype is api });
sendChat( "player|" + msg.playerid, "no roll msg");
sendChat( "player|" + msg.playerid, "/roll 3d6!");
and
sendChat( "player|" + msg.playerid, "/roll 5d8!", function( ops ) { log(ops); sendChat( "player|" + msg.playerid, "after roll msg"); });
{"who":"error","type":"error","content":"There was an error communicating with the QuantumRoll server."}
sendChat( "player|" + msg.playerid, "inline roll [[d12]]");
Reasonably up to date Windows 10 and chrome and firefox. Windows defender. Cleared the firefox cache.