Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Long delay for response from Roll20 client

I use the following code to catch the rolls so that they not displayed in the chat. I can then manipulate them for damage, saving throws, etc.. sendChat("", "[[1d20+" + save + "]] [[1d20+" + save + "]] [[1d20+" + Casting.AttackBonus + "]] [[1d20+" + Casting.AttackBonus + "]] [[" + dice + "]]", function(m) { I currently have a delay of at least 500ms watiing for the roll20 client to feed back the results. I have to use the setTimeout function in order to get the timing right with my other functions that are running at the same time. I have always had to do this but now the delay seems to be quite extreme. Previously the delay was less than 200ms. Is there any reason for this? It has only been happening over the past few days.
Update... This issue is getting worse. Is anybody else having a similar experience? The communication between my API console and the Roll20 client seems to be running at a snail pace now. ???
I can confirm that the issue is definitely with the dice rolls being captured in the function. It is now blowing out to more than 1000ms and it has ruined my scripts because the scripts cannot function without the results of the dice rolls. Could the Dev's please look into this?