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

Erro em botões no chat

when clicking buttons in the chat the game does not return the result. The automatically rolled attack macro works, but when I click on the critical hit macro it calls the questions and bonuses, but nothing comes out in the chat. this is the error: Uncaught TypeError: V.windows is undefined &nbsp;&nbsp;&nbsp; selectedWindows <a href="https://cdn.roll20.net/production/vtt.bundle.js:41135" rel="nofollow">https://cdn.roll20.net/production/vtt.bundle.js:41135</a> &nbsp;&nbsp;&nbsp; ni <a href="https://cdn.roll20.net/production/vtt.bundle.js:41230" rel="nofollow">https://cdn.roll20.net/production/vtt.bundle.js:41230</a> &nbsp;&nbsp;&nbsp; wi <a href="https://cdn.roll20.net/production/vtt.bundle.js:41230" rel="nofollow">https://cdn.roll20.net/production/vtt.bundle.js:41230</a> &nbsp;&nbsp;&nbsp; Ie <a href="https://cdn.roll20.net/production/vtt.bundle.js:41228" rel="nofollow">https://cdn.roll20.net/production/vtt.bundle.js:41228</a> &nbsp;&nbsp;&nbsp; wi <a href="https://cdn.roll20.net/production/vtt.bundle.js:41228" rel="nofollow">https://cdn.roll20.net/production/vtt.bundle.js:41228</a> &nbsp;&nbsp;&nbsp; pt <a href="https://cdn.roll20.net/production/vtt.bundle.js:41228" rel="nofollow">https://cdn.roll20.net/production/vtt.bundle.js:41228</a> &nbsp;&nbsp;&nbsp; wi <a href="https://cdn.roll20.net/production/vtt.bundle.js:41228" rel="nofollow">https://cdn.roll20.net/production/vtt.bundle.js:41228</a> &nbsp;&nbsp;&nbsp; pt <a href="https://cdn.roll20.net/production/vtt.bundle.js:41228" rel="nofollow">https://cdn.roll20.net/production/vtt.bundle.js:41228</a> &nbsp;&nbsp;&nbsp; lt <a href="https://cdn.roll20.net/production/vtt.bundle.js:41228" rel="nofollow">https://cdn.roll20.net/production/vtt.bundle.js:41228</a> &nbsp;&nbsp;&nbsp; tt <a href="https://cdn.roll20.net/production/vtt.bundle.js:41230" rel="nofollow">https://cdn.roll20.net/production/vtt.bundle.js:41230</a> &nbsp;&nbsp;&nbsp; forEach <a href="https://cdn.roll20.net/production/vtt.bundle.js:24147" rel="nofollow">https://cdn.roll20.net/production/vtt.bundle.js:24147</a> &nbsp;&nbsp;&nbsp; tt <a href="https://cdn.roll20.net/production/vtt.bundle.js:41229" rel="nofollow">https://cdn.roll20.net/production/vtt.bundle.js:41229</a> &nbsp;&nbsp;&nbsp; Xe <a href="https://cdn.roll20.net/production/vtt.bundle.js:41230" rel="nofollow">https://cdn.roll20.net/production/vtt.bundle.js:41230</a> &nbsp;&nbsp;&nbsp; content <a href="https://cdn.roll20.net/production/vtt.bundle.js:41230" rel="nofollow">https://cdn.roll20.net/production/vtt.bundle.js:41230</a> &nbsp;&nbsp;&nbsp; jQuery 2 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dispatch &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; handle
1671127142
Gauss
Forum Champion
Is this based on a macro or character sheet?&nbsp; If macro, could you post the full macro?&nbsp; If character sheet, which one? Could you provide a repro steps?&nbsp;
1671127231
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi&nbsp;Raitakamichi! This sounds like a corrupted Chat Archive. A game's Creator is often able to fix issues with their Text Chat by&nbsp; clearing the Chat Archive &nbsp;(note: not&nbsp; clearing your current Chat Log ). A GM might want to copy/back up the Chat Archive before the Creator clears it.
1671128053

