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

Error Locked scripts

I'm having an issue with the scripts of my campaign 'Gate'. They worked fine two weeks ago, but I am unable to get them working again. The error shows: TypeError: Cannot read property 'id' of undefined TypeError: Cannot read property 'id' of undefined at handleGraphicMovement (apiscript.js:4716:28) at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:151:1), <anonymous>:65:16) at Object.publish (eval at <anonymous> (/home/node/d20-api-server/api.js:151:1), <anonymous>:70:8) at TrackedObj.set (/home/node/d20-api-server/api.js:1020:14) at updateLocalCache (/home/node/d20-api-server/api.js:1318:18) at /home/node/d20-api-server/api.js:1502:11 at /home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:560 at hc (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:39:147) at Kd (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:546) at Id.Mb (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:489) at Rd.Ld.Mb (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:94:425) I'm not sure what script is causing the error or if I'm debugging it incorrectly. 
1537588747
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Hi Jackal, It looks like the issue is in the combat tracker script. I've taken a cursory look at the script's code and I think what's happened is that your turn tracker has gotten corrupted. Can you try deleting all the turn tracker items using the button from the tracker settings menu? If that doesn't work, shoot me a pm and I'll try hopping in as a GM to take a look around. Scott
I deleted them and it did fix it, but then I broke it again somehow and I'm trying to pinpoint how I did it haha.