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

Carry token broken?

Has the Carry Token API been fixed for the new(ish) update yet?
1760209147
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi David! Can you describe how it is not functioning, and which update you are referring to? It would help for diagnosing what might be going wrong and how to fix it.
I think it stopped working after Jumpgate. The Carrytokenmenu macro no longer does anything.
This is the game.&nbsp; &nbsp; <a href="https://app.roll20.net/join/16718754/63mShQ" rel="nofollow">https://app.roll20.net/join/16718754/63mShQ</a> It used to work wonderfully but, as I say, I think it hasn't worked since Jumpgate.
I have tried a few pre-jumpgate games and the api works fine. Any games that I have after &nbsp;jumpgate, nothing works. When the API is installed it is supposed to create a macro called CarryTokensMenu ( which it does ) however, when the macro is selected, the menu does not appear and there are no error messages.
1760253311
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hmm. I'm unable to duplicate this. My steps: Installed the mod in my Jumpgate game. Ran the menu macro selected a large token and clicked carry above clicked on the target token Moved the large token The smaller token immediately jumped to the center of the large token and continued to do so whenever I moved the large token. Am I doing something different from what you are doing? I took a look at the code, and the only thing I can see is that it has a dependency on the "HTML Builder" mod, which should have been automatically installed if you installed it through One Click. Do you see that script in your list of mods? If it's not present, then the macro would not display anything in chat.
1760274504
The Aaron
Roll20 Production Team
API Scripter
What is your name in the game? Some old scripts do not work correctly if there is a space in the name or someone else has the same name. (Like you're "David L." in the game, but there is a "David D." also.)
The Aaron said: &nbsp;but there is a "David D." also.) Wierd, there shouldn't &nbsp;be!! And I can't 'see' a David D on the list of players!
Working on The Aaron's premise, I changed my avatar name (was David (GM)) to David L. and it started working. THEN &nbsp;I changed my avatar name to David, and it still worked. Changed it to Mephistopholes ...... and it still worked. NOt sure what is going on (and still &nbsp;don't know who David D. is, no one in the game called that!) But it is now working! :) Thank you guys
David L. said: The Aaron said: &nbsp;but there is a "David D." also.) Wierd, there shouldn't &nbsp;be!! And I can't 'see' a David D on the list of players! Aaron was just giving an example of something that might cause a script to fail: if it is matching against a player name, but only matches the first portion of the name (before a space), then both "David L." and "David D." might be recognized by a script as the same player, or cause it to throw an error when it detects two different players with the 'same name'.&nbsp;