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

Scriptcards Strange Issue - This is a complete mystery

1764981547

Edited 1764982160
Tilt
Pro
I have some scriptcard code in all of my games that allows me to manipulate certain things.    In part of this code, it uses the --i function to utilize a few drop downs for information.  This is now not working in 1 single game.   To simplify it and take the rest of the code out of the equation, I have created a simple piece of test code to try and figure out the issue, which I just copy and paste into the chat to see if it works. Test Code: !script {{   --i;This is a test|q;FRUIT;Please Select Fruit|Apple|Orange|Pear||q;AMOUNT;Please Select Amount|1|2|3|4|5|6|7|8|9 }} Now, here is the strangeness This is on my account, I own the game but I have someone else as a GM since they are going to be the one running the game.  So my access into the game is as the game owner.   I can do everything and see everything that a DM can.. with this exception.  When I copy and paste the code into chat in this game, NOTHING happens.  No dropdown shows up, no errors in the API log.. just, nothing However, if I log into this game with a secondary account (free) that I use for player testing, it works 100% If I log in as the DM or as a player (secondary account) into ANY of my other games, it works 100% I know the code works in this game, because it works on my  secondary account (player) Things I have tried: 1. I have tried Chrome, FF and Edge 2. I have tried clearing my browser cache 3. As mentioned above, I have tried with this same account in all my games (it is only this one that does not work) 4. I have tried with a secondary account (player) and it works on ALL games, even this one 5. I have the same API Scripts on all my games, they are identical.  6.  I have tried using --#debug|1 and that does give me the following, which means it is running.. I just can not see it "Line Counter: 2, Tag:i;This is a test, Content:q;FRUIT;Please Select Fruit|Apple|Orange|Pear||q;AMOUNT;Please Select Amount|1|2|3|4|5|6|7|8|9" 7.  I have tried to un-GM the person running the game and then running it as my main account (DM).  Same thing 8.  I have also tried both Default and Experimental Sandbox So why in the world would this work in all of my other games and work as a normal player in this game, but my DM account for the game does not work? Any ideas or thoughts would be appreciated, I have spent way too much time trying to figure this out Thanks in advance
I have since removed all APIs from the game (with the exception of Scriptcards) and I have tried making a copy of the game.  Neither one worked.
1765046289

Edited 1765046323
vÍnce
Pro
Sheet Author
Hi Tilt, I tried a quick test yesterday.  Created a game.  Invited another member.  Made that user a co-GM. SC is the only mod installed.  I tried every combo as gm and player for both accounts and your SC fruit macro worked every time... Have you tried removing all scripts (including SC), then adding SC back in?
1765055129

Edited 1765055351
Tilt
Pro
I had not tried that, but now I have.  Same result. It is strange.. Scriptcards is working, you can see it in the API log.  It just is not outputting the result for this one login.   
Another thing I had to do in one of my games was delete the chat archive. It got corrupted in some form or fashion and caused me weird issues. Considering you've tried most things, that might be something else to try. Also, in ScriptCards there are usually other ways to go about things and an alternative to the `--i` are using reentrant and rbuttons to request information. I could show you an example if you are interested in that kind of alternative.