Edited 1671128354
keithcurtis said: Hi&nbsp;Raitakamichi! This sounds like a corrupted Chat Archive. A game's Creator is often able to fix issues with their Text Chat by&nbsp; clearing the Chat Archive &nbsp;(note: not&nbsp; clearing your current Chat Log ). A GM might want to copy/back up the Chat Archive before the Creator clears it. Hi Keithcurtis! I tried deleting the file as you indicated, it didn't work... I am the creator of the game and do not use any character sheets. Macros are made from standard roll20 attributes and skills
Gauss said: Is this based on a macro or character sheet?&nbsp; If macro, could you post the full macro?&nbsp; If character sheet, which one? Could you provide a repro steps?&nbsp; Hi Gauss! this is a macro that I created, with the default options of roll20 itself... The Macro: &amp;{template:default}{{name= @{selected|T&amp;M1}}}{{@{selected|Nome} = @{selected|DT&amp;M1} @{selected|DT&amp;M1|max}}}{{[Graduação](<a href="http://journal.roll20.net/handout/-MMs0ZPRFnRQwpLOHrYy" rel="nofollow">http://journal.roll20.net/handout/-MMs0ZPRFnRQwpLOHrYy</a>) = **Grão-Mestre** Causa: [[@{selected|Atributo principal} +@{selected|ItemEquipado}r +@{selected|Grão-Mestre}+?{Bônus|0}]] de **@{selected|NomeEquip1|max}.**}}{{[Tipo](<a href="http://journal.roll20.net/handout/-MRV-Bgm074FEFNsrApX" rel="nofollow">http://journal.roll20.net/handout/-MRV-Bgm074FEFNsrApX</a>) = **@{selected|T&amp;M1|max}.**}}
1671131975
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
And nothing at all comes out in chat, not even a query popup or some error messages? And if the chat is indeed completely blank, please verify that you followed the instructions to&nbsp; clear the Chat Archive &nbsp;, and not&nbsp; &nbsp; clearing your current Chat Log . I.e. you did it from outside the game, from the campaign details page. If I run you macro, I get a query and a host of error messages. This is to be expected, since I am not using your attribute names, but the chat is not blank.
1671133614

Edited 1671134086
keithcurtis disse: E não sai nada no chat, nem mesmo um popup de consulta ou alguma mensagem de erro? E se o bate-papo estiver completamente em branco, verifique se você seguiu as instruções para limpar o arquivo de bate-papo e não &nbsp; limpou seu registro de bate-papo atual . Ou seja, você fez isso de fora do jogo, na página de detalhes da campanha. Se eu executar sua macro, recebo uma consulta e uma série de mensagens de erro. Isso é esperado, já que não estou usando seus nomes de atributo, mas o chat não está em branco. The chat is blank, I followed the instructions and deleted the chat outside the game, I even tried to copy and create a new game without the chat history, but that didn't work either. the error that appears is always the same mentioned above. When I click on the attack macro, normal, nothing wrong, when I click on the blue button, the button is activated, the critic asks the equipment, so far so good, then after clicking on "submit". Nothing happens and the critical hit is not shown in chat.
1671134830
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
What happens if you put "<a href="http://journal.roll20.net/handout/-MMs0ZPRFnRQwpLOHrYy" rel="nofollow">http://journal.roll20.net/handout/-MMs0ZPRFnRQwpLOHrYy</a>" directly into chat? Does it display the url, and does clicking on it open the handout? There may be an issue with the URL. Also, try testing in a private browsing window, or at least temporarily deactivate VTTES. Extensions only make it more difficult to find the underlying issue.
The handout opens normally, even in the private browsing window with VTTES disabled, it continues to give the same error: Uncaught TypeError: V.windows is undefined selectedWindows <a href="https://cdn.roll20.net/production/vtt.bundle.js" rel="nofollow">https://cdn.roll20.net/production/vtt.bundle.js</a> : 41091 ni <a href="https://cdn.roll20.net/production/vtt.bundle.js" rel="nofollow">https://cdn.roll20.net/production/vtt.bundle.js</a> : 41167 wi <a href="https://cdn.roll20.net/production/vtt.bundle.js" rel="nofollow">https://cdn.roll20.net/production/vtt.bundle.js</a> : 41167 Ie <a href="https://cdn.roll20.net/production/vtt.bundle.js" rel="nofollow">https://cdn.roll20.net/production/vtt.bundle.js</a> : 41165 wi <a href="https://cdn.roll20.net/production/vtt.bundle.js" rel="nofollow">https://cdn.roll20.net/production/vtt.bundle.js</a> : 41165 pt <a href="https://cdn.roll20.net/production/vtt.bundle.js" rel="nofollow">https://cdn.roll20.net/production/vtt.bundle.js</a> : 41165 wi <a href="https://cdn.roll20.net/production/vtt.bundle.js" rel="nofollow">https://cdn.roll20.net/production/vtt.bundle.js</a> : 41165 pt <a href="https://cdn.roll20.net/production/vtt.bundle.js" rel="nofollow">https://cdn.roll20.net/production/vtt.bundle.js</a> : 41165 lt <a href="https://cdn.roll20.net/production/vtt.bundle.js" rel="nofollow">https://cdn.roll20.net/production/vtt.bundle.js</a> : 41165 tt <a href="https://cdn.roll20.net/production/vtt.bundle.js" rel="nofollow">https://cdn.roll20.net/production/vtt.bundle.js</a> : 41167 forEach <a href="https://cdn.roll20.net/production/vtt.bundle.js" rel="nofollow">https://cdn.roll20.net/production/vtt.bundle.js</a> : 24147 tt <a href="https://cdn.roll20.net/production/vtt.bundle.js" rel="nofollow">https://cdn.roll20.net/production/vtt.bundle.js</a> : 41166 Xe <a href="https://cdn.roll20.net/production/vtt.bundle.js" rel="nofollow">https://cdn.roll20.net/production/vtt.bundle.js</a> : 41167 Submit <a href="https://cdn.roll20.net/production/vtt.bundle.js" rel="nofollow">https://cdn.roll20.net/production/vtt.bundle.js</a> : 41167 jQuery 3 click dispatch handle