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

Own token does not get reselected after targeted attack

1508773508

Edited 1508773861
<a href="https://imgur.com/a/wNWLm" rel="nofollow">https://imgur.com/a/wNWLm</a> Hi! We are playing a West Marches Campaign and have all our characters on a "Character Vault" and export them to the different DM's tables for games, that is why we cannot use "token identifiers" for our makros, because the tokens have different names on each table. That's why our attachers link to traits/feats/spells of the selected token and not of a specific token. One of our DM's helped me set up a "attacher" for my "Superiority Dice" and it works perfectly, **IF** I have my own token selected while clicking the attacher on my attack rolls, the problem is the following: -When he as a DM attacks (controlling my token) another token with a targeted attack, then roll20 automatically reselects my character for him and he can just click the pink text attacher in chat to roll the superiority dice. -When I as a player attack another token with a targeted attack, I do not have any token selected after the attack and have to click on it on the map again, before I can click the attacher. I was asking for help in the API forum and tried Chrome+Firefox, cleared Cache and disabled anti-vir, the problem is still present. It seems tokens should be reselected for everyone, so I guess this is a bug. Windows Windows NT 10.0 Screen Resolution 1536 x 864 Web Browser Chrome 61.0.3163.100 Browser Size 1536 x 734 Color Depth 24 bit Javascript Enabled Flash Version Not Installed Cookies Enabled
1508774784

Edited 1508774848
Continuing troubleshooting , let's try a simpler use case: @{target|token_name} Does the issue still persist if you attempt to use the above targeted Attribute call? If so, could you please check to see if the issue persists if you create a new Game with new Tokens? If the issue persists in the new Game, could you please attempt to capture the issue in a Console Log within that Game (e.g. using @{target|token_name})
1508775967

Edited 1508776380
@{target|token_name} does work even without a new game. I get a printout of the targetname in chat and my token get's reslected: targeting app.js?1508175236:26 Switch mode to targeting app.js?1508175236:44 Finished after going 3 levels deep. app.js?1508175236:44 Begin processing op! app.js?1508175236:44 Inline rolls complete! app.js?1508175236:26 select app.js?1508175236:26 Switch mode to select I just discovered, that my token gets sometimes reselected after using an attack from the sheet ~ 1/20 times. That is the printout from the attackroll on my sheet: targeting app.js?1508175236:26 Switch mode to targeting app.js?1508175236:44 Finished after going 4 levels deep. app.js?1508175236:44 Begin processing op! app.js?1508175236:44 Levels deep: 0 app.js?1508175236:44 Levels deep: 0 app.js?1508175236:44 Levels deep: 0 app.js?1508175236:44 Levels deep: 0 app.js?1508175236:44 Finished 0 app.js?1508175236:44 Levels deep: 0 app.js?1508175236:44 Finished 1 app.js?1508175236:44 Levels deep: 0 app.js?1508175236:44 Finished 2 app.js?1508175236:44 Levels deep: 0 app.js?1508175236:44 Finished 3 app.js?1508175236:44 Levels deep: 0 app.js?1508175236:44 Inline rolls complete! app.js?1508175236:43 Roll: 657.078125ms app.js?1508175236:26 select app.js?1508175236:26 Switch mode to select I noticed something!&nbsp;Roll: 272.285888671875ms the faster it processes the roll, the higher is the chance it reselects the token. The threshhold seems to be ~ 300 ms
1508776167

Edited 1508776226
Okay, if you create a new 'attacher' that simply contains @{target|token_name}, do you experience the issue?
1508776761

Edited 1508776903
I don't get the attacher part. If I create an attacher on my attack rolls with that line, then it just prints out the name of the token I attacked into the weaponattackroll The not reselecting my own token had nothing to do with the attachers, it never reselected my token, even before I had attachers. It definitely is the processing time that makes me not reselect the token. I rolled like 100 times now, and whenever the roll goes off faster than 300ms the token gets reseleced if the roll takes longer it does not.
1508778339

Edited 1508778351
Thank you. Could you please check to see if this issue persists within a fresh Game by recreating a similarly-bulky roll using a fresh Character?
it does persist with new tokens in the same game and it does persist in every game I import my characters to. I will try to figure out how to create a similar roll in a new game. Never done that before, so it might take a while.&nbsp;
Sorry it took quite some time. I am not able to create a similar bulky roll on my own server, since I can't import characters and I have no idea how to set up a similar complex sheet. I mean, if you want to invite me to a table, to try it, I am down to do so. I'm ready to do anything to improve my experience. Is it supposed to not reselect the own token if a roll takes too long? Or is that really just me or something my laptop does, that makes this problem occur?
1509134626

Edited 1509134635
That's okay, Diimiitrii . I've brought your report to the attention of the Dev Team, who are best equipped to investigate the issues you've reported further. Could you please post a few more pieces of information: The name of the Game that you're experiencing this issue in The name of the Character you're experiencing these issues with The name/type of the roll(s) you're experiencing these issues with (e.g. "the 'Longsword' attack in the sheet's 'Attacks' section")
1509190553

Edited 1509191401
The Games: Törleið Character Vault (our character Vault) Rad's West Marches Table (DM's table) Wis's West Marches Table (DM's table) Masky's West Marches Table (DM's table) My Characters: Dimitri Shin Smoothpot Akela, the Wolf Gatug The rolls: Every roll in the "Offense" section&nbsp; (it is probably fair to say, that is every roll that is targeted at another token, but all of these are in the offense section) I have a new highest ms for the token to reselct itself :&nbsp;Roll: 331.12109375ms I am at the moment in Ireland, if it makes any difference where the Roll20 servers are and where I am, because of the duration the roll takes to go off. Did some random speed test also, but this should not be an issue, I can watch Twitch and Youtube without any buffering. Roll 20 should be no problem I think. <a href="http://testmy.net/oVepfXLqb.2Gl47UFZW.png" rel="nofollow">http://testmy.net/oVepfXLqb.2Gl47UFZW.png</a> If someone else rolls my characters rolls it takes ~52 ms for him to roll the same attack and the token gets reselected without any issues.
Hi Diimiitrii, This is an interesting bug indeed. I will bring this problem up to the devs and see if there is a relation between response times and reselecting tokens!