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 .
×

Token Action Maker needing constant restarting of the API sandbox...

Some help here please. With Token Action Maker, whenever I use the !ta command on a new token, I have to go out of the game and restart the API sandbox, otherwise it won't work on a second token. Any idea why? Thanks!
Are you getting an error message from the API stopping? If so, post that here and someone can probably help diagnose the issue. 
1604931510
The Aaron
Roll20 Production Team
API Scripter
Is it only Token Action Maker that becomes unresponsive, or is it the whole API?
1604940523
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Also, just to eliminate the outlier, you are using the D&D 5th Edition by Roll20 Sheet?
Yes, Im using D&D 5th. And, Token Action Maker and also Token Mod. I really only use those two, but have others active. Like with Token Mod, I have a macro that will show a blood explosion effect and place an "X" on the token to show its "dead". But It'll work like once then i'll have to restart the API...
1604985166
Oosh
Sheet Author
API Scripter
Which other ones do you have active? They could still be causing the API to crash if they're running. Even though its Token Action Maker you're giving the command to, other scripts have event listeners that will activate functions without your input, permission or (unless you're staring at the console) your knowledge. As Jarren asked above, is there any error message in the API console? That might be a good clue as to what's causing the API to hang. Failing that, I'd disable everything that isn't TokenMod or Token Action and see what happens.
1604993845
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
You can also try creating a test game with just Token Action Maker, and see if the problem repeats.
Not seeing any errors. Got this running:  Script Library G  TokenMod G  Token Action Maker G  StatusInfo G  Roll20 Audio Master G  CharacterSheet G  Ammo G  WildHelpers G  Vector Math G  MatrixMath G  Path Math G  Token Collisions G  Page Navigator New Script I will try it in a new game and swap things out
Well I deleted everything except for Token Action Maker and TokenMod. I opened a new game, everything seemed to work that I had issues with, no errors, but in my main game, hasn't changed. Still can't open things twice etc..  Could it be a memory thing?
1605054775
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
If the "can't open things twice" is referring to handouts and character sheets, that is a bug that has been reported several times. It usually occurs in Chrome, when one of these is opened into a popped out window. If this is your case, then the current workaround is to turn off the popout behavior in the settings tab, or to switch to Firefox. Hopefully it will be resolved before too much longer.
keithcurtis said: If the "can't open things twice" is referring to handouts and character sheets, that is a bug that has been reported several times. It usually occurs in Chrome, when one of these is opened into a popped out window. If this is your case, then the current workaround is to turn off the popout behavior in the settings tab, or to switch to Firefox. Hopefully it will be resolved before too much longer. That worked thanks!
    Hi, KeithCurtis:         I am here break some harmony. I am afraid this answer does not fit to me. I am using Firefox browser and this bug (can't open things twice) happens to me without opening the character sheets as popped out windows. I have tried disabling the add-ons that i think could interfere or affect (Tampered Monkey and VTT Enhancement suite) and even restarting the browser after that. But nothing of this works for me.         I am hoping to master a sesion this weekend so any help would be cheerfully welcome. Many thanks J.
1605203268
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Try using a private browsing window to eliminate more possible conflicts. I am unable to duplicate the bug in Firefox.