timmaugh said: Valerio I. said: Tonight was my first session with my new ScriptCards and it was awesome (thanks Kurt J, your work is great) ! But suddenly something went wrong. The "selected" token wasn't working as expected. Sometimes when (let's say) Player1 had his token selected while Player2 used the macro calling a ScriptCard he was changing/looking to Player1 character items/spells/buffs. Even the title with "selected character name" was wrong, and even if I (the GM) was selecting another token and any player called the script they would see the card of the Token I was selecting in that moment. This strange behaviour lasted a while, then API console stopped working and, when I restarted it, everything was working fine again. I had no time to look further into it, but I was wondering if that had something to do with SelectManager (with default options). I'll keep an eye on this in the next session. Let me know if you see this again, Valerio. I wouldn't think SelectManager would be the cause, but if you can come up with repro steps I'll investigate. SelectManager just listens to every message, tracking the last set of selected tokens. Since selected tokens only come with user-generated messages, if an API-generated message comes along, it hands those last-selected tokens off to the new message... in effect "giving them back." It could be possible that if your API was buggy SelectManager was stuck with the previous set of selected tokens (since the API wouldn't have been running to track each new set as they came in). However, if that were the case, then the API wouldn't be running for SelectManager to give the tokens back to the next API-generated message. Drop me a DM if you see this again. I try to follow this thread, but I don't always catch everything. It happened again...but now I think I have some good clues. When my players attempt to click on the ScriptCard macro which allows them to change some repeating attribute (ie repeating items, repeating buffs...) simultaneously or with very little delay between them, the first one works fine but all the following Cards set the previous player attributes. After that the API console prompts incoherent errors (ie "SHEET WORKER ERROR: You attempted to set an attribute beginning with 'repeating_' but did not include a Row ID or Attribute Name in repeating_weapon_total-damage", but that attribute doesn't even appear in any macro, they were trying to toggle a buff using ChatSetAttr in a ScriptCard and, moreover, that very same toggle works fine if just one player clicks on it with no concurrency) and then API just stop working. When I reset, everything works fine again. I was able to reproduce the issue with a friend of mine, because I cant really click simultaneously using my dummy account, I guess. I have no idea how ScriptCards work, so I can't make assuptions. Any ideas?